/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/ |
H A D | rs_graphic_test_utils.cpp | 50 param.bitDepth, in WriteToPng() 71 constexpr int bitDepth = 8; in WriteToPngWithPixelMap() local 78 param.bitDepth = bitDepth; in WriteToPngWithPixelMap()
|
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/include/ |
H A D | rs_graphic_test_utils.h | 31 uint32_t bitDepth; member
|
/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, nullptr, nullptr); in GetImageInfo() 638 if (bitDepth != BITDEPTH_VALUE_1 && bitDepth != BITDEPTH_VALUE_2 && bitDepth != BITDEPTH_VALUE_4 && in GetImageInfo() 639 bitDepth != BITDEPTH_VALUE_8 && bitDepth ! in GetImageInfo() [all...] |
/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 | 783 if (width_ != outputBuffer->width || height_ != outputBuffer->height || bitDepth_ != outputBuffer->bitDepth) { in UpdateOutputBuffer() 797 outputBuffer->bitDepth = bitDepth_; in UpdateOutputBuffer() 808 if (width_ != outputBuffer->width || height_ != outputBuffer->height || bitDepth_ != outputBuffer->bitDepth) { in UpdateSurfaceMemory() 825 outputBuffer->bitDepth = bitDepth_; in UpdateSurfaceMemory() 831 int32_t HevcDecoder::CheckFormatChange(uint32_t index, int width, int height, int bitDepth) in CheckFormatChange() argument 834 if (width_ != width || height_ != height || bitDepth_ != bitDepth) { in CheckFormatChange() 836 "bitDepth: %{public}d->%{public}d", width_, width, height_, height, bitDepth_, bitDepth); in CheckFormatChange() 839 bitDepth_ = bitDepth; in CheckFormatChange() 1009 int32_t bitDepth in DecodeFrameOnce() local 1103 ConvertDecOutToAVFrame(int32_t bitDepth) ConvertDecOutToAVFrame() argument 1133 DumpOutputBuffer(int32_t bitDepth) DumpOutputBuffer() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | snapshot_surface.cpp | 101 param.bitDepth, in WriteToPng() 135 param.bitDepth = BITMAP_DEPTH; in WritePixelMapToPng()
|
H A D | render_service_client_ui_capture_demo.cpp | 52 uint32_t bitDepth; variable 92 param.bitDepth, 186 param.bitDepth = BITMAP_DEPTH;
|
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/ |
H A D | audio_enhance_chain.cpp | 290 for (uint32_t i = 0; i < algoAttr_.byteLenPerFrame / algoAttr_.bitDepth; ++i) { in DeinterleaverData() 292 ret = memcpy_s(dst + j * algoAttr_.byteLenPerFrame + i * algoAttr_.bitDepth, in DeinterleaverData() 293 algoCache_.input.size() - (j * algoAttr_.byteLenPerFrame + i * algoAttr_.bitDepth + offset), in DeinterleaverData() 294 src + idx, algoAttr_.bitDepth); in DeinterleaverData() 296 idx += algoAttr_.bitDepth; in DeinterleaverData()
|
/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()
|
/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 full 8 bits in SetPNGSrc() 353 if (bitDepth == 16) { // 16: Chop 16-bit depth images to 8-bit depth in SetPNGSrc()
|
/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 null"); in GetSupportedFormats() 567 return bitDepth; in GetSupportedFormats()
|
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/ |
H A D | audio_enhance_chain.h | 46 uint32_t bitDepth; member
|
/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/ |
H A D | codeclist_parcel.cpp | 58 (void)parcel.WriteInt32Vector(capabilityData.bitDepth); in Marshalling() 134 parcel.ReadInt32Vector(&capabilityData.bitDepth); in Unmarshalling()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/include/ |
H A D | png_decoder.h | 43 uint8_t bitDepth = 0; member
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/ |
H A D | hcodec_list_unit_test.cpp | 116 "sampleRate=%s; pixFormat=%s; bitDepth=%s; profiles=%s; " \ in HWTEST_F() 126 GetPrintInfo(one.pixFormat).c_str(), GetPrintInfo(one.bitDepth).c_str(), in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/ |
H A D | heif_hw_decoder.cpp | 592 uint32_t bitDepth = is10Bit_ ? BIT_DEPTH_FOR_10 : BIT_DEPTH_FOR_8; in AssembleOutput() local 595 dst.yOffset = decodedRows * dst.stride * gridInfo_.tileHeight + decodedCols * gridInfo_.tileWidth * bitDepth; in AssembleOutput() 597 decodedCols * gridInfo_.tileWidth * bitDepth; in AssembleOutput() 599 if (!CopyRawYuvData(src, dst, gridInfo_.tileWidth * bitDepth, gridInfo_.tileHeight)) { in AssembleOutput()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_util.cpp | 1451 param.bitDepth = Detail::BITMAP_DEPTH; 1489 param.bitDepth = Detail::BITMAP_DEPTH; 1533 param.bitDepth = Detail::BITMAP_DEPTH; 1561 param.bitDepth = Detail::BITMAP_DEPTH; 1601 param.bitDepth = Detail::BITMAP_DEPTH; 1620 param.bitDepth = Detail::BITMAP_DEPTH; 1648 param.bitDepth = Detail::BITMAP_DEPTH; 1682 param.bitDepth,
|
H A D | rs_base_render_util.h | 102 uint32_t bitDepth; member
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_info.h | 164 std::vector<int32_t> bitDepth; member
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/png_test/ |
H A D | png_decoder_test.cpp | 886 info.bitDepth = 16;
in HWTEST_F() 1585 pngDecoder->pngImageInfo_.bitDepth = 16;
in HWTEST_F()
|