summaryrefslogtreecommitdiff
path: root/vpx_scale/yv12config.h
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2014-12-15 11:52:55 +0000
committerPaul Wilkins <paulwilkins@google.com>2014-12-15 11:54:13 +0000
commit91471d6aad285ff10e7582e485d8adadd1986fe2 (patch)
tree3d50825173f749207e887d933d4205f355a7a07c /vpx_scale/yv12config.h
parentd4426d587682ae4ac57e7be8f8465af4e2890df5 (diff)
downloadlibvpx-91471d6aad285ff10e7582e485d8adadd1986fe2.tar
libvpx-91471d6aad285ff10e7582e485d8adadd1986fe2.tar.gz
libvpx-91471d6aad285ff10e7582e485d8adadd1986fe2.tar.bz2
libvpx-91471d6aad285ff10e7582e485d8adadd1986fe2.zip
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
Diffstat (limited to 'vpx_scale/yv12config.h')
-rw-r--r--vpx_scale/yv12config.h6
1 files changed, 2 insertions, 4 deletions
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);