/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/ |
D | MediaCodecDecoderException.java | 28 @Nullable public final MediaCodecInfo codecInfo; field in MediaCodecDecoderException 33 public MediaCodecDecoderException(Throwable cause, @Nullable MediaCodecInfo codecInfo) { in MediaCodecDecoderException() argument 34 super("Decoder failed: " + (codecInfo == null ? null : codecInfo.name), cause); in MediaCodecDecoderException() 35 this.codecInfo = codecInfo; in MediaCodecDecoderException()
|
D | MediaCodecRenderer.java | 143 @Nullable public final MediaCodecInfo codecInfo; field in MediaCodecRenderer.DecoderInitializationException 193 this.codecInfo = mediaCodecInfo; in DecoderInitializationException() 206 codecInfo, in copyWithFallbackException() 384 @Nullable private MediaCodecInfo codecInfo; 564 MediaCodecInfo codecInfo, 621 protected boolean shouldInitCodec(MediaCodecInfo codecInfo) { 665 return codecInfo; 899 codecInfo = null; in resetCodecStateForRelease() 919 Throwable cause, @Nullable MediaCodecInfo codecInfo) { in createDecoderException() argument 920 return new MediaCodecDecoderException(cause, codecInfo); in createDecoderException() [all …]
|
D | MediaCodecUtil.java | 288 android.media.MediaCodecInfo codecInfo = mediaCodecList.getCodecInfoAt(i); in getDecoderInfosInternal() local 289 if (isAlias(codecInfo)) { in getDecoderInfosInternal() 294 String name = codecInfo.getName(); in getDecoderInfosInternal() 295 if (!isCodecUsableDecoder(codecInfo, name, secureDecodersExplicit, mimeType)) { in getDecoderInfosInternal() 298 @Nullable String codecMimeType = getCodecMimeType(codecInfo, name, mimeType); in getDecoderInfosInternal() 303 CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(codecMimeType); in getDecoderInfosInternal() 322 boolean hardwareAccelerated = isHardwareAccelerated(codecInfo); in getDecoderInfosInternal() 323 boolean softwareOnly = isSoftwareOnly(codecInfo); in getDecoderInfosInternal() 324 boolean vendor = isVendor(codecInfo); in getDecoderInfosInternal() 605 private static boolean isHardwareAccelerated(android.media.MediaCodecInfo codecInfo) { in isHardwareAccelerated() argument [all …]
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | MediaCodecUtils.java | 110 private static boolean isHardwareAcceleratedQOrHigher(android.media.MediaCodecInfo codecInfo) { in isHardwareAcceleratedQOrHigher() argument 111 return codecInfo.isHardwareAccelerated(); in isHardwareAcceleratedQOrHigher() 114 static boolean isSoftwareOnly(android.media.MediaCodecInfo codecInfo) { in isSoftwareOnly() argument 116 return isSoftwareOnlyQOrHigher(codecInfo); in isSoftwareOnly() 118 String name = codecInfo.getName(); in isSoftwareOnly() 128 private static boolean isSoftwareOnlyQOrHigher(android.media.MediaCodecInfo codecInfo) { in isSoftwareOnlyQOrHigher() argument 129 return codecInfo.isSoftwareOnly(); in isSoftwareOnlyQOrHigher()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | MediaCodecVideoRenderer.java | 474 MediaCodecInfo codecInfo = getCodecInfo(); in setSurface() local 475 if (codecInfo != null && shouldUseDummySurface(codecInfo)) { in setSurface() 476 dummySurface = DummySurface.newInstanceV17(context, codecInfo.secure); in setSurface() 516 protected boolean shouldInitCodec(MediaCodecInfo codecInfo) { in shouldInitCodec() argument 517 return surface != null || shouldUseDummySurface(codecInfo); in shouldInitCodec() 528 MediaCodecInfo codecInfo, in configureCodec() argument 533 String codecMimeType = codecInfo.codecMimeType; in configureCodec() 534 codecMaxValues = getCodecMaxValues(codecInfo, format, getStreamFormats()); in configureCodec() 544 if (!shouldUseDummySurface(codecInfo)) { in configureCodec() 548 dummySurface = DummySurface.newInstanceV17(context, codecInfo.secure); in configureCodec() [all …]
|
D | MediaCodecVideoDecoderException.java | 34 Throwable cause, @Nullable MediaCodecInfo codecInfo, @Nullable Surface surface) { in MediaCodecVideoDecoderException() argument 35 super(cause, codecInfo); in MediaCodecVideoDecoderException()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | MediaCodecAudioRenderer.java | 293 MediaCodecInfo codecInfo, in configureCodec() argument 298 codecMaxInputSize = getCodecMaxInputSize(codecInfo, format, getStreamFormats()); in configureCodec() 299 codecNeedsDiscardChannelsWorkaround = codecNeedsDiscardChannelsWorkaround(codecInfo.name); in configureCodec() 300 codecNeedsEosBufferTimestampWorkaround = codecNeedsEosBufferTimestampWorkaround(codecInfo.name); in configureCodec() 302 MimeTypes.AUDIO_RAW.equals(codecInfo.mimeType) in configureCodec() 305 getMediaFormat(format, codecInfo.codecMimeType, codecMaxInputSize, codecOperatingRate); in configureCodec() 318 MediaCodec codec, MediaCodecInfo codecInfo, Format oldFormat, Format newFormat) { in canKeepCodec() argument 324 if (getCodecMaxInputSize(codecInfo, newFormat) > codecMaxInputSize in canKeepCodec() 330 } else if (codecInfo.isSeamlessAdaptationSupported( in canKeepCodec() 698 MediaCodecInfo codecInfo, Format format, Format[] streamFormats) { in getCodecMaxInputSize() argument [all …]
|
/external/webrtc/sdk/objc/native/src/ |
D | objc_video_decoder_factory.mm | 97 for (RTC_OBJC_TYPE(RTCVideoCodecInfo) * codecInfo in decoder_factory_.supportedCodecs) { 98 if ([codecName isEqualToString:codecInfo.name]) { 99 id<RTC_OBJC_TYPE(RTCVideoDecoder)> decoder = [decoder_factory_ createDecoder:codecInfo];
|
/external/webrtc/sdk/objc/components/video_codec/ |
D | RTCVideoEncoderH264.h | 20 - (instancetype)initWithCodecInfo:(RTC_OBJC_TYPE(RTCVideoCodecInfo) *)codecInfo;
|
D | RTCVideoEncoderH264.mm | 341 - (instancetype)initWithCodecInfo:(RTC_OBJC_TYPE(RTCVideoCodecInfo) *)codecInfo { 343 _codecInfo = codecInfo; 347 webrtc::H264::ParseSdpProfileLevelId([codecInfo nativeSdpVideoFormat].parameters); 350 RTC_CHECK([codecInfo.name isEqualToString:kRTCVideoCodecH264Name]);
|
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/ |
D | DebugRenderersFactory.java | 109 MediaCodecInfo codecInfo, in configureCodec() argument 120 super.configureCodec(codecInfo, codec, format, crypto, operatingRate); in configureCodec()
|
/external/lzma/CPP/7zip/Common/ |
D | RegisterCodec.h | 22 void RegisterCodec(const CCodecInfo *codecInfo) throw();
|
D | CreateCoder.cpp | 28 void RegisterCodec(const CCodecInfo *codecInfo) throw() in RegisterCodec() argument 31 g_Codecs[g_NumCodecs++] = codecInfo; in RegisterCodec()
|
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | PlayerActivity.java | 559 if (decoderInitializationException.codecInfo == null) { in getErrorMessage() 574 decoderInitializationException.codecInfo.name); in getErrorMessage()
|