OSDN Git Service
(root)
/
android-x86
/
hardware-intel-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0312b5c
)
set the minimum of vp9 deocding frame width and height as 1, not 8
author
peng.chen
<peng.c.chen@intel.com>
Mon, 25 Jan 2016 01:55:36 +0000
(09:55 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 29 Jan 2016 06:52:33 +0000
(14:52 +0800)
Signed-off-by: peng.chen <peng.c.chen@intel.com>
(cherry picked from commit
99ae37b2e2d29be0c00447f26ccab294a2bcc2d9
)
src/i965_decoder_utils.c
patch
|
blob
|
history
diff --git
a/src/i965_decoder_utils.c
b/src/i965_decoder_utils.c
index
835d3fd
..
892f3cf
100644
(file)
--- a/
src/i965_decoder_utils.c
+++ b/
src/i965_decoder_utils.c
@@
-1322,10
+1322,10
@@
intel_decoder_check_vp9_parameter(VADriverContextP ctx,
int i=0, index=0;
//Max support upto 4k for BXT
- if ((pic_param->frame_width-1 <
7
) || (pic_param->frame_width-1 > 4095))
+ if ((pic_param->frame_width-1 <
0
) || (pic_param->frame_width-1 > 4095))
return va_status;
- if ((pic_param->frame_height-1 <
7
) || (pic_param->frame_height-1 > 4095))
+ if ((pic_param->frame_height-1 <
0
) || (pic_param->frame_height-1 > 4095))
return va_status;
//Set the reference object in decode state for last reference