projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2db7c1
)
radeon/vce: implement h264 level support
author
Leo Liu
<leo.liu@amd.com>
Thu, 12 Jun 2014 16:27:31 +0000
(12:27 -0400)
committer
Christian König
<christian.koenig@amd.com>
Wed, 18 Jun 2014 11:53:23 +0000
(13:53 +0200)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_vce_40_2_2.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_vce_40_2_2.c
b/src/gallium/drivers/radeon/radeon_vce_40_2_2.c
index c67f8f9b2a80148c5dd429bbcb1d9c6b4b6a1abb..ecb4b0d3c831b97e2e8bb6efb423aae97fc9d4f1 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_vce_40_2_2.c
+++ b/
src/gallium/drivers/radeon/radeon_vce_40_2_2.c
@@
-108,7
+108,7
@@
static void create(struct rvce_encoder *enc)
RVCE_CS(0x00000000); // encUseCircularBuffer
RVCE_CS(profiles[enc->base.profile -
PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE]); // encProfile
- RVCE_CS(
0x0000002a); // encLevel: 4.2
+ RVCE_CS(
enc->base.level); // encLevel
RVCE_CS(0x00000000); // encPicStructRestriction
RVCE_CS(enc->base.width); // encImageWidth
RVCE_CS(enc->base.height); // encImageHeight