projects
/
platform
/
upstream
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3556fa0
)
h264encode: print correct number of RefPicList0/1
author
Austin Yuan
<shengquan.yuan@intel.com>
Fri, 10 May 2013 08:51:33 +0000
(16:51 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 25 Jun 2013 05:53:58 +0000
(13:53 +0800)
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
test/encode/h264encode.c
patch
|
blob
|
history
diff --git
a/test/encode/h264encode.c
b/test/encode/h264encode.c
index
7365008
..
6a85aba
100644
(file)
--- a/
test/encode/h264encode.c
+++ b/
test/encode/h264encode.c
@@
-1025,7
+1025,8
@@
static int init_va(void)
if (attrib[VAConfigAttribEncMaxRefFrames].value != VA_ATTRIB_NOT_SUPPORTED) {
h264_maxref = attrib[VAConfigAttribEncMaxRefFrames].value;
- printf("Support %d reference frames\n", h264_maxref);
+ printf("Support %d RefPicList0 and %d RefPicList1\n",
+ h264_maxref & 0xffff, (h264_maxref >> 16) & 0xffff );
}
if (attrib[VAConfigAttribEncMaxSlices].value != VA_ATTRIB_NOT_SUPPORTED)