summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_video.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-25 22:48:36 +0100
committerMarek Olšák <[email protected]>2017-11-29 18:21:30 +0100
commitb86feec390f744f689a53d8c855b53ddee981d2c (patch)
tree8f51ec563cc029c8594b374c9dc5c05cf442e4ea /src/gallium/drivers/radeon/radeon_video.h
parent30d5f2c942025f92e851858d9ab9d5d6f7b9be32 (diff)
radeonsi: move video queries into si_get.c
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_video.h')
-rw-r--r--src/gallium/drivers/radeon/radeon_video.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/gallium/drivers/radeon/radeon_video.h b/src/gallium/drivers/radeon/radeon_video.h
index c5b84e15531..64ee4540886 100644
--- a/src/gallium/drivers/radeon/radeon_video.h
+++ b/src/gallium/drivers/radeon/radeon_video.h
@@ -34,6 +34,8 @@
#define RVID_ERR(fmt, args...) \
fprintf(stderr, "EE %s:%d %s UVD - "fmt, __FILE__, __LINE__, __func__, ##args)
+#define UVD_FW_1_66_16 ((1 << 24) | (66 << 16) | (16 << 8))
+
/* video buffer representation */
struct rvid_buffer
{
@@ -64,16 +66,4 @@ void si_vid_join_surfaces(struct r600_common_context *rctx,
struct pb_buffer** buffers[VL_NUM_COMPONENTS],
struct radeon_surf *surfaces[VL_NUM_COMPONENTS]);
-/* returns supported codecs and other parameters */
-int si_vid_get_video_param(struct pipe_screen *screen,
- enum pipe_video_profile profile,
- enum pipe_video_entrypoint entrypoint,
- enum pipe_video_cap param);
-
-/* the hardware only supports NV12 */
-boolean si_vid_is_format_supported(struct pipe_screen *screen,
- enum pipe_format format,
- enum pipe_video_profile profile,
- enum pipe_video_entrypoint entrypoint);
-
#endif // RADEON_VIDEO_H