Home
last modified time | relevance | path

Searched refs:dstW (Results 1 - 12 of 12) sorted by relevance

/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_yuv_ext.h37 NATIVEEXPORT void scale(int32_t dstW, int32_t dstH);
38 NATIVEEXPORT void scale(int32_t dstW, int32_t dstH, const AntiAliasingOption &option);
40 NATIVEEXPORT bool resize(int32_t dstW, int32_t dstH);
H A Dpixel_yuv.h55 NATIVEEXPORT void scale(int32_t dstW, int32_t dstH);
56 NATIVEEXPORT void scale(int32_t dstW, int32_t dstH, const AntiAliasingOption &option);
58 NATIVEEXPORT bool resize(int32_t dstW, int32_t dstH);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv_ext.cpp91 bool PixelYuvExt::resize(int32_t dstW, int32_t dstH) in resize() argument
93 scale(dstW, dstH); in resize()
106 void PixelYuvExt::scale(int32_t dstW, int32_t dstH) in scale() argument
120 scale(dstW, dstH, operation); in scale()
148 int32_t dstW = (imageInfo.size.width * xAxis + ROUND_FLOAT_NUMBER); in scale() local
151 auto m = CreateMemory(imageInfo.pixelFormat, "Trans ImageData", dstW, dstH, dstStrides); in scale()
166 imageInfo.size.width = dstW; in scale()
173 void PixelYuvExt::scale(int32_t dstW, int32_t dstH, const AntiAliasingOption &option) in scale() argument
176 IMAGE_LOGI("%{public}s (%{public}d, %{public}d)", __func__, dstW, dstH); in scale()
181 auto m = CreateMemory(imageInfo.pixelFormat, "Trans ImageData", dstW, dst in scale()
[all...]
H A Dpixel_yuv.cpp365 void PixelYuv::scale(int32_t dstW, int32_t dstH) in scale() argument
368 return scale(dstW, dstH, AntiAliasingOption::NONE); in scale()
371 bool PixelYuv::resize(int32_t dstW, int32_t dstH) in resize() argument
374 scale(dstW, dstH, AntiAliasingOption::NONE); in resize()
396 int32_t dstW = imageInfo.size.width * xAxis; in scale() local
399 auto dstMemory = CreateMemory(imageInfo.pixelFormat, "scale ImageData", dstW, dstH, dstStrides); in scale()
410 dstW, dstH, imageInfo_.pixelFormat, yuvDataInfo}; in scale()
417 imageInfo.size.width = dstW; in scale()
425 void PixelYuv::scale(int32_t dstW, int32_t dstH, const AntiAliasingOption &option) in scale() argument
433 if (imageInfo.size.width == dstW in scale()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp180 float dstW; member
194 tempRectF.SetAll((imageParameter.dstW - imageParameter.srcW) / CENTER_ALIGNED_FACTOR, 0.f, in ApplyImageFitSwitch()
198 tempRectF.SetAll(imageParameter.dstW - imageParameter.srcW, 0.f, imageParameter.srcW, imageParameter.srcH); in ApplyImageFitSwitch()
205 tempRectF.SetAll((imageParameter.dstW - imageParameter.srcW) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
210 tempRectF.SetAll(imageParameter.dstW - imageParameter.srcW, in ApplyImageFitSwitch()
218 tempRectF.SetAll((imageParameter.dstW - imageParameter.srcW) / CENTER_ALIGNED_FACTOR, in ApplyImageFitSwitch()
222 tempRectF.SetAll(imageParameter.dstW - imageParameter.srcW, imageParameter.dstH - imageParameter.srcH, in ApplyImageFitSwitch()
228 imageParameter.dstW = imageParameter.srcW; in ApplyImageFitSwitch()
232 imageParameter.dstW = std::max(imageParameter.frameW, imageParameter.frameH * imageParameter.ratio); in ApplyImageFitSwitch()
239 imageParameter.dstW in ApplyImageFitSwitch()
280 float dstW = frameW; ApplyImageFit() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dpixel_yuv_ext_utils.cpp139 std::unique_ptr<uint8_t[]> tmpPixels = std::make_unique<uint8_t[]>(GetImageSize(size.dstW, size.dstH)); in NV12Rotate()
143 uint8_t *tmpU = tmpPixels.get()+ GetYSize(size.dstW, size.dstH); in NV12Rotate()
144 uint8_t *tmpV = tmpPixels.get()+ GetVOffset(size.dstW, size.dstH); in NV12Rotate()
150 int tmpYStride = size.dstW; in NV12Rotate()
151 int tmpUStride = GetUStride(size.dstW); in NV12Rotate()
152 int tmpVStride = GetUStride(size.dstW); in NV12Rotate()
163 int dstWidth = size.dstW; in NV12Rotate()
196 uint16_t* rotateU = rotatePixels.get() + GetYSize(size.dstW, size.dstH); in NV12P010Rotate()
197 uint16_t* rotateV = rotatePixels.get() + GetVOffset(size.dstW, size.dstH); in NV12P010Rotate()
200 dstV, GetUStride(info.yStride), rotateY, size.dstW, rotate in NV12P010Rotate()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dpixel_yuv_utils.h51 int32_t dstW = 0; member
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dcommand_parser.h90 int32_t dstW; member
H A Dcommand_parser.cpp421 coordinate >> waterMark.dstX >> c >> waterMark.dstY >> c >> waterMark.dstW >> c >> waterMark.dstH; in ParseWaterMark()
470 TLOGI("dstX %d, dstY %d, dstW %d, dstH %d", in Print()
471 waterMark.dstX, waterMark.dstY, waterMark.dstW, waterMark.dstH); in Print()
H A Dtester_common.cpp375 avBuffer->meta_->SetData(OHOS::Media::Tag::VIDEO_COORDINATE_W, opt_.waterMark.dstW); in CreateWaterMarkBuffer()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpixel_yuv_ext_utils_test.cpp91 size.dstW = 1; in HWTEST_F()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhencoder.cpp283 .dstY = static_cast<uint32_t>(y), .dstW = static_cast<uint32_t>(w), .dstH = static_cast<uint32_t>(h), in OnConfigureBuffer()

Completed in 11 milliseconds