Dmitry Kovalev
7982b27353
Merge "Removing extraconfig_map from vp8_cx_iface.c."
2014-08-22 17:20:42 -07:00
Dmitry Kovalev
f9fb3b8e0e
Replacing 'struct vpx_fixed_buf' with 'vpx_fixed_buf_t’.
...
Change-Id: Ibbbc5b39429d4b753f0a966b9d84d1d7bf823650
2014-08-22 11:56:31 -07:00
Dmitry Kovalev
48274c64a4
Removing extraconfig_map from vp8_cx_iface.c.
...
We have just one default set of extra config values, g_usage is
never used with VP8.
Change-Id: If05e2e87bf33c8db10c9d226dbc59381bae475eb
2014-08-21 11:21:18 -07:00
Dmitry Kovalev
eafa7126a0
Merge "Replacing NOT_IMPLMENTED with NULL."
2014-08-21 11:10:00 -07:00
Johann
da63d29921
Merge "VP8 encoder for ARMv8 by using NEON intrinsics 6"
2014-08-21 10:39:02 -07:00
Dmitry Kovalev
cd6d9846b0
Replacing NOT_IMPLMENTED with NULL.
...
We don’t need to introduce new macro for the null value.
Change-Id: I59dbae25feeebb4e8359095801aecc8bb17d7764
2014-08-20 17:16:28 -07:00
Dmitry Kovalev
f2e652396f
Removing iface pointer from vpx_codec_priv.
...
The iface pointer is already in vpx_codec_ctx struct.
Change-Id: I9fffe27c613a7c94476f185a1e5a53ff6d99f1c6
2014-08-20 12:31:19 -07:00
Johann
a19035e8bb
Merge "VP8 encoder for ARMv8 by using NEON intrinsics 3"
2014-08-20 11:54:32 -07:00
Johann
6642efaa17
Merge "VP8 encoder for ARMv8 by using NEON intrinsics 2"
2014-08-20 11:54:23 -07:00
Marco
4eb8a850e0
Merge "Fixes to adaptive denoiser mode."
2014-08-20 11:39:44 -07:00
Marco
d2274ed354
Bugfix for vp8 aggressive denoiser mode.
...
Change-Id: I6c1ccd88df7c39377d5f98f8533c0cabd53cf86f
2014-08-20 10:38:59 -07:00
Marco
aa88e32017
Fixes to adaptive denoiser mode.
...
Scale min_consec_zero_last wrt to #temporal layers,
and use full framerate as factor in noise metric.
Change-Id: Id0842b90164ce468d1236173c51965e7620c0e12
2014-08-20 10:34:58 -07:00
James Yu
eed005b076
VP8 encoder for ARMv8 by using NEON intrinsics 6
...
Add shortfdct_neon.c
- vp8_short_fdct4x4_neon
- vp8_short_fdct8x4_neon
Change-Id: I90152c803b484f5fab839473d632c50af0524e68
Signed-off-by: James Yu <james.yu@linaro.org>
2014-08-20 09:25:29 -07:00
James Yu
6d6fdd9c3d
VP8 encoder for ARMv8 by using NEON intrinsics 3
...
Add subtract_neon.c
- vp8_subtract_b_neon
- vp8_subtract_mby_neon
- vp8_subtract_mbuv_neon
Change-Id: If9a17a093478552e3e3276eeaa3f098b9021d08c
Signed-off-by: James Yu <james.yu@linaro.org>
2014-08-20 09:20:55 -07:00
Scott LaVarnway
8013aaa10b
VP8 encoder for ARMv8 by using NEON intrinsics 2
...
Add vp8_shortwalsh4x4_neon.c
- vp8_short_walsh4x4_neon
Change-Id: Ica5f584be608c9e636f62db14f563757e94be09b
Signed-off-by: James Yu <james.yu@linaro.org>
2014-08-20 09:19:23 -07:00
Marco
8609048a77
vp8: Add check on noise_sensitivity/denoiser on.
...
Change-Id: Ic53b2fb69e6eee600ea222e4d06424a1bbca496c
2014-08-16 06:14:21 -07:00
Johann
69dc876b4e
Set uv_crop_height/width in all the places
...
When configuring the buffer make sure to set all the (now) required
fields. Use the canonical variables and match the style from vpx_scale.
https://code.google.com/p/webm/issues/detail?id=841
Change-Id: I71b43d4a03756b8b2d6d60fdf8d7bf41b8041787
2014-08-15 14:55:21 -07:00
Marco Paniconi
715bab6e55
Merge "Add an adaptive denoising mode."
2014-08-15 08:51:08 -07:00
Marco Paniconi
8db245b6a1
Add an adaptive denoising mode.
...
On key frame, will always start with normal denoising mode,
but based on a computed noise metric (normalized mse on source diff)
may switch to aggressive mode (and back down again).
Change-Id: I20330b2dcf3056287be37223302b2cab5fc103eb
2014-08-14 17:29:51 -07:00
Marco
21a0dade42
vp8: Modify to use closest reference in zero_mv bias.
...
Modify zero_mv bias condition to include check that "closest" reference is last_frame.
This is needed for temporal layers, where the last_frame is not always the closest reference.
Also, constain zeromv_count to be for last_frame reference.
Change-Id: I7af54a809ebf01ef43b9933c9d4095b6cb189390
2014-08-14 15:55:20 -07:00
James Zern
80b6c9c56f
Merge "VP8D_GET_FRAME_CORRUPTED: check frame pointer"
2014-08-12 21:11:36 -07:00
James Zern
7d9da93a97
VP8D_GET_FRAME_CORRUPTED: check frame pointer
...
if the decode of the first frame fails, frame_to_show may not be set.
fixes a crash in vpxdec with corrupt data.
Change-Id: I5ab9476d005778a13fd42a39d05876bb6c90a93c
2014-08-12 17:41:47 -07:00
James Zern
1d9e2b5003
Merge "remove unused fields from BOOL_CODER / vp9_writer"
2014-08-11 23:08:45 -07:00
Minghai Shang
136a022d71
[spatial svc]Remove CONFIG_SPATIAL_SVC for ss_enable_auto_alt_ref in vpx_codec_enc_cfg to fix heap-overflow issue in asan config
...
Change-Id: Icdf08501db5f416285f751d316941dfacd2c69ba
2014-08-11 13:43:25 -07:00
Marco Paniconi
354a2e612d
vp8: Code cleanup for control of denoiser mode.
...
Change-Id: Icb9918dd38d15061d62852e6a2d905e8ceb2c1ac
2014-08-08 16:15:28 -07:00
Dmitry Kovalev
9a4cd41793
Merge "Removing legacy XMA features from libvpx."
2014-08-08 14:58:23 -07:00
Marco Paniconi
84ba62d353
vp8: for spatial resize, reallocate denoiser in vp8_allocate_comp.
...
Change-Id: I1827efe2126501a4a5637ee3ae85233d7526bc0e
2014-08-07 13:55:32 -07:00
Hangyu Kuang
a95758c881
Merge "Make the api behavior conform to api spec."
2014-08-06 17:44:53 -07:00
Marco Paniconi
8450b41d4b
vp8 bugfix: Reallocate denoiser when spatially resizing.
...
This is needed to update the width/height and stride parameters
for the reference buffers that the denoiser uses.
Change-Id: Id51b3bdcb56bbbc8187865544ccd3d872a0d51fe
2014-08-06 14:57:52 -07:00
Hangyu Kuang
7050074756
Make the api behavior conform to api spec.
...
When no more data is available, vpx_codec_decode should
be called with NULL as data and 0 as data_sz.
vpx_codec_get_frame iterates over a list of the frames
available for display. The iterator storage should be initialized
to NULL to start the iteration. Iteration is complete when this
function returns NULL.
Also change the unit test to conform to the api spec.
Change-Id: I4b258b309f5df3d37d10c82f01492c0394181c2a
2014-08-06 11:16:14 -07:00
James Zern
8c3886df78
remove unused fields from BOOL_CODER / vp9_writer
...
measure_cost, bit_counter, value
Change-Id: I8f93444ddddbee4ece7db6076a922ad96786044c
2014-08-05 21:58:03 -07:00
Dmitry Kovalev
a42b5c2ffc
Removing legacy XMA features from libvpx.
...
Change-Id: I60ffee7cf78e748792fa6d109322ec32f92e40a9
2014-08-05 16:34:09 -07:00
James Zern
bd72aa712b
Merge "Changes interface to avoid uninitialized warnings in vp9_cx_iface.c."
2014-07-31 11:53:56 -07:00
Jim Bankoski
8a774e14ff
Changes interface to avoid uninitialized warnings in vp9_cx_iface.c.
...
Change-Id: I1092239e21c1cde188ee2dcb765f4c6fc8c5cdec
2014-07-31 06:27:57 -07:00
Marco Paniconi
fbaa4b84af
Fix to Visual Studio build error.
...
signed/unsigned mismatch from commit: 918011.
Change-Id: I6b9bb3618f8e72ea4cc0e6ba8fb9b13676985ed0
2014-07-30 09:14:56 -07:00
Marco Paniconi
91801176fe
vp8: Add an aggressive denoising mode.
...
Change-Id: Ie4686e1b15af6bcc8d59d585bbeb996f38224522
2014-07-29 11:16:45 -07:00
Marco Paniconi
64db43d6a7
vp8: reduce refresh_max_mbs_perframe with fewer layers.
...
Change-Id: Ib39cc0218a1f232c0cde8e99ca3319c17274bd48
2014-07-24 15:47:19 -07:00
Marco Paniconi
7788c62286
Fix clang compiler warning in denoising_neon.
...
Issue: https://code.google.com/p/webm/issues/detail?id=829
Change-Id: I580308f8aa4af194b5d8990a9692ebd18db68ee8
2014-07-23 09:59:27 -07:00
Marco Paniconi
a9b30b381b
Merge "vp8: Set default denoiser_decision to copy for UV channel."
2014-07-22 15:25:06 -07:00
Minghai Shang
f2f69dd3b3
Merge "[spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVC"
2014-07-22 12:43:40 -07:00
Marco Paniconi
aa2ba46a61
Merge "vp8 denoiser fix: Update denoised altref on key frame."
2014-07-22 11:15:08 -07:00
Marco Paniconi
daed770d99
vp8: Set default denoiser_decision to copy for UV channel.
...
Since the UV decision to denoise is based on Y, we need to set
the default/initial denoiser decision_u/v to COPY_BLOCK,
to make sure if no uv_denoiser is applied we still update
(uv)running_avg with source.
Change-Id: I5af1c2afbd40c498cd3de208bea88c837099b24d
2014-07-22 11:12:50 -07:00
Minghai Shang
24c9d6ad43
[spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVC
...
Change-Id: Ifc94377a0d05d66e3d21b007893a985b66db6082
2014-07-22 11:11:55 -07:00
Marco Paniconi
f909e43abc
vp8 denoiser fix: Update denoised altref on key frame.
...
On a key frame, the denoised-running_avg for all references
frames should be updated with the source.
The altref denoised-running_avg was not being updated on key frame,
this fixes that.
Change-Id: Ie02cd0ba5383e013af59240e6df7e185d11703f6
2014-07-22 10:14:03 -07:00
Yunqing Wang
765485cab2
Add -DNDEBUG when config option debug is disabled
...
For gcc, when libvpx config option debug is disabled, added the
flag -DNDEBUG to disable the assertions in libvpx for some speedup.
Change-Id: Ifcb7b9e8ef5cbe5d07a24407b53b9a2923f596ee
2014-07-21 09:20:03 -07:00
Johann
018fd12cf6
Disable vp8_sixtap_predict4x4_neon
...
Crashing on iOS encodes
BUG=817
Change-Id: I2c50f8d359563d15a8b8002b6091184c0f9818af
2014-07-18 14:08:52 -07:00
James Zern
7d7779738f
Merge changes I58a5af33,Ied9b0392
...
* changes:
vp8_bilinear_predict4x4_neon: init src vectors
vp8_sixtap_predict4x4_neon: init src vectors
2014-07-15 18:02:11 -07:00
Marco Paniconi
669e388e78
Merge "vp8: Allow for on/off control of UV temporal denoiser."
2014-07-15 11:05:54 -07:00
Marco Paniconi
21042c7154
vp8: Allow for on/off control of UV temporal denoiser.
...
Use noise_sensitivity level for enabling UV denoiser.
Change-Id: Ib208786a6fdf654981bcd96a3cf44e8e678025c1
2014-07-15 09:51:03 -07:00
Pengchong Jin
f349b071c6
Rewrite functions related to first pass block stats
...
Change-Id: I28679f88e2911b06eef5cbc83ecb62b8c69e4c53
2014-07-14 17:45:27 -07:00