Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp34 AMediaFormat* mDecFormat; member in CodecEncoderSurfaceTest
88 mDecFormat = nullptr;
144 mDecFormat = currFormat; in setUpExtractor()
152 return mDecFormat != nullptr; in setUpExtractor()
160 if (mDecFormat) { in deleteExtractor()
161 AMediaFormat_delete(mDecFormat); in deleteExtractor()
162 mDecFormat = nullptr; in deleteExtractor()
180 CHECK_STATUS(AMediaCodec_configure(mDecoder, mDecFormat, mWindow, nullptr, 0), in configureCodec()
202 AMediaFormat_getInt32(mDecFormat, AMEDIAFORMAT_KEY_WIDTH, &width); in setUpEncoderFormat()
203 AMediaFormat_getInt32(mDecFormat, AMEDIAFORMAT_KEY_HEIGHT, &height); in setUpEncoderFormat()
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java230 protected MediaFormat mDecFormat; field in VideoEncoderTest.VideoProcessorBase
265 mDecFormat = fmt; in open()
278 mDecFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in initCodecsAndConfigureEncoder()
281 String videoDecName = mcl.findDecoderForFormat(mDecFormat); in initCodecsAndConfigureEncoder()
282 Log.i(TAG, "decoder for " + mDecFormat + " is " + videoDecName); in initCodecsAndConfigureEncoder()
498 mDecoder.configure(mDecFormat, null /* surface */, null /* crypto */, 0); in processLoop()
728 mDecoder.configure(mDecFormat, mDecSurface.getSurface(), null /* crypto */, 0); in processLoop()