Home
last modified time | relevance | path

Searched refs:bitDepth (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_enhance_chain.cpp37 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 Drs_graphic_test_utils.cpp48 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 Dpng_decoder.cpp464 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 Dhevc_decoder.h85 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 Dhevc_decoder.cpp798 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 Drender_service_client_ui_capture_demo.cpp49 uint32_t bitDepth;
89 param.bitDepth, in WriteToPng()
183 param.bitDepth = BITMAP_DEPTH; in WriteToPngWithPixelMap()
H A Dsnapshot_surface.cpp101 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 Drs_graphic_test_utils.h29 uint32_t bitDepth; member
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/
H A Daudio_enhance_chain_adapter.h36 uint32_t bitDepth; member
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dimage.cpp341 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 Davcodec_info.cpp565 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 Dapng_image_decoder.h141 uint8_t bitDepth = 0; ///< expected: 1, 2, 4, 8, 16 member
H A Dapng_image_decoder.cpp81 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 Dcodeclist_parcel.cpp58 (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 Drs_base_render_util.cpp1520 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 Drs_base_render_util.h102 uint32_t bitDepth; member
/ohos5.0/drivers/hdf_core/framework/support/platform/test/unittest/common/
H A Dhdf_hdmi_test.cpp88 audioAttr.bitDepth = HDMI_ADIO_BIT_DEPTH_16; in HdmiUserSetAttrCaseTest()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/include/
H A Dpng_decoder.h43 uint8_t bitDepth = 0; member
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhcodec_list_unit_test.cpp126 GetPrintInfo(one.pixFormat).c_str(), GetPrintInfo(one.bitDepth).c_str(),
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-hdmi-des.md239 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 Dhdmi_common.h303 enum HdmiAudioBitDepth bitDepth; member
H A Dhdmi_edid.h345 enum HdmiAudioBitDepth bitDepth[HDMI_EDID_EXTENSION_AUDIO_MAX_BIT_DEPTH_NUM]; member
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dhdmi_test.c64 attr.bitDepth = HDMI_ADIO_BIT_DEPTH_20; in TestHdmiSetAudioAttr()
/ohos5.0/drivers/hdf_core/framework/include/platform/
H A Dhdmi_if.h491 enum HdmiAudioBitDepth bitDepth; member
/ohos5.0/drivers/hdf_core/framework/support/platform/src/hdmi/
H A Dhdmi_core.c663 audioAttr->bitDepth = (enum HdmiAudioBitDepth)cntlr->cap.audioBitDepth; in HdmiAudioAttrInit()
1035 audioCfg.bitDepth = audioAttr->bitDepth; in HdmiAudioAttrHandle()

12