From de1a59b7a71583ae4fb09f9e4ee049895f14ca5f Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Thu, 3 Apr 2014 16:53:30 -0400 Subject: radeon/vce: cleanup cpb handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: fix whitespace errors, minor coding style changes Signed-off-by: Leo Liu Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_vce.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/radeon/radeon_vce.h') 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 */ -- cgit v1.2.3