[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 <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2018-04-09 14:17:20 +08:00
parent 4e030fa170
commit f899f6ef56

View File

@@ -34,8 +34,8 @@
#define MAX_HUFFMAN_CODE_BIT_LENGTH (16) /* The longest code word is 16 bits */ #define MAX_HUFFMAN_CODE_BIT_LENGTH (16) /* The longest code word is 16 bits */
#define MIN_WIDTH (48) /* 48 Bytes */ #define MIN_WIDTH (48) /* 48 Bytes */
#define MIN_HEIGHT (48) /* 48 Bytes */ #define MIN_HEIGHT (48) /* 48 Bytes */
#define MAX_WIDTH (4*1024) /* 4K Bytes */ #define MAX_WIDTH (8*1024) /* 4K Bytes */
#define MAX_HEIGHT (4*1024) /* 4K Bytes */ #define MAX_HEIGHT (8*1024) /* 4K Bytes */
#define MAX_STREAM_LENGTH (MAX_WIDTH * MAX_HEIGHT) /* 16M Bytes */ #define MAX_STREAM_LENGTH (MAX_WIDTH * MAX_HEIGHT) /* 16M Bytes */
#define ZERO_PADDING_LENGTH (4) /* 4 Bytes */ #define ZERO_PADDING_LENGTH (4) /* 4 Bytes */
#define JPEGD_BASELINE_TABLE_SIZE (QUANTIZE_TABLE_LENGTH * 3 \ #define JPEGD_BASELINE_TABLE_SIZE (QUANTIZE_TABLE_LENGTH * 3 \