Home
last modified time | relevance | path

Searched defs:codec (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/av/media/module/libmediaformatshaper/
DFormatShaper.cpp44 CodecProperties *codec = (CodecProperties*) shaper; in shapeFormat() local
73 CodecProperties *codec = (CodecProperties*) shaper; in setMap() local
88 CodecProperties *codec = (CodecProperties*) shaper; in setFeature() local
105 CodecProperties *codec = (CodecProperties*) shaper; in setTuning() local
125 CodecProperties *codec = findCodec(codecName, mediaType); in findShaper() local
130 CodecProperties *codec = new CodecProperties(codecName, mediaType); in createShaper() local
139 CodecProperties *codec = (CodecProperties*) shaper; in registerShaper() local
163 CodecProperties *codec = (CodecProperties*) shaper; in getMappings() local
173 CodecProperties *codec = (CodecProperties*) shaper; in getReverseMappings() local
DManageShapingCodecs.cpp41 CodecProperties *codec = nullptr; in findCodec() local
61 CodecProperties *registerCodec(CodecProperties *codec, const char *codecName, in registerCodec()
DVideoShaper.cpp61 int videoShaper(CodecProperties *codec, AMediaFormat* inFormat, int flags) { in videoShaper()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.cpp31 void OnInputAvailableCB(AMediaCodec *codec, void *userdata, int32_t index) { in OnInputAvailableCB()
38 void OnOutputAvailableCB(AMediaCodec *codec, void *userdata, int32_t index, in OnOutputAvailableCB()
51 void OnFormatChangedCB(AMediaCodec *codec, void *userdata, AMediaFormat *format) { in OnFormatChangedCB()
57 void OnErrorCB(AMediaCodec *codec, void *userdata, media_status_t err, int32_t actionCode, in OnErrorCB()
74 AMediaCodec *codec; in createMediaCodec() local
DBenchmarkCommon.h88 virtual void onInputAvailable(AMediaCodec *codec, int32_t index) { in onInputAvailable()
92 virtual void onFormatChanged(AMediaCodec *codec, AMediaFormat *format) { in onFormatChanged()
96 virtual void onError(AMediaCodec *codec, media_status_t err) { in onError()
100 virtual void onOutputAvailable(AMediaCodec *codec, int32_t index, in onOutputAvailable()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecBase.java59 public void onInputBufferAvailable(MediaCodec codec, int bufferIndex) { in onInputBufferAvailable()
67 public void onOutputBufferAvailable(MediaCodec codec, int bufferIndex, in onOutputBufferAvailable()
76 public void onError(MediaCodec codec, MediaCodec.CodecException e) { in onError()
85 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
89 void setCallBack(MediaCodec codec, boolean isCodecInAsyncMode) { in setCallBack()
/frameworks/av/media/ndk/fuzzer/
Dndk_async_codec_fuzzer.cpp69 virtual void invokeInputBufferAPI(AMediaCodec* codec, int32_t index) { in invokeInputBufferAPI()
73 virtual void onFormatChanged(AMediaCodec* codec, AMediaFormat* format) { in onFormatChanged()
78 virtual void invokeOutputBufferAPI(AMediaCodec* codec, int32_t index, in invokeOutputBufferAPI()
99 static void onAsyncInputAvailable(AMediaCodec* codec, void* userdata, int32_t index) { in onAsyncInputAvailable()
104 static void onAsyncOutputAvailable(AMediaCodec* codec, void* userdata, int32_t index, in onAsyncOutputAvailable()
114 static void onAsyncFormatChanged(AMediaCodec* codec, void* userdata, AMediaFormat* format) { in onAsyncFormatChanged()
120 static void onAsyncError(AMediaCodec* codec, void* userdata, media_status_t err, int32_t actionCode, in onAsyncError()
150 static void codecOnFrameRendered(AMediaCodec* codec, void* userdata, int64_t mediaTimeUs, in codecOnFrameRendered()
241 void NdkAsyncCodecFuzzer::invokeInputBufferAPI(AMediaCodec* codec, int32_t bufferIndex) { in invokeInputBufferAPI()
273 void NdkAsyncCodecFuzzer::invokeOutputBufferAPI(AMediaCodec* codec, int32_t bufferIndex, in invokeOutputBufferAPI()
[all …]
DNdkMediaCodecFuzzerBase.cpp314 void NdkMediaCodecFuzzerBase::invokeCodecFormatAPI(AMediaCodec* codec) { in invokeCodecFormatAPI()
346 void NdkMediaCodecFuzzerBase::invokeInputBufferOperationAPI(AMediaCodec* codec) { in invokeInputBufferOperationAPI()
377 void NdkMediaCodecFuzzerBase::invokeOutputBufferOperationAPI(AMediaCodec* codec) { in invokeOutputBufferOperationAPI()
/frameworks/av/media/module/service.mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/
DResourcePolicyTestActivity.java46 public void onInputBufferAvailable(MediaCodec codec, int index) { in onInputBufferAvailable()
52 MediaCodec codec, int index, MediaCodec.BufferInfo info) { in onOutputBufferAvailable()
57 public void onError(MediaCodec codec, MediaCodec.CodecException e) { in onError()
62 public void onOutputFormatChanged(MediaCodec codec, MediaFormat format) { in onOutputFormatChanged()
162 MediaCodec codec = null; in allocateCodecs() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java98 public static int getMinFrameRateForCodec(int codec) { in getMinFrameRateForCodec()
102 public static int getMaxFrameRateForCodec(int codec) { in getMaxFrameRateForCodec()
106 private static int getMinOrMaxFrameRateForCodec(int codec, boolean max) { in getMinOrMaxFrameRateForCodec()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreFileArchiver.kt67 val codec = BackupCodec.fromId(checkedInputStream.read().toByte()) in <lambda>() constant
110 val codec = defaultCodec() in toBackupRestoreEntity() constant
DBackupRestoreEntity.kt47 fun codec(): BackupCodec? = null in codec() method
DBackupRestoreStorage.kt103 val codec = entity.codec() ?: defaultCodec() in <lambda>() constant
171 val codec = entity.codec() ?: defaultCodec() in <lambda>() constant
/frameworks/base/media/java/android/media/
DEncoderProfiles.java241 /* package private */ VideoProfile(int codec, in VideoProfile()
261 /* package private */ VideoProfile(int codec, in VideoProfile()
271 private int codec; field in EncoderProfiles.VideoProfile
451 int codec, in AudioProfile()
463 private int codec; field in EncoderProfiles.AudioProfile
DEncoderCapabilities.java64 private VideoEncoderCap(int codec, in VideoEncoderCap()
100 private AudioEncoderCap(int codec, in AudioEncoderCap()
DMediaCodecList.java129 /* package private */ static native final int findCodecByName(String codec); in findCodecByName()
132 public static MediaCodecInfo getInfoFor(String codec) { in getInfoFor()
/frameworks/av/media/libstagefright/tests/mediacodec/
DMediaTestHelper.cpp30 sp<MediaCodec> codec = new MediaCodec( in CreateCodec() local
39 void MediaTestHelper::Reclaim(const sp<MediaCodec> &codec, bool force) { in Reclaim()
DMediaCodecTest.cpp242 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
340 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
389 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
437 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupCodecTest.kt35 for (codec in allCodecs()) { in name() constant
43 for (codec in allCodecs()) { in fromId() method
70 for (codec in allCodecs()) { in encode_decode() method
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp1576 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec, bool release = true) { in setMediaCodec()
1598 sp<JMediaCodec> codec = (JMediaCodec *)env->CallLongMethod(thiz, gFields.lockAndGetContextID); in getMediaCodec() local
1605 sp<JMediaCodec> codec = setMediaCodec(env, thiz, nullptr, false /* release */); in android_media_MediaCodec_release() local
1623 static std::string GetExceptionMessage(const sp<JMediaCodec> &codec, const char *msg) { in GetExceptionMessage()
1633 const sp<JMediaCodec> &codec = NULL) { in throwExceptionAsNecessary()
1675 JNIEnv *env, status_t err, const sp<JMediaCodec> &codec, in throwExceptionAsNecessary()
1684 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_enableOnFirstTunnelFrameReadyListener() local
1700 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_enableOnFrameRenderedListener() local
1716 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_setCallback() local
1736 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_configure() local
[all …]
/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp70 sp<MediaCodec> codec; in Create() local
72 -> sp<SimpleDecodingSource> { in Create()
122 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper, in SimpleDecodingSource()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java478 int codec = MediaRecorder.VideoEncoder.H263; in testPortraitH263() local
554 int codec = MediaRecorder.VideoEncoder.H264; in testSurfaceRecording() local
581 int codec = MediaRecorder.VideoEncoder.H264; in testPersistentSurfaceRecording() local
615 int codec = MediaRecorder.VideoEncoder.H264; in testSurfaceRecordingTimeLapse() local
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Dpacket_source_fuzzer.cpp86 bool checkFormatSupport(const std::string& codec, const std::string& format) { in checkFormatSupport()
102 std::string codec = mFdp.PickValueInArray(kCodecs); in process() local
/frameworks/av/media/module/codecs/g711/fuzzer/
Dg711_dec_fuzzer.cpp51 Codec *codec = new Codec(); in LLVMFuzzerTestOneInput() local
/frameworks/opt/net/voip/src/jni/rtp/
DAudioCodec.cpp44 AudioCodec *codec = type->create(); in newAudioCodec() local

1234