/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/ |
D | FfmpegAudioRenderer.java | 144 private boolean isOutputSupported(Format inputFormat) { in isOutputSupported() argument 145 return shouldUseFloatOutput(inputFormat) in isOutputSupported() 146 || supportsOutput(inputFormat.channelCount, C.ENCODING_PCM_16BIT); in isOutputSupported() 149 private boolean shouldUseFloatOutput(Format inputFormat) { in shouldUseFloatOutput() argument 150 Assertions.checkNotNull(inputFormat.sampleMimeType); in shouldUseFloatOutput() 151 if (!enableFloatOutput || !supportsOutput(inputFormat.channelCount, C.ENCODING_PCM_FLOAT)) { in shouldUseFloatOutput() 154 switch (inputFormat.sampleMimeType) { in shouldUseFloatOutput() 157 return inputFormat.pcmEncoding == C.ENCODING_PCM_24BIT in shouldUseFloatOutput() 158 || inputFormat.pcmEncoding == C.ENCODING_PCM_32BIT in shouldUseFloatOutput() 159 || inputFormat.pcmEncoding == C.ENCODING_PCM_FLOAT; in shouldUseFloatOutput()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | DecoderAudioRenderer.java | 104 private Format inputFormat; field in DecoderAudioRenderer 229 throw createRendererException(e, inputFormat); in render() 235 if (inputFormat == null) { in render() 268 throw createRendererException(e, inputFormat); in render() 444 throw createRendererException(decoderDrmSession.getError(), inputFormat); in shouldWaitForKeys() local 455 throw createRendererException(e, inputFormat); in processEndOfStream() 483 || (inputFormat != null && !waitingForKeys && (isSourceReady() || outputBuffer != null)); in isReady() 543 inputFormat = null; in onDisabled() 606 decoder = createDecoder(inputFormat, mediaCrypto); in maybeInitDecoder() 613 throw createRendererException(e, inputFormat); in maybeInitDecoder() [all …]
|
D | MediaCodecAudioRenderer.java | 89 @Nullable private Format inputFormat; field in MediaCodecAudioRenderer 392 inputFormat = formatHolder.format; in onInputFormatChanged() 393 eventDispatcher.inputFormatChanged(inputFormat); in onInputFormatChanged() 412 encoding = getPcmEncoding(inputFormat); in onOutputMediaFormatChanged() 418 if (codecNeedsDiscardChannelsWorkaround && channelCount == 6 && inputFormat.channelCount < 6) { in onOutputMediaFormatChanged() 419 channelMap = new int[inputFormat.channelCount]; in onOutputMediaFormatChanged() 420 for (int i = 0; i < inputFormat.channelCount; i++) { in onOutputMediaFormatChanged() 434 inputFormat.encoderDelay, in onOutputMediaFormatChanged() 435 inputFormat.encoderPadding); in onOutputMediaFormatChanged() 438 throw createRendererException(e, inputFormat); in onOutputMediaFormatChanged() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 57 VkFormat inputFormat, 83 VkFormat inputFormat, 112 VkFormat inputFormat, 127 VkFormat inputFormat, 195 VkFormat inputFormat, 213 VkFormat inputFormat, 234 VkFormat inputFormat, in VertexAccessTest() argument 241 , m_inputFormat (inputFormat) in VertexAccessTest() 359 VkFormat inputFormat, in DrawAccessTest() argument 365 …: VertexAccessTest (testContext, name, description, inputFormat, numVertexValues, numInstanceValu… in DrawAccessTest() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/ |
D | MediaCodecRenderer.java | 370 @Nullable private Format inputFormat; 571 if (codec != null || inputFormat == null) { 578 String mimeType = inputFormat.sampleMimeType; 596 throw createRendererException(e, inputFormat); 606 throw createRendererException(codecDrmSession.getError(), inputFormat); 617 throw createRendererException(e, inputFormat); 724 inputFormat = null; in onDisabled() 789 if (inputFormat == null && !readToFlagsOnlyBuffer(/* requireFormat= */ true)) { in render() 813 throw createRendererException(e, inputFormat); in render() 955 inputFormat, in maybeInitCodecWithFallback() [all …]
|
/external/v4l2_codec2/common/ |
D | FormatConverter.cpp | 201 VideoPixelFormat inputFormat = VideoPixelFormat::UNKNOWN; in convertBlock() local 211 inputFormat = VideoPixelFormat::YV12; in convertBlock() 213 inputFormat = (srcV > srcU) ? VideoPixelFormat::NV12 : VideoPixelFormat::NV21; in convertBlock() 216 if (inputFormat == mOutFormat) { in convertBlock() 222 switch (convertMap(inputFormat, mOutFormat)) { in convertBlock() 254 videoPixelFormatToString(inputFormat).c_str(), in convertBlock() 262 inputFormat = VideoPixelFormat::ABGR; in convertBlock() 268 switch (convertMap(inputFormat, mOutFormat)) { in convertBlock() 288 videoPixelFormatToString(inputFormat).c_str(), in convertBlock() 300 videoPixelFormatToString(inputFormat).c_str()); in convertBlock()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | DecoderVideoRenderer.java | 96 private Format inputFormat; field in DecoderVideoRenderer 171 if (inputFormat == null) { in render() 201 throw createRendererException(e, inputFormat); in render() 217 if (inputFormat != null in isReady() 295 inputFormat = null; in onDisabled() 382 inputFormat = newFormat; in onInputFormatChanged() 395 eventDispatcher.inputFormatChanged(inputFormat); in onInputFormatChanged() 679 decoder = createDecoder(inputFormat, mediaCrypto); in maybeInitDecoder() 688 throw createRendererException(e, inputFormat); in maybeInitDecoder() 743 formatQueue.add(inputBuffer.timeUs, inputFormat); in feedInputBuffer() [all …]
|
/external/skqp/src/codec/ |
D | SkBmpCodec.cpp | 298 BmpInputFormat inputFormat = kUnknown_BmpInputFormat; in ReadHeader() local 301 inputFormat = kStandard_BmpInputFormat; in ReadHeader() 312 inputFormat = kBitMask_BmpInputFormat; in ReadHeader() 320 inputFormat = kRLE_BmpInputFormat; in ReadHeader() 327 inputFormat = kRLE_BmpInputFormat; in ReadHeader() 332 inputFormat = kBitMask_BmpInputFormat; in ReadHeader() 394 inputFormat = kRLE_BmpInputFormat; in ReadHeader() 428 switch (inputFormat) { in ReadHeader()
|
/external/skia/src/codec/ |
D | SkBmpCodec.cpp | 301 BmpInputFormat inputFormat = kUnknown_BmpInputFormat; in ReadHeader() local 304 inputFormat = kStandard_BmpInputFormat; in ReadHeader() 315 inputFormat = kBitMask_BmpInputFormat; in ReadHeader() 323 inputFormat = kRLE_BmpInputFormat; in ReadHeader() 330 inputFormat = kRLE_BmpInputFormat; in ReadHeader() 335 inputFormat = kBitMask_BmpInputFormat; in ReadHeader() 397 inputFormat = kRLE_BmpInputFormat; in ReadHeader() 431 switch (inputFormat) { in ReadHeader()
|
/external/webrtc/sdk/objc/unittests/ |
D | RTCCVPixelBuffer_xctest.mm | 193 - (void)cropAndScaleTestWithNV12InputFormat:(OSType)inputFormat outputFormat:(OSType)outputFormat { 194 [self cropAndScaleTestWithNV12InputFormat:(OSType)inputFormat 199 - (void)cropAndScaleTestWithNV12InputFormat:(OSType)inputFormat 203 CVPixelBufferCreate(NULL, 720, 1280, inputFormat, NULL, &pixelBufferRef);
|
/external/v4l2_codec2/components/include/v4l2_codec2/components/ |
D | V4L2Encoder.h | 50 VideoPixelFormat inputFormat() const override; 95 bool configureInputFormat(VideoPixelFormat inputFormat, uint32_t stride);
|
D | VideoEncoder.h | 74 virtual VideoPixelFormat inputFormat() const = 0;
|
/external/webrtc/sdk/objc/components/video_codec/ |
D | RTCVideoDecoderH264.mm | 113 rtc::ScopedCFTypeRef<CMVideoFormatDescriptionRef> inputFormat = 116 if (inputFormat) { 119 if (!CMFormatDescriptionEqual(inputFormat.get(), _videoFormat)) { 120 [self setVideoFormat:inputFormat.get()];
|
/external/v4l2_codec2/components/ |
D | V4L2Encoder.cpp | 187 VideoPixelFormat V4L2Encoder::inputFormat() const { in inputFormat() function in android::V4L2Encoder 434 bool V4L2Encoder::configureInputFormat(VideoPixelFormat inputFormat, uint32_t stride) { in configureInputFormat() argument 443 auto fourcc = Fourcc::fromVideoPixelFormat(inputFormat, false); in configureInputFormat() 460 ALOGE("Failed to set input format to %s", videoPixelFormatToString(inputFormat).c_str()); in configureInputFormat()
|
D | V4L2EncodeComponent.cpp | 657 videoPixelFormatToString(mEncoder->inputFormat()).c_str()); in initializeEncoder() 659 FormatConverter::Create(mEncoder->inputFormat(), mEncoder->visibleSize(), in initializeEncoder()
|
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTexture.hpp | 48 glw::GLenum inputFormat, glw::GLenum outputFormat, glw::GLuint width, glw::GLuint height,
|
D | esextcTextureBorderClampSamplingTexture.cpp | 64 …glw::GLenum outputInternalFormat, glw::GLenum filtering, glw::GLenum inputFormat, glw::GLenum outp… in TestConfiguration() argument 73 , m_input_format(inputFormat) in TestConfiguration()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.hpp | 88 VkFormat inputFormat; member 104 : inputFormat (VK_FORMAT_R32G32B32A32_SFLOAT) in GraphicsResources()
|
D | vktSpvAsmImageSamplerTests.cpp | 1114 resources.inputFormat = optypeimageFormatMismatchVkFormat[formatIndex]; in addGraphicsImageSamplerTest() 1223 resources.inputFormat = imageFormat; in addGraphicsDepthPropertyTest()
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 2922 …rface& vk, const VkDevice vkDevice, const Resource& resource, VkFormat inputFormat, deUint32 queue… in createImageForResource() argument 2930 inputFormat, // VkFormat format; in createImageForResource() 3426 …const VkImageAspectFlags inputImageAspect = getImageAspectFlags(instance.resources.inputFormat… in runAndVerifyDefaultPipeline() 3510 …ge = createImageForResource(vk, device, resource, instance.resources.inputFormat, queueFamilyInd… in runAndVerifyDefaultPipeline() 3649 instance.resources.inputFormat, // VkFormat format; in runAndVerifyDefaultPipeline() 3671 … hasDepthComponent = tcu::hasDepthComponent(vk::mapVkFormat(instance.resources.inputFormat).order); in runAndVerifyDefaultPipeline()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.hpp | 162 const vk::VkFormat inputFormat,
|
D | vktImageTestsUtil.cpp | 364 const VkFormat inputFormat, in makeRenderPass() argument 398 inputFormat, // VkFormat format; in makeRenderPass()
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 1238 const TextureFormat inputFormat = getBaseFormat(format); in getInputAccess() local 1239 const int inputPixelSize = getPixelSize(inputFormat); in getInputAccess()
|
/external/curl/lib/vtls/ |
D | sectransp.c | 1193 SecExternalFormat inputFormat = kSecFormatPKCS12; in CopyIdentityFromPKCS12File() local 1200 status = SecItemImport(pkcs_data, NULL, &inputFormat, &inputType, in CopyIdentityFromPKCS12File()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcPackedPixelsTests.cpp | 1553 const PixelFormat& inputFormat = getPixelFormat(internalformat.format); in isFormatValid() local 1555 …if (inputFormat.attachment == GL_DEPTH_ATTACHMENT && contextInfo.isExtensionSupported("GL_NV_read_… in isFormatValid() 1564 if (inputFormat.attachment == GL_DEPTH_STENCIL_ATTACHMENT && in isFormatValid() 1577 if (inputFormat.attachment != GL_COLOR_ATTACHMENT0) in isFormatValid()
|