diff options
author | Christian König <[email protected]> | 2013-07-15 02:35:37 -0600 |
---|---|---|
committer | Christian König <[email protected]> | 2013-08-19 10:21:15 +0200 |
commit | 8e423ab98403135140a093be3c66c88b9a36ad5c (patch) | |
tree | 28c6df9df774c8c3fef1eafad73dae002b0e82f2 /src/gallium/drivers/nv50/nv98_video.c | |
parent | 53e20b8b418cc85e13d70f41ce160e17847a5096 (diff) |
vl: rename enum pipe_video_codec to pipe_video_format
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50/nv98_video.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv98_video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv50/nv98_video.c b/src/gallium/drivers/nv50/nv98_video.c index 60bc79b222c..541cd729352 100644 --- a/src/gallium/drivers/nv50/nv98_video.c +++ b/src/gallium/drivers/nv50/nv98_video.c @@ -152,24 +152,24 @@ nv98_create_decoder(struct pipe_context *context, goto fail; switch (u_reduce_video_profile(templ->profile)) { - case PIPE_VIDEO_CODEC_MPEG12: { + case PIPE_VIDEO_FORMAT_MPEG12: { codec = 1; assert(templ->max_references <= 2); break; } - case PIPE_VIDEO_CODEC_MPEG4: { + case PIPE_VIDEO_FORMAT_MPEG4: { codec = 4; tmp_size = mb(templ->height)*16 * mb(templ->width)*16; assert(templ->max_references <= 2); break; } - case PIPE_VIDEO_CODEC_VC1: { + case PIPE_VIDEO_FORMAT_VC1: { ppp_codec = codec = 2; tmp_size = mb(templ->height)*16 * mb(templ->width)*16; assert(templ->max_references <= 2); break; } - case PIPE_VIDEO_CODEC_MPEG4_AVC: { + case PIPE_VIDEO_FORMAT_MPEG4_AVC: { codec = 3; dec->tmp_stride = 16 * mb_half(templ->width) * nouveau_vp3_video_align(templ->height) * 3 / 2; tmp_size = dec->tmp_stride * (templ->max_references + 1); |