Home
last modified time | relevance | path

Searched refs:yHeight (Results 1 - 22 of 22) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpixel_yuv_ext_utils_test.cpp117 info.yHeight = 0; in HWTEST_F()
196 info.yHeight = 0; in HWTEST_F()
219 info.yHeight = NUM_2; in HWTEST_F()
225 info.uvOffset = info.yWidth * info.yHeight; in HWTEST_F()
247 info.yHeight = NUM_2; in HWTEST_F()
253 info.uvOffset = info.yWidth * info.yHeight; in HWTEST_F()
258 dstStrides.uvOffset = info.yWidth * info.yHeight; in HWTEST_F()
H A Dimage_format_convert_fail_test.cpp103 yDInfo.yHeight = 1; in HWTEST_F()
H A Dimage_format_convert_test.cpp176 srcPixelMap->yuvDataInfo_.yHeight = 0; in RgbConvertToYuv()
180 srcPixelMap->yuvDataInfo_.yHeight= PIXEL_MAP_MAX_RAM_SIZE; in RgbConvertToYuv()
372 srcPixelMap->yuvDataInfo_.yHeight = 0; in RgbConvertToYuvByPixelMap()
376 srcPixelMap->yuvDataInfo_.yHeight= PIXEL_MAP_MAX_RAM_SIZE; in RgbConvertToYuvByPixelMap()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dimage_format_convert_utils.cpp229 size_t midBufferSize = static_cast<size_t>(yDInfo.yWidth * yDInfo.yHeight * STRIDES_PER_PLANE); in P010ToRGBA10101012SoftDecode()
240 DestConvertParam midParam = {yDInfo.yWidth, yDInfo.yHeight}; in P010ToRGBA10101012SoftDecode()
252 rgbInfo.height = yDInfo.yHeight; in P010ToRGBA10101012SoftDecode()
292 if (srcBuffer == nullptr || destInfo.buffer == nullptr || yDInfo.yWidth == 0 || yDInfo.yHeight == 0 || in YuvP010ToRGB10()
296 SrcConvertParam srcParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvP010ToRGB10()
299 DestConvertParam destParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvP010ToRGB10()
319 SrcConvertParam midParam = {yDInfo.yWidth, yDInfo.yHeight}; in YuvP010ToRGB10()
548 size_t midBufferSize = static_cast<size_t>(yDInfo.yWidth * yDInfo.yHeight * BYTES_PER_PIXEL_RGB); in YUVToRGBA1010102SoftDecode()
559 DestConvertParam midParam = {yDInfo.yWidth, yDInfo.yHeight}; in YUVToRGBA1010102SoftDecode()
571 rgbInfo.height = yDInfo.yHeight; in YUVToRGBA1010102SoftDecode()
[all...]
H A Dimage_format_convert_ext_utils.cpp271 return I420Param(yuvInfo.yWidth, yuvInfo.yHeight, i420Info); in YuvToI420ToRGBParam()
277 if (srcBuffer == nullptr || destInfo.buffer == nullptr || yuvInfo.yWidth == 0 || yuvInfo.yHeight == 0 || in YuvTo420ToRGB()
281 SrcConvertParam srcParam = {yuvInfo.yWidth, yuvInfo.yHeight}; in YuvTo420ToRGB()
288 I420Info i420Info = {yuvInfo.yWidth, yuvInfo.yHeight}; in YuvTo420ToRGB()
337 if (srcBuffer == nullptr || destInfo.buffer == nullptr || yuvInfo.yWidth == 0 || yuvInfo.yHeight == 0 || in YuvToRGB()
341 SrcConvertParam srcParam = {yuvInfo.yWidth, yuvInfo.yHeight}; in YuvToRGB()
592 SrcConvertParam srcParam = {yuvInfo.yWidth, yuvInfo.yHeight}; in YuvToI420ToI010ToRGB10()
596 DestConvertParam destParam = {yuvInfo.yWidth, yuvInfo.yHeight}; in YuvToI420ToI010ToRGB10()
599 I420Info i420Info = {yuvInfo.yWidth, yuvInfo.yHeight}; in YuvToI420ToI010ToRGB10()
603 I010Info i010Info = {yuvInfo.yWidth, yuvInfo.yHeight}; in YuvToI420ToI010ToRGB10()
[all...]
H A Dimage_format_convert.cpp628 (yDInfo.yWidth == 0 || yDInfo.yHeight == 0 || yDInfo.uvWidth == 0 || yDInfo.uvHeight == 0)) { in YUVConvertImageFormatOption()
630 yDInfo.yHeight = static_cast<uint32_t>(imageInfo.size.height); in YUVConvertImageFormatOption()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dpixel_yuv_ext_utils.cpp322 uint16_t *src, YUVStrideInfo &srcStrides, uint16_t *dst, YUVStrideInfo &dstStrides, uint32_t yHeight) in CopyP010Pixels()
329 for (uint32_t y = 0; y < yHeight; y++) { in CopyP010Pixels()
339 for (uint32_t y = 0; y < static_cast<uint32_t>(GetUVHeight(yHeight)); y++) { in CopyP010Pixels()
354 uint32_t height = yuvInfo.yuvDataInfo.yHeight + yuvInfo.yuvDataInfo.uvHeight; in ScaleP010()
363 YUVStrideInfo dstStride = {yuvInfo.width, yuvInfo.width, 0, GetYSize(yuvInfo.width, yuvInfo.yuvDataInfo.yHeight)}; in ScaleP010()
364 if (!CopyP010Pixels(srcBuffer, srcStrides, srcPixels.get(), dstStride, yuvInfo.yuvDataInfo.yHeight)) { in ScaleP010()
368 uint16_t* srcUV = srcPixels.get() + GetYSize(yuvInfo.width, yuvInfo.yuvDataInfo.yHeight); in ScaleP010()
321 CopyP010Pixels( uint16_t *src, YUVStrideInfo &srcStrides, uint16_t *dst, YUVStrideInfo &dstStrides, uint32_t yHeight) CopyP010Pixels() argument
H A Dpixel_yuv_utils.cpp873 for (uint32_t y = 0; y < yuvInfo.yHeight; y++) { in P010WritePixels()
1026 for (int32_t y = 0; y < GetUVHeight(yuvInfo.yHeight); y++) { in P010Translate()
1031 newY < GetUVHeight(yuvInfo.yHeight + xyAxis.yAxis)) { in P010Translate()
H A Dimage_utils.cpp602 "_yHeight" + std::to_string(yuvInfo.yHeight) + in GetPixelMapName()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/jpeg_yuv_decoder/
H A Djpeg_decoder_yuv.cpp242 info.yHeight = Get420OutPlaneHeight(YCOM, height); in InitYuvDataOutInfoTo420()
250 info.uOffset = info.yHeight * info.yStride; in InitYuvDataOutInfoTo420()
253 info.vOffset = info.yHeight * info.yStride; in InitYuvDataOutInfoTo420()
266 info.yHeight = Get420OutPlaneHeight(YCOM, height); in InitYuvDataOutInfoTo420NV()
272 info.uvOffset = info.yHeight * info.yStride; in InitYuvDataOutInfoTo420NV()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_chart.cpp870 int16_t& yHeight) in CalcVerticalInfo()
874 yHeight = top; in CalcVerticalInfo()
877 yHeight = top; in CalcVerticalInfo()
880 yHeight = end; in CalcVerticalInfo()
905 int16_t yHeight = 0; in GradientColor() local
906 CalcVerticalInfo(top, bottom, startY, endY, y, yHeight); in GradientColor()
916 while (y >= yHeight) { in GradientColor()
865 CalcVerticalInfo(int16_t top, int16_t bottom, int16_t start, int16_t end, int16_t& y, int16_t& yHeight) CalcVerticalInfo() argument
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv.cpp545 yuvDataInfo.yHeight = static_cast<uint32_t>(imageInfo_.size.height); in GetYUVInfoForCopyPixels()
583 auto srcUV = source + yuvDataInfo.yWidth * yuvDataInfo.yHeight; in WritePixels()
587 for (int32_t y = 0; y < static_cast<int32_t>(yuvDataInfo.yHeight); y++) { in WritePixels()
667 for (int32_t y = 0; y<static_cast<int32_t>(yuvDataInfo.yHeight); y++) { in ReadPixels()
872 int32_t height = static_cast<int32_t>(yuvDataInfo_.yHeight); in SetColorSpace()
977 int32_t height = static_cast<int32_t>(yuvDataInfo.yHeight); in ApplyColorSpace()
H A Dpixel_map.cpp340 yuvInfo.yHeight = static_cast<uint32_t>(height); in UpdateYUVDataInfo()
612 yuvInfo.yHeight = info.size.height; in InitYuvDataOutInfo()
2334 if (!parcel.WriteInt32(static_cast<int32_t>(yuvDataInfo_.yHeight))) { in WriteYuvDataInfoToParcel()
2483 yDataInfo.yHeight = parcel.ReadUint32(); in ReadYuvDataInfoFromParcel()
2484 IMAGE_LOGD("ReadYuvDataInfoFromParcel yDataInfo.yHeight:%{public}d", yDataInfo.yHeight); in ReadYuvDataInfoFromParcel()
2972 yuvDataInfo_.yHeight = static_cast<uint32_t>(height); in AssignYuvDataOnType()
2977 yuvDataInfo_.uvOffset = yuvDataInfo_.yHeight * yuvDataInfo_.yStride; in AssignYuvDataOnType()
2990 yuvDataInfo_.yHeight = static_cast<uint32_t>(height); in UpdateYUVDataInfo()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dpicture_handle_service.cpp201 MEDIA_DEBUG_LOG("PictureHandlerService::WriteYuvDataInfo yHeight: %{public}d", yuvInfo.yHeight); in WriteYuvDataInfo()
202 data.WriteInt32(static_cast<int32_t>(yuvInfo.yHeight)); in WriteYuvDataInfo()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dpicture_handle_client.cpp254 info.yHeight = data.ReadUint32(); in ReadYuvDataInfo()
255 MEDIA_DEBUG_LOG("PictureHandlerClient::ReadYuvDataInfo yHeight: %{public}d", info.yHeight); in ReadYuvDataInfo()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_shadow_render_slot.cpp199 const uint32_t yHeight = res.y; in PreExecuteFrame() local
201 const bool yChanged = (yHeight != shadowBuffers_.height); in PreExecuteFrame()
207 shadowBuffers_.height = yHeight; in PreExecuteFrame()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_chart.h923 void CalcVerticalInfo(int16_t top, int16_t bottom, int16_t start, int16_t end, int16_t& y, int16_t& yHeight);
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_type.h221 uint32_t yHeight = 0; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_yuv_decoder/
H A Djpeg_yuv_decoder_test.cpp109 ASSERT_NE(context.yuvInfo.yHeight, 0); in DecodeToYUV()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp914 yuvInfo.yHeight = plInfo.yuvDataInfo.yHeight;
4057 IMAGE_LOGD("[ImageSource] CopyYUVToSurfaceBuffer yHeight = %{public}d, uvHeight = %{public}d,"
4059 yuvDataInfo.yHeight, yuvDataInfo.uvHeight, yuvDataInfo.yStride, yuvDataInfo.uvStride,
4061 for (uint32_t i = 0; i < yuvDataInfo.yHeight; ++i) {
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp342 context.yuvInfo.yHeight = info_.height(); in HeapMemAlloc()
658 context.yuvInfo.yHeight = static_cast<uint32_t>(destInfo.height); in HeapMemAlloc()
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.cpp447 .yHeight = srcHeight, in SetPixelMapYuvInfo()

Completed in 42 milliseconds