diff options
author | Christian König <[email protected]> | 2013-07-15 08:31:25 -0600 |
---|---|---|
committer | Christian König <[email protected]> | 2013-08-19 10:21:15 +0200 |
commit | a15cbabb8b546fa063cfb6f528dd67ee0037079b (patch) | |
tree | 12c03b8f268ce819f1134bedbb893a451b4377e4 /src/gallium/drivers/r600 | |
parent | f2f7064e560a83fc78d0e5b1d3a7d4aaac119a49 (diff) |
vl: add entrypoint to get_video_param
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_uvd.c | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index c8fb547a30a..2be5910fcb2 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -777,11 +777,12 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e static int r600_get_video_param(struct pipe_screen *screen, enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint, enum pipe_video_cap param) { switch (param) { case PIPE_VIDEO_CAP_SUPPORTED: - return vl_profile_supported(screen, profile); + return vl_profile_supported(screen, profile, entrypoint); case PIPE_VIDEO_CAP_NPOT_TEXTURES: return 1; case PIPE_VIDEO_CAP_MAX_WIDTH: diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 743f9abf6ab..21d68c9387b 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -898,6 +898,7 @@ struct pipe_video_buffer *r600_video_buffer_create(struct pipe_context *pipe, int r600_uvd_get_video_param(struct pipe_screen *screen, enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint, enum pipe_video_cap param); /* diff --git a/src/gallium/drivers/r600/r600_uvd.c b/src/gallium/drivers/r600/r600_uvd.c index 8fb58614ad2..bfdc4f1e5f5 100644 --- a/src/gallium/drivers/r600/r600_uvd.c +++ b/src/gallium/drivers/r600/r600_uvd.c @@ -174,6 +174,7 @@ struct pipe_video_codec *r600_uvd_create_decoder(struct pipe_context *context, int r600_uvd_get_video_param(struct pipe_screen *screen, enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint, enum pipe_video_cap param) { struct r600_screen *rscreen = (struct r600_screen *)screen; @@ -194,5 +195,5 @@ int r600_uvd_get_video_param(struct pipe_screen *screen, } } - return ruvd_get_video_param(screen, profile, param); + return ruvd_get_video_param(screen, profile, entrypoint, param); } |