Home
last modified time | relevance | path

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

1234

/frameworks/av/media/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/services/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/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.cpp239 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
337 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
386 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
434 sp<MediaCodec> codec = SetupMediaCodec( in TEST() local
/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
DMediaCodecList.java129 /* package private */ static native final int findCodecByName(String codec); in findCodecByName()
132 public static MediaCodecInfo getInfoFor(String codec) { in getInfoFor()
DEncoderCapabilities.java64 private VideoEncoderCap(int codec, in VideoEncoderCap()
100 private AudioEncoderCap(int codec, in AudioEncoderCap()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp1241 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec, bool release = true) { in setMediaCodec()
1263 sp<JMediaCodec> codec = (JMediaCodec *)env->CallLongMethod(thiz, gFields.lockAndGetContextID); in getMediaCodec() local
1270 sp<JMediaCodec> codec = setMediaCodec(env, thiz, nullptr, false /* release */); in android_media_MediaCodec_release() local
1388 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_enableOnFirstTunnelFrameReadyListener() local
1404 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_enableOnFrameRenderedListener() local
1420 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_setCallback() local
1440 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_configure() local
1488 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_setSurface() local
1612 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_setInputSurface() local
1636 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_createInputSurface() 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/av/media/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
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java483 int codec = MediaRecorder.VideoEncoder.H263; in testPortraitH263() local
559 int codec = MediaRecorder.VideoEncoder.H264; in testSurfaceRecording() local
586 int codec = MediaRecorder.VideoEncoder.H264; in testPersistentSurfaceRecording() local
620 int codec = MediaRecorder.VideoEncoder.H264; in testSurfaceRecordingTimeLapse() local
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DDataStreamFileCodec.java42 public DataStreamFileCodec(File file, DataStreamCodec<T> codec) { in DataStreamFileCodec()
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioStream.java121 public void setCodec(AudioCodec codec) { in setCodec()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp274 video_encoder codec, int profile, in detectAdvancedVideoProfile()
420 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); in createVideoCodec() local
493 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); in createAudioCodec() local
522 const int codec = findTagForName(sAudioDecoderNameMap, nMappings, atts[1]); in createAudioDecoderCap() local
542 const int codec = findTagForName(sVideoDecoderNameMap, nMappings, atts[1]); in createVideoDecoderCap() local
570 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); in createVideoEncoderCap() local
598 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); in createAudioEncoderCap() local
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java195 MediaCodec codec; in run() local
227 private void stream(MediaCodec codec) { in stream()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java299 int codec = audioQualityToCodec(proto.bearerAtEnd, audioQuality); in onAudioCodecChanged() local
303 mCodecUsage.get(id).append(getTimeMillis(), codec); in onAudioCodecChanged() local
306 arr.append(getTimeMillis(), codec); in onAudioCodecChanged() local
478 int codec = audioQualityToCodec(bearer, conn.getAudioCodec()); in addCall() local
780 private int getCodecQuality(int codec) { in getCodecQuality()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioTrackDecoder.java77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { in onDataAvailable()
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp97 const char *videoProfileToString(XAuint32 codec, XAuint32 profile) { in videoProfileToString()
160 const char* videoLevelToString(XAuint32 codec, XAuint32 level) { in videoLevelToString()

1234