diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-12-28 09:03:09 +0000 |
---|---|---|
committer | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-12-28 09:03:09 +0000 |
commit | 8b0867121e71afa9c5ab59d283c1075be8ac4182 (patch) | |
tree | d247f017860a2f689c24d97549367fc9716d63ca | |
parent | 36ad2b3ee014cac0f2d688dc9ef8cc92e07f73c8 (diff) | |
download | ffmpeg-8b0867121e71afa9c5ab59d283c1075be8ac4182.tar.gz |
Rename ff_vaapi_alloc_picture() to ff_vaapi_alloc_pic_param().
Originally committed as revision 20942 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/vaapi.c | 2 | ||||
-rw-r--r-- | libavcodec/vaapi_internal.h | 2 | ||||
-rw-r--r-- | libavcodec/vaapi_mpeg2.c | 2 | ||||
-rw-r--r-- | libavcodec/vaapi_mpeg4.c | 2 | ||||
-rw-r--r-- | libavcodec/vaapi_vc1.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vaapi.c b/libavcodec/vaapi.c index 7912198e5d..10f9054278 100644 --- a/libavcodec/vaapi.c +++ b/libavcodec/vaapi.c @@ -129,7 +129,7 @@ static void *alloc_buffer(struct vaapi_context *vactx, int type, unsigned int si return data; } -void *ff_vaapi_alloc_picture(struct vaapi_context *vactx, unsigned int size) +void *ff_vaapi_alloc_pic_param(struct vaapi_context *vactx, unsigned int size) { return alloc_buffer(vactx, VAPictureParameterBufferType, size, &vactx->pic_param_buf_id); } diff --git a/libavcodec/vaapi_internal.h b/libavcodec/vaapi_internal.h index 2283980a24..2c0fdf945e 100644 --- a/libavcodec/vaapi_internal.h +++ b/libavcodec/vaapi_internal.h @@ -45,7 +45,7 @@ static inline VASurfaceID ff_vaapi_get_surface_id(Picture *pic) int ff_vaapi_common_end_frame(MpegEncContext *s); /** Allocate a new picture parameter buffer */ -void *ff_vaapi_alloc_picture(struct vaapi_context *vactx, unsigned int size); +void *ff_vaapi_alloc_pic_param(struct vaapi_context *vactx, unsigned int size); /** Allocate a new IQ matrix buffer */ void *ff_vaapi_alloc_iq_matrix(struct vaapi_context *vactx, unsigned int size); diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c index b6bd6fdb13..1281f9ae0d 100644 --- a/libavcodec/vaapi_mpeg2.c +++ b/libavcodec/vaapi_mpeg2.c @@ -49,7 +49,7 @@ static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_ vactx->slice_param_size = sizeof(VASliceParameterBufferMPEG2); /* Fill in VAPictureParameterBufferMPEG2 */ - pic_param = ff_vaapi_alloc_picture(vactx, sizeof(VAPictureParameterBufferMPEG2)); + pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferMPEG2)); if (!pic_param) return -1; pic_param->horizontal_size = s->width; diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c index ab2bc35544..15883a8464 100644 --- a/libavcodec/vaapi_mpeg4.c +++ b/libavcodec/vaapi_mpeg4.c @@ -51,7 +51,7 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_ vactx->slice_param_size = sizeof(VASliceParameterBufferMPEG4); /* Fill in VAPictureParameterBufferMPEG4 */ - pic_param = ff_vaapi_alloc_picture(vactx, sizeof(VAPictureParameterBufferMPEG4)); + pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferMPEG4)); if (!pic_param) return -1; pic_param->vop_width = s->width; diff --git a/libavcodec/vaapi_vc1.c b/libavcodec/vaapi_vc1.c index 137526972a..b3777f5186 100644 --- a/libavcodec/vaapi_vc1.c +++ b/libavcodec/vaapi_vc1.c @@ -142,7 +142,7 @@ static int vaapi_vc1_start_frame(AVCodecContext *avctx, av_unused const uint8_t vactx->slice_param_size = sizeof(VASliceParameterBufferVC1); /* Fill in VAPictureParameterBufferVC1 */ - pic_param = ff_vaapi_alloc_picture(vactx, sizeof(VAPictureParameterBufferVC1)); + pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferVC1)); if (!pic_param) return -1; pic_param->forward_reference_picture = 0xffffffff; |