Home
last modified time | relevance | path

Searched refs:codecName (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/test/
Dtester_main.cc47 args->codecName = FLAGS_codec; in ParseArguments()
48 if (args->codecName == "VP8") { in ParseArguments()
50 } else if (args->codecName == "VP9") { in ParseArguments()
52 } else if (args->codecName == "I420") { in ParseArguments()
55 printf("Invalid codec: %s\n", args->codecName.c_str()); in ParseArguments()
Dtest_util.h77 std::string codecName; variable
Dtest_util.cc24 : codecName("VP8"), in CmdArgs()
/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/
DFfmpegLibrary.java72 String codecName = getCodecName(mimeType); in supportsFormat() local
73 if (codecName == null) { in supportsFormat()
76 if (!ffmpegHasDecoder(codecName)) { in supportsFormat()
77 Log.w(TAG, "No " + codecName + " decoder available. Check the FFmpeg build configuration."); in supportsFormat()
131 private static native boolean ffmpegHasDecoder(String codecName); in ffmpegHasDecoder() argument
DFfmpegAudioDecoder.java44 private final String codecName; field in FfmpegAudioDecoder
66 codecName = Assertions.checkNotNull(FfmpegLibrary.getCodecName(format.sampleMimeType)); in FfmpegAudioDecoder()
71 ffmpegInitialize(codecName, extraData, outputFloat, format.sampleRate, format.channelCount); in FfmpegAudioDecoder()
80 return "ffmpeg" + FfmpegLibrary.getVersion() + "-" + codecName; in getName()
123 if (sampleRate == 0 && "alac".equals(codecName)) { in decode()
211 String codecName, in ffmpegInitialize() argument
/external/exoplayer/tree/extensions/ffmpeg/src/main/jni/
Dffmpeg_jni.cc74 AVCodec *getCodecByName(JNIEnv* env, jstring codecName);
116 LIBRARY_FUNC(jboolean, ffmpegHasDecoder, jstring codecName) { in LIBRARY_FUNC() argument
117 return getCodecByName(env, codecName) != NULL; in LIBRARY_FUNC()
120 AUDIO_DECODER_FUNC(jlong, ffmpegInitialize, jstring codecName, in AUDIO_DECODER_FUNC() argument
123 AVCodec *codec = getCodecByName(env, codecName); in AUDIO_DECODER_FUNC()
210 AVCodec *getCodecByName(JNIEnv* env, jstring codecName) { in getCodecByName() argument
211 if (!codecName) { in getCodecByName()
214 const char *codecNameChars = env->GetStringUTFChars(codecName, NULL); in getCodecByName()
216 env->ReleaseStringUTFChars(codecName, codecNameChars); in getCodecByName()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecUtil.java627 String codecName = Util.toLowerInvariant(codecInfo.getName()); in isSoftwareOnly() local
628 if (codecName.startsWith("arc.")) { // App Runtime for Chrome (ARC) codecs in isSoftwareOnly()
631 return codecName.startsWith("omx.google.") in isSoftwareOnly()
632 || codecName.startsWith("omx.ffmpeg.") in isSoftwareOnly()
633 || (codecName.startsWith("omx.sec.") && codecName.contains(".sw.")) in isSoftwareOnly()
634 || codecName.equals("omx.qcom.video.decoder.hevcswvdec") in isSoftwareOnly()
635 || codecName.startsWith("c2.android.") in isSoftwareOnly()
636 || codecName.startsWith("c2.google.") in isSoftwareOnly()
637 || (!codecName.startsWith("omx.") && !codecName.startsWith("c2.")); in isSoftwareOnly()
653 String codecName = Util.toLowerInvariant(codecInfo.getName()); in isVendor() local
[all …]
DMediaCodecRenderer.java1029 String codecName = codecInfo.name; in initCodec() local
1042 TraceUtil.beginSection("createCodec:" + codecName); in initCodec()
1043 codec = MediaCodec.createByCodecName(codecName); in initCodec()
1094 codecAdaptationWorkaroundMode = codecAdaptationWorkaroundMode(codecName); in initCodec()
1095 codecNeedsReconfigureWorkaround = codecNeedsReconfigureWorkaround(codecName); in initCodec()
1096 codecNeedsDiscardToSpsWorkaround = codecNeedsDiscardToSpsWorkaround(codecName, codecFormat); in initCodec()
1097 codecNeedsFlushWorkaround = codecNeedsFlushWorkaround(codecName); in initCodec()
1098 codecNeedsSosFlushWorkaround = codecNeedsSosFlushWorkaround(codecName); in initCodec()
1099 codecNeedsEosFlushWorkaround = codecNeedsEosFlushWorkaround(codecName); in initCodec()
1100 codecNeedsEosOutputExceptionWorkaround = codecNeedsEosOutputExceptionWorkaround(codecName); in initCodec()
[all …]
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoEncoder.java143 public EncoderProperties(String codecName, int colorFormat) { in EncoderProperties() argument
144 this.codecName = codecName; in EncoderProperties()
147 public final String codecName; // OpenMax component name for HW codec. field in MediaCodecVideoEncoder.EncoderProperties
263 static MediaCodec createByCodecName(String codecName) { in createByCodecName() argument
267 return MediaCodec.createByCodecName(codecName); in createByCodecName()
319 mediaCodec = createByCodecName(properties.codecName); in initEncode()
DMediaCodecVideoDecoder.java134 public DecoderProperties(String codecName, int colorFormat) { in DecoderProperties() argument
135 this.codecName = codecName; in DecoderProperties()
138 public final String codecName; // OpenMax component name for VP8 codec. field in MediaCodecVideoDecoder.DecoderProperties
277 MediaCodecVideoEncoder.createByCodecName(properties.codecName); in initDecode()
/external/oss-fuzz/projects/kcodecs/
Dkcodecs_fuzzer.cc74 for (const char *codecName : codecs) { in LLVMFuzzerTestOneInput() local
75 KCodecs::Codec *c = KCodecs::Codec::codecForName(codecName); in LLVMFuzzerTestOneInput()
/external/webrtc/webrtc/modules/audio_coding/test/
DTestRedFec.h34 int16_t RegisterSendCodec(char side, const char* codecName,
DTestRedFec.cc423 int16_t TestRedFec::RegisterSendCodec(char side, const char* codecName, in RegisterSendCodec() argument
445 EXPECT_GT(AudioCodingModule::Codec(codecName, &myCodecParam, in RegisterSendCodec()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DMediaCodecAudioRenderer.java800 private static boolean codecNeedsDiscardChannelsWorkaround(String codecName) { in codecNeedsDiscardChannelsWorkaround() argument
802 return Util.SDK_INT < 24 && "OMX.SEC.aac.dec".equals(codecName) in codecNeedsDiscardChannelsWorkaround()
814 private static boolean codecNeedsEosBufferTimestampWorkaround(String codecName) { in codecNeedsEosBufferTimestampWorkaround() argument
816 && "OMX.SEC.mp3.dec".equals(codecName) in codecNeedsEosBufferTimestampWorkaround()