Home
last modified time | relevance | path

Searched refs:JpegDecoderYuv (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/jpeg_yuv_decoder/
H A Djpeg_decoder_yuv.cpp33 void* JpegDecoderYuv::dlHandler_ = nullptr;
34 LibYuvConvertFuncs JpegDecoderYuv::libyuvFuncs_ = { nullptr };
38 JpegDecoderYuv::UnloadLibYuv(); in JpgYuvDeinitLibyuv()
51 JpegDecoderYuv::JpegDecoderYuv() in JpegDecoderYuv() function in OHOS::ImagePlugin::JpegDecoderYuv
55 JpegDecoderYuv::LoadLibYuv(); in JpegDecoderYuv()
60 bool JpegDecoderYuv::LoadLibYuv() in LoadLibYuv()
77 void JpegDecoderYuv::UnloadLibYuv() in UnloadLibYuv()
86 bool JpegDecoderYuv::IsSupportedSubSample(int jpegSubsamp) in IsSupportedSubSample()
315 bool JpegDecoderYuv::IsYU12YV12Format(JpegYuvFmt fmt) in IsYU12YV12Format()
582 int JpegDecoderYuv::ConvertFromGray(YuvPlaneInfo &srcPlaneInfo) in ConvertFromGray()
[all …]
H A Djpeg_yuvdata_converter.cpp218 if (JpegDecoderYuv::GetLibyuvConverter().I444ToI420) { in I444ToI420_wrapper()
224 …return JpegDecoderYuv::GetLibyuvConverter().I444ToI420(src.planes[YCOM], src.strides[YCOM], src.pl… in I444ToI420_wrapper()
234 if (JpegDecoderYuv::GetLibyuvConverter().I444ToNV21) { in I444ToNV21_wrapper()
240 …return JpegDecoderYuv::GetLibyuvConverter().I444ToNV21(src.planes[YCOM], src.strides[YCOM], src.pl… in I444ToNV21_wrapper()
250 if (JpegDecoderYuv::GetLibyuvConverter().I422ToI420) { in I422ToI420_wrapper()
256 …return JpegDecoderYuv::GetLibyuvConverter().I422ToI420(src.planes[YCOM], src.strides[YCOM], src.pl… in I422ToI420_wrapper()
266 if (JpegDecoderYuv::GetLibyuvConverter().I422ToNV21) { in I422ToNV21_wrapper()
272 …return JpegDecoderYuv::GetLibyuvConverter().I422ToNV21(src.planes[YCOM], src.strides[YCOM], src.pl… in I422ToNV21_wrapper()
287 if (JpegDecoderYuv::GetLibyuvConverter().I420ToNV21) { in I420ToNV21_wrapper()
293 …return JpegDecoderYuv::GetLibyuvConverter().I420ToNV21(src.planes[YCOM], src.strides[YCOM], src.pl… in I420ToNV21_wrapper()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_yuv_decoder/
H A Djpeg_yuv_decoder_test.cpp89 uint32_t yuvBufferSize = JpegDecoderYuv::GetYuvOutSize(width, height); in DecodeToYUV()
100 std::unique_ptr<JpegDecoderYuv> decoderPtr = std::make_unique<JpegDecoderYuv>(); in DecodeToYUV()
130 bool ret = JpegDecoderYuv::GetScaledSize(jpegwidth, jpegheight, width, height);
133 ret = JpegDecoderYuv::GetScaledSize(0, jpegheight, width, height);
135 ret = JpegDecoderYuv::GetScaledSize(jpegwidth, 0, width, height);
140 ret = JpegDecoderYuv::GetScaledSize(jpegwidth, jpegheight, width, height);
144 ret = JpegDecoderYuv::GetScaledSize(jpegwidth, jpegheight, width, height);
150 ret = JpegDecoderYuv::GetScaledSize(jpegwidth, jpegheight, width, height);
154 ret = JpegDecoderYuv::GetScaledSize(jpegwidth, jpegheight, width, height);
160 ret = JpegDecoderYuv::GetScaledSize(jpegwidth, jpegheight, width, height);
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/jpeg_yuv_decoder/
H A Djpeg_decoder_yuv.h100 class JpegDecoderYuv {
102 JpegDecoderYuv();
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp277 count = JpegDecoderYuv::GetYuvOutSize(dstInfo.width(), dstInfo.height()); in DmaMemAlloc()
347 uint64_t yuvBufferSize = JpegDecoderYuv::GetYuvOutSize(info_.width(), info_.height()); in HeapMemAlloc()
1035 …bool bRet = JpegDecoderYuv::GetScaledSize(jpgSize.width, jpgSize.height, desiredSize.width, desire… in HeapMemAlloc()
1040 uint64_t yuvBufferSize = JpegDecoderYuv::GetYuvOutSize(desiredSize.width, desiredSize.height); in HeapMemAlloc()
1047 std::unique_ptr<JpegDecoderYuv> jpegYuvDecoder_ = std::make_unique<JpegDecoderYuv>(); in HeapMemAlloc()