Searched refs:AMediaCodec (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/media/common/jni/ |
D | NdkMediaCodec-jni.cpp | 49 AMediaCodec *codec = AMediaCodec_createCodecByName(tmp); in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateCodecByName() 62 media_status_t err = AMediaCodec_delete(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecDelete() 68 media_status_t err = AMediaCodec_start(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecStart() 74 media_status_t err = AMediaCodec_stop(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecStop() 148 reinterpret_cast<AMediaCodec *>(codec), in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure() 163 reinterpret_cast<AMediaCodec *>(codec), in Java_android_media_cts_NdkMediaCodec_AMediaCodecSetInputSurface() 174 reinterpret_cast<AMediaCodec *>(codec), in Java_android_media_cts_NdkMediaCodec_AMediaCodecSetNativeInputSurface() 186 reinterpret_cast<AMediaCodec *>(codec), in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateInputSurface() 214 AMediaFormat *format = AMediaCodec_getOutputFormat(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecGetOutputFormatString() 225 media_status_t err = AMediaCodec_signalEndOfInputStream(reinterpret_cast<AMediaCodec *>(codec)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecSignalEndOfInputStream() [all …]
|
/cts/tests/tests/graphics/jni/ |
D | MediaTestHelpers.h | 40 AMediaCodec *mCodec = nullptr;
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 204 AMediaCodec * /* aMediaCodec */, in OnInputAvailableCB() argument 213 AMediaCodec * /* aMediaCodec */, in OnOutputAvailableCB() argument 225 AMediaCodec * /* aMediaCodec */, in OnFormatChangedCB() argument 234 AMediaCodec * /* aMediaCodec */, in OnErrorCB() argument 304 std::unique_ptr<AMediaCodec*[]> codec(new AMediaCodec*[numtracks]()); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() 551 AMediaCodec *codec = AMediaCodec_createDecoderByType(mediaType); in testNonTunneledTrickPlay()
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.h | 105 media_status_t setCallBack(AMediaCodec* codec, bool isCodecInAsyncMode); 180 AMediaCodec* mCodec;
|
D | NativeCodecTestBase.cpp | 23 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() 241 media_status_t CodecAsyncHandler::setCallBack(AMediaCodec* codec, bool isCodecInAsyncMode) { in setCallBack()
|
D | NativeCodecUnitTest.cpp | 1522 AMediaCodec* codec = AMediaCodec_createCodecByName(nullptr); in nativeTestCreateByCodecNameForNull() 1533 AMediaCodec* codec = AMediaCodec_createCodecByName("invalid name"); in nativeTestCreateByCodecNameForInvalidName() 1544 AMediaCodec* codec = AMediaCodec_createDecoderByType(nullptr); in nativeTestCreateDecoderByTypeForNull() 1555 AMediaCodec* codec = AMediaCodec_createDecoderByType("invalid name"); in nativeTestCreateDecoderByTypeForInvalidMediaType() 1566 AMediaCodec* codec = AMediaCodec_createEncoderByType(nullptr); in nativeTestCreateEncoderByTypeForNull() 1577 AMediaCodec* codec = AMediaCodec_createEncoderByType("invalid name"); in nativeTestCreateEncoderByTypeForInvalidMediaType() 1587 AMediaCodec* codec = AMediaCodec_createEncoderByType(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureForNullFormat() 1603 AMediaCodec* codec = AMediaCodec_createEncoderByType(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureForEmptyFormat()
|
D | NativeCodecEncoderSurfaceTest.cpp | 38 AMediaCodec* mDecoder; 39 AMediaCodec* mEncoder;
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0470/ |
D | poc.cpp | 45 AMediaCodec *codec; in main()
|
/cts/tests/tests/media/drmframework/jni/ |
D | native-mediadrm-jni.cpp | 366 const ANativeWindow* window, AMediaCodec** codec) { in addTrack() 381 AMediaCodec** codec) { in addTracks() 424 static void fillDecoder(AMediaCodec* codec, AMediaExtractor* extractor, in fillDecoder() 460 static bool drainDecoder(AMediaCodec* codec, int64_t presentationTimeUs, in drainDecoder() 502 AMediaCodec* audioCodec = NULL; in playContent() 503 AMediaCodec* videoCodec = NULL; in playContent()
|
/cts/tests/tests/nativemedia/resourceobserver/src/ |
D | ResourceObserverNativeTest.cpp | 112 AMediaCodec* dec = AMediaCodec_createDecoderByType(MIMETYPE_AVC); in testResourceObserver()
|