projects
/
profile
/
ivi
/
vaapi-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8691a0d
)
Fix frame height/width for YUV400/YUV444/YUV422V_2Y JPEG image
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 19 Jan 2012 01:01:59 +0000
(09:01 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 19 Jan 2012 01:07:24 +0000
(09:07 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/gen7_mfd.c
patch
|
blob
|
history
diff --git
a/src/gen7_mfd.c
b/src/gen7_mfd.c
index
a50d04e
..
619fead
100644
(file)
--- a/
src/gen7_mfd.c
+++ b/
src/gen7_mfd.c
@@
-2121,8
+2121,8
@@
gen7_mfd_jpeg_pic_state(VADriverContextP ctx,
assert(0);
}
- if (chroma_type == GEN7_YUV400
&&
- chroma_type == GEN7_YUV444
&&
+ if (chroma_type == GEN7_YUV400
||
+ chroma_type == GEN7_YUV444
||
chroma_type == GEN7_YUV422V_2Y) {
frame_width_in_blks = ((pic_param->image_width + 7) / 8);
frame_height_in_blks = ((pic_param->image_height + 7) / 8);