From 91471d6aad285ff10e7582e485d8adadd1986fe2 Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Mon, 15 Dec 2014 11:52:55 +0000 Subject: Revert "Add support for setting byte alignment." Fails to compile. Bad calls to vp9_alloc_frame_buffer and vp9_realloc_frame_buffer in postproc.c This reverts commit 399823b6f50fb7465f62822d1395e2192e7b07fc. Change-Id: I29f0e173f8e185d3a303cfdb17813e1eccb51e3a --- vpx_scale/yv12config.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vpx_scale/yv12config.h') diff --git a/vpx_scale/yv12config.h b/vpx_scale/yv12config.h index f04dee1e8..b9f13fd89 100644 --- a/vpx_scale/yv12config.h +++ b/vpx_scale/yv12config.h @@ -73,10 +73,9 @@ int vp9_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, #if CONFIG_VP9_HIGHBITDEPTH int use_highbitdepth, #endif - int border, int byte_alignment); + int border); -// Updates the yv12 buffer config with the frame buffer. |byte_alignment| must -// be a power of 2, from 32 to 1024. 0 sets legacy alignment. If cb is not +// Updates the yv12 buffer config with the frame buffer. If cb is not // NULL, then libvpx is using the frame buffer callbacks to handle memory. // If cb is not NULL, libvpx will call cb with minimum size in bytes needed // to decode the current frame. If cb is NULL, libvpx will allocate memory @@ -88,7 +87,6 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int use_highbitdepth, #endif int border, - int byte_alignment, vpx_codec_frame_buffer_t *fb, vpx_get_frame_buffer_cb_fn_t cb, void *cb_priv); -- cgit v1.2.3