diff options
author | Christian König <[email protected]> | 2013-07-15 08:48:41 -0600 |
---|---|---|
committer | Christian König <[email protected]> | 2013-08-19 10:21:15 +0200 |
commit | 5ddd840f5aacb7cc6e62b712aa737c683bd91f55 (patch) | |
tree | fb2cb878028b5eedaac452c83b60c294e192c44f /src/gallium/drivers | |
parent | a15cbabb8b546fa063cfb6f528dd67ee0037079b (diff) |
vl: add entrypoint to is_video_format_supported
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_format.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_vp3_video.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_vp3_video.h | 3 | ||||
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.h | 3 | ||||
-rw-r--r-- | src/gallium/drivers/nv50/nv84_video.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/radeon_uvd.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/radeon_uvd.h | 3 |
7 files changed, 17 insertions, 10 deletions
diff --git a/src/gallium/drivers/ilo/ilo_format.c b/src/gallium/drivers/ilo/ilo_format.c index 65fb8201726..40b5ffa75c7 100644 --- a/src/gallium/drivers/ilo/ilo_format.c +++ b/src/gallium/drivers/ilo/ilo_format.c @@ -671,9 +671,10 @@ ilo_is_format_supported(struct pipe_screen *screen, static boolean ilo_is_video_format_supported(struct pipe_screen *screen, enum pipe_format format, - enum pipe_video_profile profile) + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint) { - return vl_video_buffer_is_format_supported(screen, format, profile); + return vl_video_buffer_is_format_supported(screen, format, profile, entrypoint); } /** diff --git a/src/gallium/drivers/nouveau/nouveau_vp3_video.c b/src/gallium/drivers/nouveau/nouveau_vp3_video.c index 1659c5f7e72..07ce0163f60 100644 --- a/src/gallium/drivers/nouveau/nouveau_vp3_video.c +++ b/src/gallium/drivers/nouveau/nouveau_vp3_video.c @@ -416,10 +416,11 @@ nouveau_vp3_screen_get_video_param(struct pipe_screen *pscreen, boolean nouveau_vp3_screen_video_supported(struct pipe_screen *screen, enum pipe_format format, - enum pipe_video_profile profile) + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint) { if (profile != PIPE_VIDEO_PROFILE_UNKNOWN) return format == PIPE_FORMAT_NV12; - return vl_video_buffer_is_format_supported(screen, format, profile); + return vl_video_buffer_is_format_supported(screen, format, profile, entrypoint); } diff --git a/src/gallium/drivers/nouveau/nouveau_vp3_video.h b/src/gallium/drivers/nouveau/nouveau_vp3_video.h index 8aedfd08da2..0193ed02ddb 100644 --- a/src/gallium/drivers/nouveau/nouveau_vp3_video.h +++ b/src/gallium/drivers/nouveau/nouveau_vp3_video.h @@ -226,4 +226,5 @@ nouveau_vp3_screen_get_video_param(struct pipe_screen *pscreen, boolean nouveau_vp3_screen_video_supported(struct pipe_screen *screen, enum pipe_format format, - enum pipe_video_profile profile); + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint); diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index 3600f70a29c..ed4ef242f3a 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv50/nv50_context.h @@ -307,7 +307,8 @@ nv84_screen_get_video_param(struct pipe_screen *pscreen, boolean nv84_screen_video_supported(struct pipe_screen *screen, enum pipe_format format, - enum pipe_video_profile profile); + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint); /* nv98_video.c */ struct pipe_video_codec * diff --git a/src/gallium/drivers/nv50/nv84_video.c b/src/gallium/drivers/nv50/nv84_video.c index e7c715c8ef6..0627bab1461 100644 --- a/src/gallium/drivers/nv50/nv84_video.c +++ b/src/gallium/drivers/nv50/nv84_video.c @@ -787,10 +787,11 @@ nv84_screen_get_video_param(struct pipe_screen *pscreen, boolean nv84_screen_video_supported(struct pipe_screen *screen, enum pipe_format format, - enum pipe_video_profile profile) + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint) { if (profile != PIPE_VIDEO_PROFILE_UNKNOWN) return format == PIPE_FORMAT_NV12; - return vl_video_buffer_is_format_supported(screen, format, profile); + return vl_video_buffer_is_format_supported(screen, format, profile, entrypoint); } diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index 86f4c5592fb..f3652a64c9c 100644 --- a/src/gallium/drivers/radeon/radeon_uvd.c +++ b/src/gallium/drivers/radeon/radeon_uvd.c @@ -1134,7 +1134,8 @@ int ruvd_get_video_param(struct pipe_screen *screen, boolean ruvd_is_format_supported(struct pipe_screen *screen, enum pipe_format format, - enum pipe_video_profile profile) + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint) { /* we can only handle this one anyway */ return format == PIPE_FORMAT_NV12; diff --git a/src/gallium/drivers/radeon/radeon_uvd.h b/src/gallium/drivers/radeon/radeon_uvd.h index 8c1ab79e1f8..dedb3c7040d 100644 --- a/src/gallium/drivers/radeon/radeon_uvd.h +++ b/src/gallium/drivers/radeon/radeon_uvd.h @@ -369,6 +369,7 @@ int ruvd_get_video_param(struct pipe_screen *screen, /* the hardware only supports NV12 */ boolean ruvd_is_format_supported(struct pipe_screen *screen, enum pipe_format format, - enum pipe_video_profile profile); + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint); #endif |