Home
last modified time | relevance | path

Searched refs:mVideoTrackIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java100 private int mVideoTrackIndex; field in MediaDecoder
233 mVideoTrackIndex = -1; in onStart()
241 if (DecoderUtil.isVideoFormat(format) && mVideoTrackIndex == -1) { in onStart()
242 mVideoTrackIndex = i; in onStart()
248 if (mVideoTrackIndex == -1 && mAudioTrackIndex == -1) { in onStart()
253 if (mVideoTrackIndex != -1) { in onStart()
254 MediaFormat videoFormat = mMediaExtractor.getTrackFormat(mVideoTrackIndex); in onStart()
256 ? new GpuVideoTrackDecoder(mVideoTrackIndex, videoFormat, this) in onStart()
257 : new CpuVideoTrackDecoder(mVideoTrackIndex, videoFormat, this); in onStart()
259 mMediaExtractor.selectTrack(mVideoTrackIndex); in onStart()
[all …]
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp154 mVideoTrackIndex = trackIndex; in init()
164 EXPECT_GE(mVideoTrackIndex, 0); in init()
177 int mVideoTrackIndex = -1; member in android::TestMediaSource
376 mediaSource.mTrackFormats[mediaSource.mVideoTrackIndex].get()); in TEST_F()