diff options
author | Leo Liu <[email protected]> | 2014-04-03 16:53:30 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2014-04-04 12:35:55 +0200 |
commit | de1a59b7a71583ae4fb09f9e4ee049895f14ca5f (patch) | |
tree | 875e977158e8e7bfcad52cd2234b7aa96b1f30e7 /src/gallium/drivers/radeon/radeon_vce.h | |
parent | 6c59be7776e4da17119a3fca21a0a568c5c11ea7 (diff) |
radeon/vce: cleanup cpb handling
v2: fix whitespace errors, minor coding style changes
Signed-off-by: Leo Liu <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vce.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vce.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.h b/src/gallium/drivers/radeon/radeon_vce.h index 80495e5e8d7..9dc0c68eefb 100644 --- a/src/gallium/drivers/radeon/radeon_vce.h +++ b/src/gallium/drivers/radeon/radeon_vce.h @@ -43,6 +43,9 @@ #define RVCE_READWRITE(buf, domain) RVCE_CS(RVCE_RELOC(buf, RADEON_USAGE_READWRITE, domain) * 4) #define RVCE_END() *begin = (&enc->cs->buf[enc->cs->cdw] - begin) * 4; } +#define RVCE_NUM_CPB_FRAMES 2 +#define RVCE_NUM_CPB_EXTRA_FRAMES 2 + struct r600_common_screen; /* driver dependent callback */ |