Home
last modified time | relevance | path

Searched refs:AMediaCodec (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp210 AMediaCodec * /* aMediaCodec */, in OnInputAvailableCB() argument
219 AMediaCodec * /* aMediaCodec */, in OnOutputAvailableCB() argument
231 AMediaCodec * /* aMediaCodec */, in OnFormatChangedCB() argument
240 AMediaCodec * /* aMediaCodec */, in OnErrorCB() argument
504 AMediaCodec **codec = new AMediaCodec*[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
693 AMediaCodec *codec = NULL; in Java_android_media_cts_NativeDecoderTest_testPlaybackNative()
1023 AMediaCodec *codec = AMediaCodec_createCodecByName(tmp); in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateCodecByName()
1036 media_status_t err = AMediaCodec_delete(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecDelete()
1042 media_status_t err = AMediaCodec_start(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecStart()
1048 media_status_t err = AMediaCodec_stop(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecStop()
[all …]
Dnative_media_decoder_source.cpp50 std::shared_ptr<AMediaCodec> mDec;
212 AMediaCodec *dec = AMediaCodec_createDecoderByType(mMime.c_str()); in prepare()
213 mDec = std::shared_ptr<AMediaCodec>(dec, deleter_AMediaCodec); in prepare()
Dnative-mediadrm-jni.cpp327 const ANativeWindow* window, AMediaCodec** codec) { in addTrack()
342 AMediaCodec** codec) { in addTracks()
385 static void fillDecoder(AMediaCodec* codec, AMediaExtractor* extractor, in fillDecoder()
421 static bool drainDecoder(AMediaCodec* codec, int64_t presentationTimeUs, in drainDecoder()
463 AMediaCodec* audioCodec = NULL; in playContent()
464 AMediaCodec* videoCodec = NULL; in playContent()
Dnative_media_encoder_jni.cpp67 std::shared_ptr<AMediaCodec> mEnc;
121 AMediaCodec *enc = AMediaCodec_createEncoderByType(mime); in prepare()
122 mEnc = std::shared_ptr<AMediaCodec>(enc, deleter_AMediaCodec); in prepare()
Dnative_media_utils.h78 static inline void deleter_AMediaCodec(AMediaCodec *_a) { in deleter_AMediaCodec()
/cts/tests/media/jni/
DNativeCodecTestBase.cpp23 static void onAsyncInputAvailable(AMediaCodec* codec, void* userdata, int32_t index) { in onAsyncInputAvailable()
31 static void onAsyncOutputAvailable(AMediaCodec* codec, void* userdata, int32_t index, in onAsyncOutputAvailable()
40 static void onAsyncFormatChanged(AMediaCodec* codec, void* userdata, AMediaFormat* format) { in onAsyncFormatChanged()
47 static void onAsyncError(AMediaCodec* codec, void* userdata, media_status_t error, in onAsyncError()
181 media_status_t CodecAsyncHandler::setCallBack(AMediaCodec* codec, bool isCodecInAsyncMode) { in setCallBack()
DNativeCodecTestBase.h82 media_status_t setCallBack(AMediaCodec* codec, bool isCodecInAsyncMode);
143 AMediaCodec* mCodec;
DNativeCodecUnitTest.cpp1491 AMediaCodec* codec = AMediaCodec_createCodecByName(nullptr); in nativeTestCreateByCodecNameForNull()
1502 AMediaCodec* codec = AMediaCodec_createCodecByName("invalid name"); in nativeTestCreateByCodecNameForInvalidName()
1513 AMediaCodec* codec = AMediaCodec_createDecoderByType(nullptr); in nativeTestCreateDecoderByTypeForNull()
1524 AMediaCodec* codec = AMediaCodec_createDecoderByType("invalid name"); in nativeTestCreateDecoderByTypeForInvalidMime()
1535 AMediaCodec* codec = AMediaCodec_createEncoderByType(nullptr); in nativeTestCreateEncoderByTypeForNull()
1546 AMediaCodec* codec = AMediaCodec_createEncoderByType("invalid name"); in nativeTestCreateEncoderByTypeForInvalidMime()
1556 AMediaCodec* codec = AMediaCodec_createEncoderByType(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureForNullFormat()
1571 AMediaCodec* codec = AMediaCodec_createEncoderByType(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureForEmptyFormat()
DNativeCodecEncoderSurfaceTest.cpp38 AMediaCodec* mDecoder;
39 AMediaCodec* mEncoder;
/cts/tests/tests/graphics/jni/
DMediaTestHelpers.h40 AMediaCodec *mCodec = nullptr;