/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/ |
D | vgs_img.c | 215 …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/ |
D | misc_util.c | 58 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()
|
D | misc_util.h | 49 void RectBoxTran(RectBox* box, int srcWidth, int srcHeight, int dstWidth, int dstHeight);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/ |
D | smp_resize_crop.c | 489 … 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/ |
D | vgs_img.h | 64 uint32_t dstWidth, uint32_t dstHeight);
|
/device/soc/amlogic/a311d/hardware/display/src/display_device/ |
D | hdi_drm_composition.cpp | 213 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/ |
D | Rockchip_OSAL_RGA_Process.c | 436 … 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()
|
D | Rockchip_OSAL_RGA_Process.h | 40 uint32_t dstWidth, uint32_t dstHeight, void *rga_ctx);
|
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/ |
D | ppOp.h | 65 RK_U32 dstHeight; // 16 align max 2048 member
|
D | ppOp.cpp | 157 opt.dstHeight = DST_HEIGHT; in main()
|
/device/board/unionman/unionpi_tiger/hardware/camera/driver_adapter/src/ |
D | v4l2_buffer.cpp | 433 uint32_t dstHeight = toBuffer->GetHeight(); in BlitForMMAP() local 483 dstInfo.height = dstHeight; in BlitForMMAP()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/ |
D | 3.2.通过VPSS实现图像resize方法.md | 211 …mage,IVE_IMAGE_S *dst为保存缩放后的image,uint32_t dstWidth为需要缩放的width,uint32_t dstHeight为需要缩放的height。分析Iv…
|