From f899f6ef566a0d83feecc8e3739ddfe06bf59e93 Mon Sep 17 00:00:00 2001 From: Herman Chen Date: Mon, 9 Apr 2018 14:17:20 +0800 Subject: [PATCH] [jpeg]: Accept 8K width and height for JPEG dec JPEG VDPU can support 8K image decoding. So we can change the limit on hal header file. Change-Id: Icd744300b391be0fb6387215252145c945caf488 Signed-off-by: Herman Chen --- mpp/common/jpegd_syntax.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpp/common/jpegd_syntax.h b/mpp/common/jpegd_syntax.h index 3fe756bb..7da381fb 100644 --- a/mpp/common/jpegd_syntax.h +++ b/mpp/common/jpegd_syntax.h @@ -34,8 +34,8 @@ #define MAX_HUFFMAN_CODE_BIT_LENGTH (16) /* The longest code word is 16 bits */ #define MIN_WIDTH (48) /* 48 Bytes */ #define MIN_HEIGHT (48) /* 48 Bytes */ -#define MAX_WIDTH (4*1024) /* 4K Bytes */ -#define MAX_HEIGHT (4*1024) /* 4K Bytes */ +#define MAX_WIDTH (8*1024) /* 4K Bytes */ +#define MAX_HEIGHT (8*1024) /* 4K Bytes */ #define MAX_STREAM_LENGTH (MAX_WIDTH * MAX_HEIGHT) /* 16M Bytes */ #define ZERO_PADDING_LENGTH (4) /* 4 Bytes */ #define JPEGD_BASELINE_TABLE_SIZE (QUANTIZE_TABLE_LENGTH * 3 \