Home
last modified time | relevance | path

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

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
Dvgs_img.c215 …Once(const VIDEO_FRAME_INFO_S* src, VIDEO_FRAME_INFO_S* dst, uint32_t dstWidth, uint32_t dstHeight) 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()
306 …double heightRate = ((double)dstHeight) / (double)srcHeight; // >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
66 box->ymin = box->ymin * dstHeight / srcHeight * HI_OVEN_BASE / HI_OVEN_BASE; in RectBoxTran()
67 box->ymax = box->ymax * dstHeight / srcHeight * 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 … int IveResizeOnce(const IVE_IMAGE_S *src, IVE_IMAGE_S *dst, uint32_t dstWidth, uint32_t dstHeight) 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()
612 …double heightRate = ((double)dstHeight) / (double)srcHeight; // >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.cpp213 int32_t dstHeight = mode.GetModeInfoPtr()->vdisplay; in UpdateVideoRect() local
220 rect.y = rect.y * dstHeight / srcHeight; in UpdateVideoRect()
222 rect.h = rect.h * dstHeight / srcHeight; 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
439 (void)dstHeight; 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.h65 RK_U32 dstHeight; // 16 align max 2048 member
DppOp.cpp157 opt.dstHeight = DST_HEIGHT; in main()
/device/board/unionman/unionpi_tiger/hardware/camera/driver_adapter/src/
Dv4l2_buffer.cpp433 uint32_t dstHeight = toBuffer->GetHeight(); in BlitForMMAP() local
483 dstInfo.height = dstHeight; in BlitForMMAP()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/
D3.2.通过VPSS实现图像resize方法.md211 …mage,IVE_IMAGE_S *dst为保存缩放后的image,uint32_t dstWidth为需要缩放的width,uint32_t dstHeight为需要缩放的height。分析Iv…