/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/ |
H A D | audio_enhance_chain.cpp | 37 CHECK_AND_RETURN_RET_LOG(enhanceBufferAttr->bitDepth != 0 && in GetOneFrameInputData() 38 enhanceBufferAttr->bitDepth < MAX_BIT_DEPTH, ERROR, "bitDepth is invalid"); in GetOneFrameInputData() 60 … for (uint32_t i = 0; i < enhanceBufferAttr->byteLenPerFrame / enhanceBufferAttr->bitDepth; ++i) { in GetOneFrameInputData() 63 ret = memcpy_s(&cache[j][i * enhanceBufferAttr->bitDepth], enhanceBufferAttr->bitDepth, in GetOneFrameInputData() 64 enhanceBufferAttr->input + index, enhanceBufferAttr->bitDepth); in GetOneFrameInputData() 66 index += enhanceBufferAttr->bitDepth; in GetOneFrameInputData()
|
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/ |
H A D | rs_graphic_test_utils.cpp | 48 param.bitDepth, in WriteToPng() 69 constexpr int bitDepth = 8; in WriteToPngWithPixelMap() local 76 param.bitDepth = bitDepth; in WriteToPngWithPixelMap()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/ |
H A D | png_decoder.cpp | 464 if (pngImageInfo_.bitDepth < 8) { // 8 is single pixel bit depth in ConvertOriginalFormat() 506 if (format != PixelFormat::RGBA_F16 && pngImageInfo_.bitDepth == 16) { // 16bit depth in GetDecodeFormat() 507 pngImageInfo_.bitDepth = 8; // 8bit depth in GetDecodeFormat() 632 int32_t bitDepth = 0; in GetImageInfo() local 633 …png_get_IHDR(pngStructPtr_, pngInfoPtr_, &origWidth, &origHeight, &bitDepth, nullptr, nullptr, nul… in GetImageInfo() 638 …if (bitDepth != BITDEPTH_VALUE_1 && bitDepth != BITDEPTH_VALUE_2 && bitDepth != BITDEPTH_VALUE_4 && in GetImageInfo() 639 bitDepth != BITDEPTH_VALUE_8 && bitDepth != BITDEPTH_VALUE_16) { in GetImageInfo() 640 IMAGE_LOGE("Get the png image bit depth abnormal, bitDepth:%{public}d.", bitDepth); in GetImageInfo() 651 info.bitDepth = bitDepth; in GetImageInfo() 654 origWidth, origHeight, info.bitDepth, info.numberPasses); in GetImageInfo()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.h | 85 int32_t bitDepth = BIT_DEPTH8BIT; member 116 void DumpOutputBuffer(int32_t bitDepth); 139 int32_t CheckFormatChange(uint32_t index, int width, int height, int bitDepth); 152 void ConvertDecOutToAVFrame(int32_t bitDepth);
|
H A D | hevc_decoder.cpp | 798 outputBuffer->bitDepth = bitDepth_; in UpdateOutputBuffer() 826 outputBuffer->bitDepth = bitDepth_; in UpdateSurfaceMemory() 835 if (width_ != width || height_ != height || bitDepth_ != bitDepth) { in CheckFormatChange() 840 bitDepth_ = bitDepth; in CheckFormatChange() 1014 CHECK_AND_RETURN_RET_LOG(bitDepth == BIT_DEPTH8BIT || bitDepth == BIT_DEPTH10BIT, -1, in DecodeFrameOnce() 1016 ConvertDecOutToAVFrame(bitDepth); in DecodeFrameOnce() 1018 DumpOutputBuffer(bitDepth); in DecodeFrameOnce() 1106 void HevcDecoder::ConvertDecOutToAVFrame(int32_t bitDepth) in ConvertDecOutToAVFrame() argument 1114 if (bitDepth == BIT_DEPTH8BIT) { in ConvertDecOutToAVFrame() 1136 void HevcDecoder::DumpOutputBuffer(int32_t bitDepth) in DumpOutputBuffer() argument [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_ui_capture_demo.cpp | 49 uint32_t bitDepth; 89 param.bitDepth, in WriteToPng() 183 param.bitDepth = BITMAP_DEPTH; in WriteToPngWithPixelMap()
|
H A D | snapshot_surface.cpp | 101 param.bitDepth, in WriteToPng() 135 param.bitDepth = BITMAP_DEPTH; in WritePixelMapToPng()
|
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/include/ |
H A D | rs_graphic_test_utils.h | 29 uint32_t bitDepth; member
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/ |
H A D | audio_enhance_chain_adapter.h | 36 uint32_t bitDepth; member
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/ |
H A D | image.cpp | 341 uint8_t bitDepth = png_get_bit_depth(png, info); in SetPNGSrc() local 344 …if ((colorType == PNG_COLOR_TYPE_GRAY) && (bitDepth < 8)) { // 8: Expand grayscale images to the f… in SetPNGSrc() 353 if (bitDepth == 16) { // 16: Chop 16-bit depth images to 8-bit depth in SetPNGSrc()
|
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 565 std::vector<int32_t> bitDepth = data_->bitDepth; in GetSupportedFormats() local 566 …CHECK_AND_RETURN_RET_LOG(bitDepth.size() != 0, bitDepth, "GetSupportedFormats failed: format is nu… in GetSupportedFormats() 567 return bitDepth; in GetSupportedFormats()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/apng/ |
H A D | apng_image_decoder.h | 141 uint8_t bitDepth = 0; ///< expected: 1, 2, 4, 8, 16 member
|
H A D | apng_image_decoder.cpp | 81 IHDR->bitDepth = data[PNGHeadBitDepth]; in png_chunk_IHDR_read() 92 data[PNGHeadBitDepth] = IHDR->bitDepth; in png_chunk_IHDR_write()
|
/ohos5.0/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/ |
H A D | codeclist_parcel.cpp | 58 (void)parcel.WriteInt32Vector(capabilityData.bitDepth); in Marshalling() 135 parcel.ReadInt32Vector(&capabilityData.bitDepth); in Unmarshalling()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_util.cpp | 1520 param.bitDepth = Detail::BITMAP_DEPTH; in WriteSurfaceRenderNodeToPng() 1558 param.bitDepth = Detail::BITMAP_DEPTH; in WriteCacheRenderNodeToPng() 1606 param.bitDepth = Detail::BITMAP_DEPTH; in WriteCacheImageRenderNodeToPng() 1650 param.bitDepth = Detail::BITMAP_DEPTH; in WriteCacheImageRenderNodeToPng() 1669 param.bitDepth = Detail::BITMAP_DEPTH; in WritePixelMapToPng() 1697 param.bitDepth = Detail::BITMAP_DEPTH; in WriteSurfaceBufferToPng() 1730 param.bitDepth, in WriteToPng()
|
H A D | rs_base_render_util.h | 102 uint32_t bitDepth; member
|
/ohos5.0/drivers/hdf_core/framework/support/platform/test/unittest/common/ |
H A D | hdf_hdmi_test.cpp | 88 audioAttr.bitDepth = HDMI_ADIO_BIT_DEPTH_16; in HdmiUserSetAttrCaseTest()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/include/ |
H A D | png_decoder.h | 43 uint8_t bitDepth = 0; member
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/ |
H A D | hcodec_list_unit_test.cpp | 126 GetPrintInfo(one.pixFormat).c_str(), GetPrintInfo(one.bitDepth).c_str(),
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-platform-hdmi-des.md | 239 audioAttr.bitDepth = HDMI_ADIO_BIT_DEPTH_16; 567 audioAttr.bitDepth = HDMI_ADIO_BIT_DEPTH_16;
|
/ohos5.0/drivers/hdf_core/framework/support/platform/include/hdmi/ |
H A D | hdmi_common.h | 303 enum HdmiAudioBitDepth bitDepth; member
|
H A D | hdmi_edid.h | 345 enum HdmiAudioBitDepth bitDepth[HDMI_EDID_EXTENSION_AUDIO_MAX_BIT_DEPTH_NUM]; member
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | hdmi_test.c | 64 attr.bitDepth = HDMI_ADIO_BIT_DEPTH_20; in TestHdmiSetAudioAttr()
|
/ohos5.0/drivers/hdf_core/framework/include/platform/ |
H A D | hdmi_if.h | 491 enum HdmiAudioBitDepth bitDepth; member
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_core.c | 663 audioAttr->bitDepth = (enum HdmiAudioBitDepth)cntlr->cap.audioBitDepth; in HdmiAudioAttrInit() 1035 audioCfg.bitDepth = audioAttr->bitDepth; in HdmiAudioAttrHandle()
|