summaryrefslogtreecommitdiff
path: root/vpx_dsp
AgeCommit message (Collapse)Author
2016-07-16vpx_plane_add_noise_c: normalize int typesJames Zern
quiets signed/unsigned mismatch warning Change-Id: Iaabd7dfff110ba26056258457541f5635d2e85e6
2016-07-15postproc : fix function parameters for noise functions.Jim Bankoski
Change-Id: I582b6307f28bfc987dcf8910379a52c6f679173c
2016-07-13Merge "postproc: noise style fixes."James Bankoski
2016-07-13Merge "Fix encoder crashes for odd size input"Yaowu Xu
2016-07-13postproc: noise style fixes.Jim Bankoski
Change-Id: Ifdcb36b8e77b65faeeb10644256e175acb32275d
2016-07-13Merge "postproc - move filling of noise buffer to vpx_dsp."James Bankoski
2016-07-13postproc - move filling of noise buffer to vpx_dsp.Jim Bankoski
Change-Id: I63ba35dc0ae9286c9812367a531e01d79a4c1635
2016-07-13deblock: missing const on extern const.Jim Bankoski
Change-Id: I0df08f7c431daf939e266f008bf5158b0c97358b
2016-07-12vp9_postproc.c missing extern.Jim Bankoski
BUG=webm:1256 Change-Id: I5271e71bc53cce033fb906040643dcdd5ccb2381
2016-07-12Fix encoder crashes for odd size inputYaowu Xu
Change-Id: Id5c30c419282369cc8c3280d9a70b34a859a71d8
2016-07-12deblock filter : moved from vp8 code branchJim Bankoski
The deblocking filters used in vp8 have been moved to vpx_dsp for use by both vp8 and vp9. Change-Id: I5209d76edafc894b550f751fc76d3aa6799b392d
2016-07-07Merge "Support measure distortion in the pixel domain"Jingning Han
2016-07-06Support measure distortion in the pixel domainJingning Han
Use pixel domain distortion metric in speed 0. This improves the compression performance by 0.3% for both low and high resolution test sets. Change-Id: I5b5b7115960de73f0b5e5d0c69db305e490e6f1d
2016-07-02Merge "improve vpx_filter_block1d* based on replace paddsw+psrlw to pmulhrsw"James Zern
2016-07-02Merge "Update vpx subpixel 1d filter ssse3 asm"James Zern
2016-06-29vpx_dsp: remove x86inc.asm distinctionJohann
BUG=b:29583530 Change-Id: I397d77536b0d3cee0a92cdfe8b76bc4e434d0720
2016-06-29Merge changes I9433d858,Iafd05637,If08ce6caJames Zern
* changes: tests: remove redundant round() definition remove visual studio < 2010 workarounds configure: remove old visual studio support (<2010)
2016-06-29Update vpx subpixel 1d filter ssse3 asmLinfeng Zhang
Speed test shows the new vertical filters have degradation on Celeron Chromebook. Added "X86_SUBPIX_VFILTER_PREFER_SLOW_CELERON" to control the vertical filters activated code. Now just simply active the code without degradation on Celeron. Later there should be 2 set of vertical filters ssse3 functions, and let jump table to choose based on CPU type. Change-Id: Iba2f1f2fe059a9d142c396d03a6b8d2d3b981e87
2016-06-29Prevent negative varianceYaowu Xu
Due to rounding, hbd variance may become negative. This commit put in check and clamp of negative values to 0. Change-Id: I610d9c8aa2d4eebe7bc5f2c5624a9e3cadad4c94
2016-06-28remove visual studio < 2010 workaroundsJames Zern
BUG=b/29583530 Change-Id: Iafd05637eb65f4da54a9c857e79204a77646858a
2016-06-28Merge "*.asm: normalize label format"James Zern
2016-06-28psnr.c: use int64_t for sum of differencesYaowu Xu
Since the values can be negative. Change-Id: Idda69e9fb47bb34696aeb20170341a0191c5d85e
2016-06-27*.asm: normalize label formatJames Zern
add a trailing ':', though it's optional with the tools we support, it's more common to use it to mark a label. this also quiets the orphan-labels warning with nasm/yasm. BUG=b/29583530 Change-Id: I46e95255e12026dd542d9838e2dd3fbddf7b56e2
2016-06-27Merge "Port metric computation changes from nextgenv2"Yaowu Xu
2016-06-27improve vpx_filter_block1d* based on replace paddsw+psrlw to pmulhrswMin Chen
Change-Id: I14c0c2e54d0b0584df88e9a3f0a256ec096bea6e
2016-06-25Revert "Update vpx subpixel 1d filter ssse3 asm"James Zern
This reverts commit 1517fb74fd40eaab67246e8fb81d5c321bb33b06. Fixes a segfault in windows x64 builds. Change-Id: I6a6959cd7e64a28376849a9f2b11fc852a7c1fbe
2016-06-24Port metric computation changes from nextgenv2Yaowu Xu
Change-Id: I4aceffcdf7af59ffeb51984f0345c3a4c7e76a9f
2016-06-23Merge "Update vpx subpixel 1d filter ssse3 asm"Linfeng Zhang
2016-06-22vpx_lpf_horizontal_4_sse2: Remove dead load.Alex Converse
Change-Id: I51026c52baa1f0881fcd5b68e1fdf08a2dc0916e
2016-06-22Merge "remove vp10"James Zern
2016-06-22Update vpx subpixel 1d filter ssse3 asmLinfeng Zhang
Speed test shows the new vertical filters have degradation on Celeron Chromebook. Added "X86_SUBPIX_VFILTER_PREFER_SLOW_CELERON" to control the vertical filters activated code. Now just simply active the code without degradation on Celeron. Later there should be 2 set of vertical filters ssse3 functions, and let jump table to choose based on CPU type. Change-Id: I37e3e9c5694737d9134a6bce6698d3e43f8fc962
2016-06-22Prevent negative varianceYaowu Xu
Due to rounding used computation, HDB variance computation may produce slightly negative values. This commit adds clamping to make sure output variance values for 10 and 12 to be non-negative. Change-Id: Id679aa55a4c201958c4c7d28cd8733b9246a71c8
2016-06-20Make type conversion explicitYaowu Xu
This fixes MSVC warnings. Change-Id: I675d8486230b2b74d7973d95720a4995c4750282
2016-06-17remove vp10James Zern
development has moved to the nextgenv2 branch and a snapshot from here was used to seed aomedia BUG=b/29457125 Change-Id: Iedaca11ec7870fb3a4e50b2c9ea0c2b056a0d3c0
2016-06-16vpx_dsp/quantize.c: fix ubsan warningsYaowu Xu
BUG=webm:1219 Change-Id: I0c80271c6b78adf40aa7a4cac9e6b431d56958cb
2016-06-16vpx_dsp/variance.c: change to use correct typeYaowu Xu
This commit change to use int64_t to represent the sum of pixel differences, which can be negative. This fixes a number of ubsan warnings. BUG=webm:1219 Change-Id: I885f245ae895ab92ca5f3b9848d37024b07aac98
2016-06-14neon hadamard 16x16Johann
Runs about twice as fast as C BUG=webm:1027 Change-Id: I6760d99f4e22259439ca35d746194b12a81bfa71
2016-06-09Add a couple of missing WRAPLOW checksDebargha Mukherjee
To make coefficient checking consistent with the VP9 spec sections 8.7.1.6 and 8.7.1.1. Change-Id: I92e38e89a41d1e482317bb478c48ffa608d2d6ee
2016-06-06Merge "Move range checks into WRAPLOW"Debargha Mukherjee
2016-06-04Merge changes If31d36c8,I10b947e7James Zern
* changes: vpx_dsp,add_noise: remove mmx implementation vpx_dsp: remove mmx variance implementations
2016-06-03Move range checks into WRAPLOWDebargha Mukherjee
Provides more comprehensive coverage for --enable-coefficient-checking. The intent is to make the --enable-coefficient-checking option consistent with the VP9 spec. Change-Id: I12d0120756d17572ca2b2d7e6a2ab9d8071d8d58
2016-06-03Merge "Slow pshufb removal in 3 intra prediction functions."Linfeng Zhang
2016-06-02vpx_dsp,add_noise: remove mmx implementationJames Zern
a sse2 version exists, this is a reasonable modern baseline. Change-Id: If31d36c8412d25b53f41b4a93cf02f46802c0c33
2016-06-02vpx_dsp: remove mmx variance implementationsJames Zern
there are sse2 equivalents for all remaining variance implementations Change-Id: I10b947e73fc0067688181f819b59e47966bec3d2
2016-06-02Slow pshufb removal in 3 intra prediction functions.Linfeng Zhang
Replaced vpx_d45_predictor_4x4_ssse3(), vpx_d45_predictor_8x8_ssse3() and vpx_d207_predictor_4x4_ssse3() with created vpx_d45_predictor_4x4_sse2(), vpx_d45_predictor_8x8_sse2() and vpx_d207_predictor_4x4_sse2() respectively. It's mostly neutral or slightly worse than ssse3 in good cases and better than ssse3 in the bad cases (but still worse than using the mmx regs). Change-Id: Ib0237ceb71d2c57b8a93fd3170330cfed9d56bdd
2016-05-31variance_avx2.c: UBSAN/IOC fixYaowu Xu
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1222 Change-Id: Ifb3bedf9b4e1b007b21aebaa4beb9ba50424efef
2016-05-27Merge "Upgrade vpx_lpf_{vertical,horizontal}_4 mmx to sse2"Linfeng Zhang
2016-05-26Upgrade vpx_lpf_{vertical,horizontal}_4 mmx to sse2Linfeng Zhang
Followed the code style of other lpf fuctions. These 2 functions put 2 rows of data in a single xmm register, so they have similar but not identical filter operations, and cannot share the same macros. Change-Id: I3bab55a5d1a1232926ac8fd1f03251acc38302bc
2016-05-26Merge "Code clean of sub_pixel_variance4xh -- 2"Scott LaVarnway
2016-05-24Code clean of sub_pixel_variance4xh -- 2Scott LaVarnway
Replace MMX with SSE2. Change-Id: Id8482d2589131f9427e7f36bc64413f058caf31f