| Index: source/libvpx/vp9/common/vp9_alloccommon.c
|
| ===================================================================
|
| --- source/libvpx/vp9/common/vp9_alloccommon.c (revision 293588)
|
| +++ source/libvpx/vp9/common/vp9_alloccommon.c (working copy)
|
| @@ -44,7 +44,10 @@
|
| vp9_free_frame_buffer(&cm->frame_bufs[i].buf);
|
| }
|
|
|
| +#if CONFIG_VP9_POSTPROC
|
| vp9_free_frame_buffer(&cm->post_proc_buffer);
|
| + vp9_free_frame_buffer(&cm->post_proc_buffer_int);
|
| +#endif
|
| }
|
|
|
| void vp9_free_context_buffers(VP9_COMMON *cm) {
|
| @@ -109,7 +112,8 @@
|
| #if CONFIG_VP9_HIGHBITDEPTH
|
| cm->use_highbitdepth,
|
| #endif
|
| - VP9_ENC_BORDER_IN_PIXELS) < 0)
|
| + VP9_ENC_BORDER_IN_PIXELS,
|
| + cm->byte_alignment) < 0)
|
| goto fail;
|
| if (cm->frame_bufs[i].mvs == NULL) {
|
| cm->frame_bufs[i].mvs =
|
| @@ -125,12 +129,13 @@
|
|
|
| init_frame_bufs(cm);
|
|
|
| -#if CONFIG_INTERNAL_STATS || CONFIG_VP9_POSTPROC
|
| +#if CONFIG_VP9_POSTPROC
|
| if (vp9_alloc_frame_buffer(&cm->post_proc_buffer, width, height, ss_x, ss_y,
|
| #if CONFIG_VP9_HIGHBITDEPTH
|
| cm->use_highbitdepth,
|
| #endif
|
| - VP9_ENC_BORDER_IN_PIXELS) < 0)
|
| + VP9_ENC_BORDER_IN_PIXELS,
|
| + cm->byte_alignment) < 0)
|
| goto fail;
|
| #endif
|
|
|
|
|