Home
last modified time | relevance | path

Searched refs:bitDepth (Results 1 - 21 of 21) sorted by relevance

/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test_utils.cpp50 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 Drs_graphic_test_utils.h31 uint32_t bitDepth; member
/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, 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 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.cpp783 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 Dsnapshot_surface.cpp101 param.bitDepth, in WriteToPng()
135 param.bitDepth = BITMAP_DEPTH; in WritePixelMapToPng()
H A Drender_service_client_ui_capture_demo.cpp52 uint32_t bitDepth; variable
92 param.bitDepth,
186 param.bitDepth = BITMAP_DEPTH;
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_enhance_chain.cpp290 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 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()
/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 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 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 null"); in GetSupportedFormats()
567 return bitDepth; in GetSupportedFormats()
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/
H A Daudio_enhance_chain.h46 uint32_t bitDepth; member
/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/
H A Dcodeclist_parcel.cpp58 (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 Dpng_decoder.h43 uint8_t bitDepth = 0; member
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhcodec_list_unit_test.cpp116 "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 Dheif_hw_decoder.cpp592 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 Drs_base_render_util.cpp1451 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 Drs_base_render_util.h102 uint32_t bitDepth; member
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h164 std::vector<int32_t> bitDepth; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/png_test/
H A Dpng_decoder_test.cpp886 info.bitDepth = 16; in HWTEST_F()
1585 pngDecoder->pngImageInfo_.bitDepth = 16; in HWTEST_F()

Completed in 18 milliseconds