diff options
author | ming_qian <ming.qian@nxp.com> | 2019-06-19 10:39:56 +0800 |
---|---|---|
committer | ming_qian <ming.qian@nxp.com> | 2019-06-20 09:07:11 +0800 |
commit | ec7984b92d9ddf541e4e3abba62d6569a46c14a5 (patch) | |
tree | 76f4248f1cdad5055d11bdf9f8cd8d42392012be /drivers/mxc/vpu_malone/vpu_b0.h | |
parent | 641dde76ea39268e3f870e407aa7f79386e656b6 (diff) |
MLK-22037: VPU Decoder: the resolution of g_fmt may be incorrect
sometime firmware may report wrong sequence info, invalid resolution.
getting and setting seqinfo may in the same time, it's a risk
Signed-off-by: ming_qian <ming.qian@nxp.com>
Reviewed-by: Shijie Qin <shijie.qin@nxp.com>
Diffstat (limited to 'drivers/mxc/vpu_malone/vpu_b0.h')
-rw-r--r-- | drivers/mxc/vpu_malone/vpu_b0.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mxc/vpu_malone/vpu_b0.h b/drivers/mxc/vpu_malone/vpu_b0.h index e3eda75ae5a4..089d821c9e5a 100644 --- a/drivers/mxc/vpu_malone/vpu_b0.h +++ b/drivers/mxc/vpu_malone/vpu_b0.h @@ -65,6 +65,8 @@ extern unsigned int vpu_dbg_level_decoder; #define DEFAULT_FRMDBG_ENABLE 0 #define DEFAULT_FRMDBG_LEVEL 0 #define VPU_DEC_CMD_DATA_MAX_NUM 16 +#define VPU_DEC_MAX_WIDTH 4096 +#define VPU_DEC_MAX_HEIGTH 4096 #define V4L2_EVENT_DECODE_ERROR (V4L2_EVENT_PRIVATE_START + 1) #define V4L2_EVENT_SKIP (V4L2_EVENT_PRIVATE_START + 2) |