diff options
author | Yunqing Wang <yunqingwang@google.com> | 2012-10-10 11:27:11 -0700 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2012-10-10 18:36:26 -0700 |
commit | f6886c4b93283ed9ef11f4688b5af25ebe9aca6a (patch) | |
tree | 9c185b01ede1eb7503fb807a22643f870bf5f8ef /vp8/common/onyxc_int.h | |
parent | d21070a538f615f6e762ce37e1771a1b99362c0e (diff) | |
download | libvpx-f6886c4b93283ed9ef11f4688b5af25ebe9aca6a.tar libvpx-f6886c4b93283ed9ef11f4688b5af25ebe9aca6a.tar.gz libvpx-f6886c4b93283ed9ef11f4688b5af25ebe9aca6a.tar.bz2 libvpx-f6886c4b93283ed9ef11f4688b5af25ebe9aca6a.zip |
post-proc: fix 0 or negative threshold handling
If the threshold(limits) <= 0, skipped filtering and copied the
frame directly. Also, fixed memory allocation checking.
Change-Id: If3d79d5b2bcb71b9777e6eb5cba1384585131e22
Diffstat (limited to 'vp8/common/onyxc_int.h')
-rw-r--r-- | vp8/common/onyxc_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vp8/common/onyxc_int.h b/vp8/common/onyxc_int.h index 36d75093a..5325bace4 100644 --- a/vp8/common/onyxc_int.h +++ b/vp8/common/onyxc_int.h @@ -87,6 +87,7 @@ typedef struct VP8Common YV12_BUFFER_CONFIG post_proc_buffer; YV12_BUFFER_CONFIG post_proc_buffer_int; int post_proc_buffer_int_used; + unsigned char *pp_limits_buffer; /* post-processing filter coefficients */ #endif FRAME_TYPE last_frame_type; /* Save last frame's frame type for motion search. */ |