Home
last modified time | relevance | path

Searched refs:dstWidth (Results 1 – 12 of 12) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
Dvgs_img.c215 static int VgsResizeOnce(const VIDEO_FRAME_INFO_S* src, VIDEO_FRAME_INFO_S* dst, uint32_t dstWidth,… in VgsResizeOnce() argument
218 HI_ASSERT(dstWidth > 0 && dstHeight > 0); in VgsResizeOnce()
223 ret = MppFrmCreate(dst, dstWidth, dstHeight, src->stVFrame.enPixelFormat, DATA_BITWIDTH_8, in VgsResizeOnce()
288 uint32_t dstWidth, uint32_t dstHeight) in MppFrmResize() argument
297 HI_ASSERT(dstWidth > 0 && dstHeight > 0); in MppFrmResize()
298 HI_ASSERT(!(dstWidth % HI_OVEN_BASE) && !(dstHeight % HI_OVEN_BASE)); in MppFrmResize()
305 double widthRate = ((double)dstWidth) / (double)srcWidth; // >1 means zoom in, <1 means zoom out in MppFrmResize()
334 srcWidth, srcHeight, midWidth, midHeight, dstWidth, dstHeight, widthRate, heightRate); in MppFrmResize()
351 ret = MppFrmResize(&midFrm, dst, dstWidth, dstHeight); in MppFrmResize()
354 SAMPLE_PRT("sub call MppFrmResize(dw=%u, dh=%u) FAIL\n", dstWidth, dstHeight); in MppFrmResize()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ext_util/
Dmisc_util.c58 void RectBoxTran(RectBox* box, int srcWidth, int srcHeight, int dstWidth, int dstHeight) in RectBoxTran() argument
64 box->xmin = box->xmin * dstWidth / srcWidth * HI_OVEN_BASE / HI_OVEN_BASE; in RectBoxTran()
65 box->xmax = box->xmax * dstWidth / srcWidth * HI_OVEN_BASE / HI_OVEN_BASE; in RectBoxTran()
Dmisc_util.h49 void RectBoxTran(RectBox* box, int srcWidth, int srcHeight, int dstWidth, int dstHeight);
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/
Dsmp_resize_crop.c489 static int IveResizeOnce(const IVE_IMAGE_S *src, IVE_IMAGE_S *dst, uint32_t dstWidth, uint32_t dstH… in IveResizeOnce() argument
515 ret = IveImgCreate(dst, src->enType, dstWidth, dstHeight); in IveResizeOnce()
594 uint32_t dstWidth, uint32_t dstHeight) in IveImgResize() argument
603 HI_ASSERT(dstWidth > 0 && dstHeight > 0); in IveImgResize()
604 HI_ASSERT(!(dstWidth % HI_OVEN_BASE) && !(dstHeight % HI_OVEN_BASE)); in IveImgResize()
611 double widthRate = ((double)dstWidth) / (double)srcWidth; // >1 means zoom in, <1 means zoom out in IveImgResize()
652 ret = IveImgResize(&midImg, dst, dstWidth, dstHeight); in IveImgResize()
654 LOGI("sub call IveImgResize(dw=%u, dh=%u) FAIL\n", dstWidth, dstHeight); in IveImgResize()
657 ret = IveResizeOnce(src, dst, dstWidth, dstHeight); in IveImgResize()
658 LOGI("finish IveResizeOnce(dw=%u, dh=%u)\n", dstWidth, dstHeight); in IveImgResize()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/include/
Dvgs_img.h64 uint32_t dstWidth, uint32_t dstHeight);
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Dhdi_drm_composition.cpp212 int32_t dstWidth = mode.GetModeInfoPtr()->hdisplay; in UpdateVideoRect() local
219 rect.x = rect.x * dstWidth / srcWidth; in UpdateVideoRect()
221 rect.w = rect.w * dstWidth / srcWidth; in UpdateVideoRect()
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_RGA_Process.c436 … uint32_t Width, uint32_t Height, uint32_t dstWidth, uint32_t dstHeight, void* rga_ctx) in rga_rgb2nv12() argument
438 (void)dstWidth; in rga_rgb2nv12()
452 rga_set_info(&dst, dstWidth, dstHeight, dstWidth, dstHeight, vpumem->phy_addr, in rga_rgb2nv12()
465 rga_set_rect(&dst.rect, 0, 0, Width, Height, dstWidth, dstHeight, HAL_PIXEL_FORMAT_YCrCb_NV12); in rga_rgb2nv12()
DRockchip_OSAL_RGA_Process.h40 uint32_t dstWidth, uint32_t dstHeight, void *rga_ctx);
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
DppOp.h64 RK_U32 dstWidth; // 16 align max 2048 member
DppOp.cpp156 opt.dstWidth = DST_WIDTH; in main()
/device/board/unionman/unionpi_tiger/hardware/camera/driver_adapter/src/
Dv4l2_buffer.cpp432 uint32_t dstWidth = toBuffer->GetWidth(); in BlitForMMAP() local
482 dstInfo.width = dstWidth; in BlitForMMAP()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/
D3.2.通过VPSS实现图像resize方法.md211 分析上图可以发现,其中const IVE_IMAGE_S *src为待缩放的原始image,IVE_IMAGE_S *dst为保存缩放后的image,uint32_t dstWidth为需要缩放的w…