diff options
author | Sungwon Jo <doriya@nexell.co.kr> | 2017-07-17 11:29:56 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2020-07-08 19:34:45 +0900 |
commit | 15c7b44bd2c57cb5d167e3c0e81a81eb3ea198bd (patch) | |
tree | 927ab67cc118600b0f2bc63ab95f0a80fd69c724 | |
parent | fdaff2db75a41cb8f5f518ea1a81980c67849543 (diff) | |
download | linux-artik7-15c7b44bd2c57cb5d167e3c0e81a81eb3ea198bd.tar.gz linux-artik7-15c7b44bd2c57cb5d167e3c0e81a81eb3ea198bd.tar.bz2 linux-artik7-15c7b44bd2c57cb5d167e3c0e81a81eb3ea198bd.zip |
media: nxp-vpu: change output image size from crop size to real size.
This patch changes output image size from crop size to real size.
This information can be known in sequence data parsing.
Change-Id: If2924d732dc6184ef2960fc9076e8b7575154ede
Signed-off-by: Sungwon Jo <doriya@nexell.co.kr>
-rw-r--r-- | drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c b/drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c index d8738c99555f..1487bbfdd43d 100644 --- a/drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c +++ b/drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c @@ -900,8 +900,8 @@ int vpu_dec_parse_vid_cfg(struct nx_vpu_ctx *ctx) NX_ErrMsg(("Min FrameBufCnt Error(%d)!!!\n", seqArg.minFrameBufCnt)); - ctx->width = seqArg.cropRight; - ctx->height = seqArg.cropBottom; + ctx->width = seqArg.outWidth; + ctx->height = seqArg.outHeight; dec_ctx->frame_buffer_cnt = seqArg.minFrameBufCnt; dec_ctx->interlace_flg[0] = (seqArg.interlace == 0) ? |