Commit 1ce7bacd authored by Thomas Guillem's avatar Thomas Guillem

vt_utils: rename cvpxpool_get_cvpx

parent 17cc3626
......@@ -277,7 +277,7 @@ cvpxpool_create(const video_format_t *fmt, unsigned count)
}
CVPixelBufferRef
cvpxpool_get_cvpx(CVPixelBufferPoolRef pool)
cvpxpool_new_cvpx(CVPixelBufferPoolRef pool)
{
CVPixelBufferRef cvpx;
CVReturn err = CVPixelBufferPoolCreatePixelBuffer(NULL, pool, &cvpx);
......
......@@ -73,6 +73,6 @@ CVPixelBufferPoolRef cvpxpool_create(const video_format_t *fmt, unsigned count);
/*
* Get a cvpx buffer from a pool
*/
CVPixelBufferRef cvpxpool_get_cvpx(CVPixelBufferPoolRef pool);
CVPixelBufferRef cvpxpool_new_cvpx(CVPixelBufferPoolRef pool);
#endif
......@@ -113,7 +113,7 @@ static picture_t *CVPX_buffer_new(filter_t *p_sw_filter)
filter_t *p_filter = p_sw_filter->owner.sys;
filter_sys_t *p_sys = p_filter->p_sys;
CVPixelBufferRef cvpx = cvpxpool_get_cvpx(p_sys->pool);
CVPixelBufferRef cvpx = cvpxpool_new_cvpx(p_sys->pool);
if (cvpx == NULL)
return NULL;
......
......@@ -302,7 +302,7 @@ Filter(filter_t *filter, picture_t *src)
if (!dst)
goto error;
CVPixelBufferRef cvpx = cvpxpool_get_cvpx(ctx->cvpx_pool);
CVPixelBufferRef cvpx = cvpxpool_new_cvpx(ctx->cvpx_pool);
if (!cvpx)
goto error;
......@@ -417,7 +417,7 @@ static picture_t *
CVPX_buffer_new(filter_t *converter)
{
CVPixelBufferPoolRef pool = converter->owner.sys;
CVPixelBufferRef cvpx = cvpxpool_get_cvpx(pool);
CVPixelBufferRef cvpx = cvpxpool_new_cvpx(pool);
if (!cvpx)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment