Index: source/libvpx/vpx_scale/yv12config.h |
=================================================================== |
--- source/libvpx/vpx_scale/yv12config.h (revision 291857) |
+++ source/libvpx/vpx_scale/yv12config.h (working copy) |
@@ -55,6 +55,8 @@ |
int flags; |
} YV12_BUFFER_CONFIG; |
+#define YV12_FLAG_HIGHBITDEPTH 1 |
+ |
int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, |
int width, int height, int border); |
int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, |
@@ -63,6 +65,9 @@ |
int vp9_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, |
int width, int height, int ss_x, int ss_y, |
+#if CONFIG_VP9_HIGHBITDEPTH |
+ int use_highbitdepth, |
+#endif |
int border); |
// Updates the yv12 buffer config with the frame buffer. If cb is not |
@@ -73,6 +78,9 @@ |
// on failure. |
int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, |
int width, int height, int ss_x, int ss_y, |
+#if CONFIG_VP9_HIGHBITDEPTH |
+ int use_highbitdepth, |
+#endif |
int border, |
vpx_codec_frame_buffer_t *fb, |
vpx_get_frame_buffer_cb_fn_t cb, |