Home
last modified time | relevance | path

Searched refs:yWidth (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpixel_yuv_ext_utils_test.cpp116 info.yWidth = 0;
195 info.yWidth = 0;
218 info.yWidth = NUM_2;
222 info.yStride = info.yWidth;
223 info.uvStride = (info.yWidth + 1) / NUM_2 * NUM_2;
225 info.uvOffset = info.yWidth * info.yHeight;
246 info.yWidth = NUM_2;
250 info.yStride = info.yWidth;
253 info.uvOffset = info.yWidth * info.yHeight;
255 dstStrides.yStride = info.yWidth;
[all …]
H A Dimage_format_convert_fail_test.cpp102 yDInfo.yWidth = 1;
H A Dimage_format_convert_test.cpp170 srcPixelMap->yuvDataInfo_.yWidth = 0; in RgbConvertToYuv()
175 srcPixelMap->yuvDataInfo_.yWidth = 1; in RgbConvertToYuv()
181 srcPixelMap->yuvDataInfo_.yWidth = 2; // 2:Special case, anomalous branching in RgbConvertToYuv()
366 srcPixelMap->yuvDataInfo_.yWidth = 0; in RgbConvertToYuvByPixelMap()
371 srcPixelMap->yuvDataInfo_.yWidth = 1; in RgbConvertToYuvByPixelMap()
377 srcPixelMap->yuvDataInfo_.yWidth = 2; // 2:Special case, anomalous branching in RgbConvertToYuvByPixelMap()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dimage_format_convert_utils.cpp241 DestConvertParam midParam = {yDInfo.yWidth, yDInfo.yHeight}; in P010ToRGBA10101012SoftDecode()
252 rgbInfo.width = yDInfo.yWidth; in P010ToRGBA10101012SoftDecode()
297 SrcConvertParam srcParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvP010ToRGB10()
300 DestConvertParam destParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvP010ToRGB10()
571 rgbInfo.width = yDInfo.yWidth; in YUVToRGBA1010102SoftDecode()
594 SrcConvertParam srcParam = {yDInfo.yWidth, yDInfo.yHeight}; in YUVToRGB10()
647 SrcConvertParam srcParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvToYuvP010()
705 SrcConvertParam srcParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvP010ToYuv()
786 SrcConvertParam srcParam = {yDInfo.yWidth, yDInfo.yHeight};
813 SrcConvertParam srcParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvP010ToRGB()
[all …]
H A Dimage_format_convert_ext_utils.cpp286 I420Info i420Info = {yuvInfo.yWidth, yuvInfo.yHeight};
669 i420Info.yStride = yuvInfo.yWidth; in YuvToI420ToP010Param()
670 i420Info.uStride = (yuvInfo.yWidth + NUM_1) / NUM_2; in YuvToI420ToP010Param()
671 i420Info.vStride = (yuvInfo.yWidth + NUM_1) / NUM_2; in YuvToI420ToP010Param()
794 i420Info.yStride = yuvInfo.yWidth; in YuvP010ToI420ToYuvParam()
795 i420Info.uStride = (yuvInfo.yWidth + NUM_1) / NUM_2; in YuvP010ToI420ToYuvParam()
796 i420Info.vStride = (yuvInfo.yWidth + NUM_1) / NUM_2; in YuvP010ToI420ToYuvParam()
898 i420Info.yStride = yuvInfo.yWidth; in YuvP010ToI420ToRGBParam()
899 i420Info.uStride = (yuvInfo.yWidth + NUM_1) / NUM_2; in YuvP010ToI420ToRGBParam()
900 i420Info.vStride = (yuvInfo.yWidth + NUM_1) / NUM_2; in YuvP010ToI420ToRGBParam()
[all …]
H A Dimage_format_convert.cpp660 … (yDInfo.yWidth == 0 || yDInfo.yHeight == 0 || yDInfo.uvWidth == 0 || yDInfo.uvHeight == 0)) { in YUVConvertImageFormatOption()
661 yDInfo.yWidth = static_cast<uint32_t>(imageInfo.size.width); in YUVConvertImageFormatOption()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv.cpp564 yuvDataInfo.yWidth = static_cast<uint32_t>(imageInfo_.size.width); in GetYUVInfoForCopyPixels()
568 yuvDataInfo.yWidth = static_cast<uint32_t>(imageInfo_.size.width) * NUM_2; in GetYUVInfoForCopyPixels()
569 yuvDataInfo.uvWidth = yuvDataInfo.yWidth; in GetYUVInfoForCopyPixels()
603 auto srcUV = source + yuvDataInfo.yWidth * yuvDataInfo.yHeight; in WritePixels()
608 if (memcpy_s(dstY, yuvDataInfo.yWidth, srcY, yuvDataInfo.yWidth) != EOK) { in WritePixels()
613 srcY += yuvDataInfo.yWidth; in WritePixels()
693 if (memcpy_s(dst, yuvDataInfo.yWidth, srcYPixels, yuvDataInfo.yWidth) != EOK) { in ReadPixels()
697 dst += yuvDataInfo.yWidth; in ReadPixels()
H A Dpixel_map.cpp335 yuvInfo.yWidth = static_cast<uint32_t>(width); in UpdateYUVDataInfo()
614 yuvInfo.yWidth = info.size.width; in InitYuvDataOutInfo()
2320 if (!parcel.WriteInt32(static_cast<int32_t>(yuvDataInfo_.yWidth))) { in WriteYuvDataInfoToParcel()
2477 yDataInfo.yWidth = parcel.ReadUint32(); in ReadYuvDataInfoFromParcel()
2478 IMAGE_LOGD("ReadYuvDataInfoFromParcel yDataInfo.yWidth:%{public}d", yDataInfo.yWidth); in ReadYuvDataInfoFromParcel()
2965 yuvDataInfo_.yWidth = static_cast<uint32_t>(width); in AssignYuvDataOnType()
2983 yuvDataInfo_.yWidth = static_cast<uint32_t>(width); in UpdateYUVDataInfo()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/jpeg_yuv_decoder/
H A Djpeg_decoder_yuv.cpp241 info.yWidth = Get420OutPlaneWidth(YCOM, width); in InitYuvDataOutInfoTo420()
245 info.yStride = info.yWidth; in InitYuvDataOutInfoTo420()
265 info.yWidth = Get420OutPlaneWidth(YCOM, width); in InitYuvDataOutInfoTo420NV()
269 info.yStride = info.yWidth; in InitYuvDataOutInfoTo420NV()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dpicture_handle_service.cpp200 MEDIA_DEBUG_LOG("PictureHandlerService::WriteYuvDataInfo yWidth: %{public}d", yuvInfo.yWidth); in WriteYuvDataInfo()
201 data.WriteInt32(static_cast<int32_t>(yuvInfo.yWidth)); in WriteYuvDataInfo()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dpicture_handle_client.cpp256 info.yWidth = data.ReadUint32(); in ReadYuvDataInfo()
257 MEDIA_DEBUG_LOG("PictureHandlerClient::ReadYuvDataInfo yWidth: %{public}d", info.yWidth); in ReadYuvDataInfo()
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_type.h221 uint32_t yWidth = 0; member
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_yuv_decoder/
H A Djpeg_yuv_decoder_test.cpp108 ASSERT_NE(context.yuvInfo.yWidth, 0); in DecodeToYUV()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dpixel_yuv_utils.cpp874 for (uint32_t x = 0; x < yuvInfo.yWidth; x++) { in P010WritePixels()
1027 for (int32_t x = 0; x < GetUVStride(yuvInfo.yWidth); x += NUM_2) { in P010Translate()
H A Dimage_utils.cpp611 yuvInfoStr += "_yWidth" + std::to_string(yuvInfo.yWidth) + in GetPixelMapName()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/
H A Dauxiliary_generator.cpp175 yuvInfo.yWidth = static_cast<uint32_t>(width); in SetNonDmaYuvInfo()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.cpp292 YUVDataInfo yuvDataInfo = { .yWidth = srcWidth, in SetPixelMapYuvInfo()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp358 context.yuvInfo.yWidth = info_.width(); in HeapMemAlloc()
687 context.yuvInfo.yWidth = static_cast<uint32_t>(destInfo.width); in HeapMemAlloc()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp914 yuvInfo.yWidth = plInfo.yuvDataInfo.yWidth; in CopyYuvInfo()