]> granicus.if.org Git - libvpx/log
libvpx
9 years agoMerge "Remove tx_select_threshes"
Yunqing Wang [Tue, 28 Jul 2015 01:25:14 +0000 (01:25 +0000)]
Merge "Remove tx_select_threshes"

9 years agoMove forward dct sse2 header file to vpx_dsp
Jingning Han [Mon, 27 Jul 2015 21:56:43 +0000 (14:56 -0700)]
Move forward dct sse2 header file to vpx_dsp

Change-Id: Iba03852ce778c956200818e3473cfb2b48cf8d8e

9 years agoUse common coefficient definition in neon idct implementations
Jingning Han [Mon, 27 Jul 2015 19:05:33 +0000 (12:05 -0700)]
Use common coefficient definition in neon idct implementations

Replace the duplicate coefficient definition in neon implementations
of inverse transform with those from vpx_dsp/txfm_common.h

Change-Id: I4cd9bd9569ab1793dfdbb6f16d80bcb581599f0d

9 years agoRemove tx_select_threshes
Yunqing Wang [Mon, 27 Jul 2015 18:58:39 +0000 (11:58 -0700)]
Remove tx_select_threshes

Removed unused tx_select_threshes and tx_select_diff.

Change-Id: I5e9e7ad170056efe14b5f071e94d0c5a36e4a34c

9 years agoReplace vp9_idct.h for precise dependency
Jingning Han [Fri, 24 Jul 2015 17:27:23 +0000 (10:27 -0700)]
Replace vp9_idct.h for precise dependency

This commit replaces vp9_idct.h with txfm_common.h in many SIMD
implementation files for precise file dependency.

Change-Id: If73dd726bb16537e7494f28538b0a169810f9756

9 years agoRefactor vp9_idct.h file
Jingning Han [Thu, 23 Jul 2015 23:35:44 +0000 (16:35 -0700)]
Refactor vp9_idct.h file

Separate the common coefficient constant into vpx_dsp/txfm_common.h.
Move the SSE2 macro definitions to vpx_dsp/x86/txfm_common_sse2.h.
This clears the use case of vp9_idct.h in vpx_dsp folder.

Change-Id: I319735a2abf42888e5080ac14cfbcde34be7b121

9 years agoMerge "Dynamic resize for real-time: reference scaling."
Marco Paniconi [Fri, 24 Jul 2015 22:23:10 +0000 (22:23 +0000)]
Merge "Dynamic resize for real-time: reference scaling."

9 years agoRemove redundant function definitions in vp9_dct_sse2.h
Jingning Han [Thu, 23 Jul 2015 21:55:05 +0000 (14:55 -0700)]
Remove redundant function definitions in vp9_dct_sse2.h

Change-Id: I283d364a4e65ca9bf6ff581da1d0b498433c5402

9 years agoRemove vp9_dct.h from fwd_txfm_impl_sse2 header file
Jingning Han [Thu, 23 Jul 2015 21:41:23 +0000 (14:41 -0700)]
Remove vp9_dct.h from fwd_txfm_impl_sse2 header file

Change-Id: Ib3a4814fdb9d69cf6cc23bdd208f9bc9e7972edc

9 years agoMerge "Move msa implementations of 2D-DCT to vpx_dsp"
Jingning Han [Fri, 24 Jul 2015 21:11:33 +0000 (21:11 +0000)]
Merge "Move msa implementations of 2D-DCT to vpx_dsp"

9 years agoMove msa implementations of 2D-DCT to vpx_dsp
Jingning Han [Wed, 22 Jul 2015 18:53:21 +0000 (11:53 -0700)]
Move msa implementations of 2D-DCT to vpx_dsp

Refactor and clean up the msa transform related code layout.

Change-Id: Ic5048bd3d62a6046589817da745370ea89448e44

9 years agoMerge "mips msa vp8 bilinear filter optimization"
Parag Salasakar [Fri, 24 Jul 2015 18:16:23 +0000 (18:16 +0000)]
Merge "mips msa vp8 bilinear filter optimization"

9 years agoMerge "Code cleanup in vp9_encode_block_intra"
Hui Su [Fri, 24 Jul 2015 17:40:37 +0000 (17:40 +0000)]
Merge "Code cleanup in vp9_encode_block_intra"

9 years agoMerge "Allocate four |zcoeff_blk| for sub8x8 contexts."
Aℓex Converse [Fri, 24 Jul 2015 17:38:45 +0000 (17:38 +0000)]
Merge "Allocate four |zcoeff_blk| for sub8x8 contexts."

9 years agoMerge "Allocate eobs array per txblock and not per pixel."
Aℓex Converse [Fri, 24 Jul 2015 17:38:32 +0000 (17:38 +0000)]
Merge "Allocate eobs array per txblock and not per pixel."

9 years agomips msa vp8 bilinear filter optimization
Parag Salasakar [Fri, 24 Jul 2015 03:51:35 +0000 (09:21 +0530)]
mips msa vp8 bilinear filter optimization

average improvement ~3x-4x

Change-Id: I8c0b3d5c86c9eb4f802b87c971864d2cfceeb7cc

9 years agoMerge "mips msa vp8 copy mem optimization"
Parag Salasakar [Fri, 24 Jul 2015 03:43:37 +0000 (03:43 +0000)]
Merge "mips msa vp8 copy mem optimization"

9 years agoDynamic resize for real-time: reference scaling.
Marco [Fri, 10 Jul 2015 17:28:51 +0000 (10:28 -0700)]
Dynamic resize for real-time: reference scaling.

Avoid scaling the references if they have already been scaled.
Change only affects 1 pass non-svc mode for now.

Change-Id: I204f4079c026cba7adce7a7f855d072f6139ccec

9 years agoAllocate four |zcoeff_blk| for sub8x8 contexts.
Alex Converse [Thu, 23 Jul 2015 22:43:48 +0000 (15:43 -0700)]
Allocate four |zcoeff_blk| for sub8x8 contexts.

The RD and load save/code grabs it as groups of four. In practice there
is no change to physical allocations becaquse this is backed by a 16-byte
memalign.

Change-Id: I01e89769872300e23227e03dd24a6e229f482025

9 years agoAllocate eobs array per txblock and not per pixel.
Alex Converse [Thu, 23 Jul 2015 22:07:35 +0000 (15:07 -0700)]
Allocate eobs array per txblock and not per pixel.

Change-Id: I5368f5fc7283420c38d5bd85e3077b761d94ace6

9 years agoMerge "Add x86_64 flag to guard fwd_txfm_ssse3.asm in make file"
Jingning Han [Thu, 23 Jul 2015 21:21:07 +0000 (21:21 +0000)]
Merge "Add x86_64 flag to guard fwd_txfm_ssse3.asm in make file"

9 years agoMerge "Fix vp9_psnrhvs.c build error"
Jingning Han [Thu, 23 Jul 2015 21:19:40 +0000 (21:19 +0000)]
Merge "Fix vp9_psnrhvs.c build error"

9 years agoFix vp9_psnrhvs.c build error
Jingning Han [Thu, 23 Jul 2015 18:31:45 +0000 (11:31 -0700)]
Fix vp9_psnrhvs.c build error

Add vpx_dsp_rtcd.h to the header file list. The od_bin_fdct8x8()
here depends on forward 8x8 2D-DCT.

Change-Id: I1d71edc71f07069808823d2445c1cafd285e1b94

9 years agoAdd x86_64 flag to guard fwd_txfm_ssse3.asm in make file
Jingning Han [Thu, 23 Jul 2015 18:03:55 +0000 (11:03 -0700)]
Add x86_64 flag to guard fwd_txfm_ssse3.asm in make file

This fixes a VS build error. Fix by @johannkoenig.

Change-Id: I6e71435d70ae56079db7328e4c7915416ece8fda

9 years agoRefactor forward/inverse transform msa implementations
Jingning Han [Wed, 22 Jul 2015 17:52:07 +0000 (10:52 -0700)]
Refactor forward/inverse transform msa implementations

This commit factors out common macro definitions from the forward
and inverse transform implementations into vpx_dsp. It removes
the duplicate macro definitions from encoder and decoder folders.

Change-Id: I92301acbd3317075e9c5f03328a25abb123bca78

9 years agomips msa vp8 copy mem optimization
Parag Salasakar [Thu, 23 Jul 2015 04:59:40 +0000 (10:29 +0530)]
mips msa vp8 copy mem optimization

average improvement ~2x-4x

Change-Id: I3af3ecced96c5b8e0cb811256e5089e28fe013a2

9 years agoMerge "mips/dspr2: fix vp9-highbitdepth build"
James Zern [Thu, 23 Jul 2015 02:08:50 +0000 (02:08 +0000)]
Merge "mips/dspr2: fix vp9-highbitdepth build"

9 years agoMerge "Take out VP9_ prefix from mips/msa macros"
Jingning Han [Thu, 23 Jul 2015 01:15:52 +0000 (01:15 +0000)]
Merge "Take out VP9_ prefix from mips/msa macros"

9 years agoMerge "mips msa vp8 sixtap filter optimization"
Parag Salasakar [Thu, 23 Jul 2015 01:03:39 +0000 (01:03 +0000)]
Merge "mips msa vp8 sixtap filter optimization"

9 years agoMerge "Added TODOs for two unused #defines"
Yaowu Xu [Thu, 23 Jul 2015 00:23:39 +0000 (00:23 +0000)]
Merge "Added TODOs for two unused #defines"

9 years agoTake out VP9_ prefix from mips/msa macros
Jingning Han [Wed, 22 Jul 2015 16:39:17 +0000 (09:39 -0700)]
Take out VP9_ prefix from mips/msa macros

The msa macros are locally used and should not be named with VP9
prefix.

Change-Id: I2c9c746c4027383c16b9ab12b77b4e70e7e7d206

9 years agoMerge "Factor forward 2D-DCT transforms into vpx_dsp"
Jingning Han [Wed, 22 Jul 2015 23:47:03 +0000 (23:47 +0000)]
Merge "Factor forward 2D-DCT transforms into vpx_dsp"

9 years agoAdded TODOs for two unused #defines
Yaowu Xu [Mon, 20 Jul 2015 17:33:48 +0000 (10:33 -0700)]
Added TODOs for two unused #defines

Change-Id: I70407e9350147d6585667f157d9cfe78c6251d26

9 years agoFactor forward 2D-DCT transforms into vpx_dsp
Jingning Han [Tue, 21 Jul 2015 18:56:36 +0000 (11:56 -0700)]
Factor forward 2D-DCT transforms into vpx_dsp

This commit factors the 4x4, 8x8, and 16x16 2D-DCT forward
transform operations into vpx_dsp folder.

Change-Id: I084b117b79c0925edcbcabb93f62b9f4bf8dbe7d

9 years agomips/dspr2: fix vp9-highbitdepth build
James Zern [Wed, 22 Jul 2015 18:54:39 +0000 (11:54 -0700)]
mips/dspr2: fix vp9-highbitdepth build

vp9_itrans*_dspr2.c aren't necessary for high bitdepth builds and
notably vp9_itrans8_dspr2.c fails in various configurations using a
codesourcery toolchain:
vp9_itrans8_dspr2.c:31:5: can't find a register in class 'GR_REGS' while reloading 'asm'

Change-Id: I2ac76203e65cc643cb835ab50e95701896d92a1a

9 years agoMerge "Delete ChangeFilterWorks test"
Scott LaVarnway [Wed, 22 Jul 2015 18:39:11 +0000 (18:39 +0000)]
Merge "Delete ChangeFilterWorks test"

9 years agoCode cleanup in vp9_encode_block_intra
hui su [Fri, 17 Jul 2015 00:37:16 +0000 (17:37 -0700)]
Code cleanup in vp9_encode_block_intra

Change-Id: Ie4d958b26e586db218f8ee95d5df4bf11f2345a1

9 years agoDelete ChangeFilterWorks test
Scott LaVarnway [Wed, 22 Jul 2015 16:05:17 +0000 (09:05 -0700)]
Delete ChangeFilterWorks test

This test places 128 in positions that would not be found
in the VP9 filter tables.  The ssse3 code packs this table
into chars and uses the pmaddubsw instruction, which treats
the value as signed.  The ssse3 code checks for 128 in
position 3, skipping the ssse3 code if found, and calls
vp9_convolve8_c().  vp9_convolve8_c() is also used for scaling.
ChangeFilterWorks breaks the ssse3 scaling code found in other
commits.

Change-Id: I1f5a76834bc35180b9094c48f9421bdb19d3d1cb

9 years agoFill buffer speed up
Jim Bankoski [Tue, 14 Jul 2015 16:19:01 +0000 (09:19 -0700)]
Fill buffer speed up

Eliminates the byte by byte read from bool decoder,  by reading
in a size_t and then shifting it into place.

Change-Id: I0ed8c7b6f942847e79cc90105dc1d2b5b3deb0d6

9 years agoMerge "Clean up vp9_dct32x32_sse2_impl.h header files"
Jingning Han [Tue, 21 Jul 2015 16:31:49 +0000 (16:31 +0000)]
Merge "Clean up vp9_dct32x32_sse2_impl.h header files"

9 years agoMerge "mips msa vp9 avg subpel variance optimization rebased"
Parag Salasakar [Tue, 21 Jul 2015 06:07:00 +0000 (06:07 +0000)]
Merge "mips msa vp9 avg subpel variance optimization rebased"

9 years agoMerge "Arrange 1D forward transform order in vp9_dct.c"
Jingning Han [Tue, 21 Jul 2015 04:59:13 +0000 (04:59 +0000)]
Merge "Arrange 1D forward transform order in vp9_dct.c"

9 years agoMerge "Remove redundant function definitions from vp9_dct.h"
Jingning Han [Tue, 21 Jul 2015 04:57:53 +0000 (04:57 +0000)]
Merge "Remove redundant function definitions from vp9_dct.h"

9 years agoMerge "vpx_dsp/bitwriter_buffer.h: vp9_ -> vpx_"
Yaowu Xu [Tue, 21 Jul 2015 04:10:20 +0000 (04:10 +0000)]
Merge "vpx_dsp/bitwriter_buffer.h: vp9_ -> vpx_"

9 years agoMerge "vpx_dsp/bitwriter.h: vp9_->vpx_"
Yaowu Xu [Tue, 21 Jul 2015 04:10:07 +0000 (04:10 +0000)]
Merge "vpx_dsp/bitwriter.h: vp9_->vpx_"

9 years agoMerge "vpx_dsp/prob.h: vp9_ -> vpx_"
Yaowu Xu [Tue, 21 Jul 2015 04:09:52 +0000 (04:09 +0000)]
Merge "vpx_dsp/prob.h: vp9_ -> vpx_"

9 years agoMerge "vpx_dsp/bitreader_buffer.h: vp9_->vpx_"
Yaowu Xu [Tue, 21 Jul 2015 04:09:37 +0000 (04:09 +0000)]
Merge "vpx_dsp/bitreader_buffer.h: vp9_->vpx_"

9 years agoMerge "vpx_dsp/bitreader.h: vp9_->vpx_"
Yaowu Xu [Tue, 21 Jul 2015 04:09:07 +0000 (04:09 +0000)]
Merge "vpx_dsp/bitreader.h: vp9_->vpx_"

9 years agoMerge "Fix bug in setting sf->use_square_partition_only."
Yaowu Xu [Tue, 21 Jul 2015 01:24:52 +0000 (01:24 +0000)]
Merge "Fix bug in setting sf->use_square_partition_only."

9 years agovpx_dsp/bitwriter_buffer.h: vp9_ -> vpx_
Yaowu Xu [Mon, 20 Jul 2015 21:24:14 +0000 (14:24 -0700)]
vpx_dsp/bitwriter_buffer.h: vp9_ -> vpx_

Change-Id: I0ac7beaa160a6c2a60a019f6b8ce85e6537bed7d

9 years agovpx_dsp/bitwriter.h: vp9_->vpx_
Yaowu Xu [Mon, 20 Jul 2015 21:13:38 +0000 (14:13 -0700)]
vpx_dsp/bitwriter.h: vp9_->vpx_

changes prefix vp9_ to vpx_ for non codec specific functions and
data structures.

Change-Id: I91a21548e39bd24d2c7caaaa223ae47240bb78c8

9 years agovpx_dsp/prob.h: vp9_ -> vpx_
Yaowu Xu [Mon, 20 Jul 2015 21:04:21 +0000 (14:04 -0700)]
vpx_dsp/prob.h: vp9_ -> vpx_

change prefix vp9_ to vpx_ for non codec specific functions and data
structures.

Change-Id: I97c7e6422eceea99212b93f4942bc2187763a07c

9 years agovpx_dsp/bitreader_buffer.h: vp9_->vpx_
Yaowu Xu [Mon, 20 Jul 2015 20:55:06 +0000 (13:55 -0700)]
vpx_dsp/bitreader_buffer.h: vp9_->vpx_

Replace vp9_ in names to vpx_ for non codec specific functions.

Change-Id: Ib9e3b86cb0728d10b239f3493ceda18cc2c34e0f

9 years agovpx_dsp/bitreader.h: vp9_->vpx_
Yaowu Xu [Mon, 20 Jul 2015 20:49:15 +0000 (13:49 -0700)]
vpx_dsp/bitreader.h: vp9_->vpx_

Replace vp9_ in names to vpx_ as they are not codec specific.

Change-Id: I2e583aa63dee769353ada4b42417aa15c4074ebb

9 years agoClean up vp9_dct32x32_sse2_impl.h header files
Jingning Han [Tue, 21 Jul 2015 00:20:59 +0000 (17:20 -0700)]
Clean up vp9_dct32x32_sse2_impl.h header files

Remove redundant file dependency.

Change-Id: I4708218157617dabe00e2e33e237be2838c16603

9 years agoArrange 1D forward transform order in vp9_dct.c
Jingning Han [Mon, 20 Jul 2015 23:19:32 +0000 (16:19 -0700)]
Arrange 1D forward transform order in vp9_dct.c

Remove the redundant function declarations therein.

Change-Id: I27731fb70bb1abce63da761a5812f518c62f590f

9 years agoRemove redundant function definitions from vp9_dct.h
Jingning Han [Mon, 20 Jul 2015 23:08:28 +0000 (16:08 -0700)]
Remove redundant function definitions from vp9_dct.h

Change-Id: I963f08f1023481712c6f9ed624ddf05e5bac6321

9 years agoMerge "Make local functions in vp9_dct.c static"
Jingning Han [Mon, 20 Jul 2015 23:08:13 +0000 (23:08 +0000)]
Merge "Make local functions in vp9_dct.c static"

9 years agoMerge "Correctly report "Unsupported bitstream profile""
Yaowu Xu [Mon, 20 Jul 2015 22:49:53 +0000 (22:49 +0000)]
Merge "Correctly report "Unsupported bitstream profile""

9 years agoMake local functions in vp9_dct.c static
Jingning Han [Mon, 20 Jul 2015 22:11:43 +0000 (15:11 -0700)]
Make local functions in vp9_dct.c static

This commit limits the scope of 1-D DCT and ADST functions within
vp9_dct.c and makes them static. This largely clears out the cross
referencing issue between vp9_dct.c and the SIMD optimizations.

Change-Id: If7cac478b11bb32328ccf70a9f60b709dad43d7f

9 years agoMerge "Remove vp9_ prefix from bit writer files"
Yaowu Xu [Mon, 20 Jul 2015 21:21:52 +0000 (21:21 +0000)]
Merge "Remove vp9_ prefix from bit writer files"

9 years agoMerge "Move bit writer files to vpx_dsp/"
Yaowu Xu [Mon, 20 Jul 2015 21:21:41 +0000 (21:21 +0000)]
Merge "Move bit writer files to vpx_dsp/"

9 years agoMerge "Unify the high bit-depth forward hybrid transforms"
Jingning Han [Mon, 20 Jul 2015 20:19:02 +0000 (20:19 +0000)]
Merge "Unify the high bit-depth forward hybrid transforms"

9 years agoMerge "Refactor highbd forward transform use case"
Jingning Han [Mon, 20 Jul 2015 20:18:21 +0000 (20:18 +0000)]
Merge "Refactor highbd forward transform use case"

9 years agoRemove vp9_ prefix from bit writer files
Yaowu Xu [Mon, 20 Jul 2015 18:18:57 +0000 (11:18 -0700)]
Remove vp9_ prefix from bit writer files

Change-Id: I07647c7482b9ec498fbad3a9c9901f72b2336500

9 years agoMove bit writer files to vpx_dsp/
Yaowu Xu [Mon, 20 Jul 2015 18:05:04 +0000 (11:05 -0700)]
Move bit writer files to vpx_dsp/

Change-Id: Id27e0007a0feac821ca66bcecbf3a723305da82d

9 years agoUnify the high bit-depth forward hybrid transforms
Jingning Han [Mon, 20 Jul 2015 18:07:22 +0000 (11:07 -0700)]
Unify the high bit-depth forward hybrid transforms

The SSE2 version high bit-depth forward hybrid transforms are
essentially using the C functions via cross referencing to 1-D
functions in vp9_dct.c. This commit unifies the two versions and
removes the unnecessary dependency.

Change-Id: Ib4d0702a138f8daf7d0bd97c141ee7088f293765

9 years agoFix uninitialized value warning
hui su [Mon, 20 Jul 2015 18:12:05 +0000 (11:12 -0700)]
Fix uninitialized value warning

Change-Id: Ib919a8ec2ec66d460d2f8a26d72aabc09dcbbd72

9 years agoRefactor highbd forward transform use case
Jingning Han [Mon, 20 Jul 2015 17:26:04 +0000 (10:26 -0700)]
Refactor highbd forward transform use case

Separate the hybrid transform case from 2D-DCT case. This will
allow us to clear up cross dependency between c and SIMD
implementations later.

Change-Id: Iaa499e8b096850a1c5a0c50a3b6e63e15d0184bf

9 years agoMerge "Removed vp9_ prefix from vpx_dsp/bitreader file names"
Yaowu Xu [Mon, 20 Jul 2015 17:12:08 +0000 (17:12 +0000)]
Merge "Removed vp9_ prefix from vpx_dsp/bitreader file names"

9 years agoMerge "Migrate quantization functions from vp9/ to vpx_dsp/"
Yunqing Wang [Mon, 20 Jul 2015 16:20:06 +0000 (16:20 +0000)]
Merge "Migrate quantization functions from vp9/ to vpx_dsp/"

9 years agoRemoved vp9_ prefix from vpx_dsp/bitreader file names
Yaowu Xu [Fri, 17 Jul 2015 21:09:05 +0000 (14:09 -0700)]
Removed vp9_ prefix from vpx_dsp/bitreader file names

Change-Id: I0426126d0a65f13f9250983e44cc366b1b1a9c4a

9 years agoMerge "Move bit reader files to vpx_dsp"
Yaowu Xu [Mon, 20 Jul 2015 14:52:49 +0000 (14:52 +0000)]
Merge "Move bit reader files to vpx_dsp"

9 years agoMerge "Remove dspr2 loop filter files from vp9_common.mk"
Jingning Han [Sat, 18 Jul 2015 01:33:33 +0000 (01:33 +0000)]
Merge "Remove dspr2 loop filter files from vp9_common.mk"

9 years agoMerge "Rename loop filter function from vp9_ to vpx_"
Jingning Han [Sat, 18 Jul 2015 01:33:13 +0000 (01:33 +0000)]
Merge "Rename loop filter function from vp9_ to vpx_"

9 years agoRemove dspr2 loop filter files from vp9_common.mk
Jingning Han [Fri, 17 Jul 2015 23:38:53 +0000 (16:38 -0700)]
Remove dspr2 loop filter files from vp9_common.mk

These files have been moved to vpx_dsp directory. Clean the
vp9_common make file accordingly.

Change-Id: I9b1e820376421c801f705157e60cc7a55487f469

9 years agoMigrate quantization functions from vp9/ to vpx_dsp/
Yunqing Wang [Fri, 17 Jul 2015 19:05:42 +0000 (12:05 -0700)]
Migrate quantization functions from vp9/ to vpx_dsp/

The following quantization functions were moved:
vp9_quantize_b
vp9_quantize_b_32x32
vp9_highbd_quantize_b
vp9_highbd_quantize_b_32x32

vp9_quantize_dc
vp9_quantize_dc_32x32
vp9_highbd_quantize_dc
vp9_highbd_quantize_dc_32x32

The purpose of doing that was to allow these functions to be shared
by multiple codecs.

Change-Id: Id8ab939f283353cdd07bd930d47db3d932a5d87f

9 years agoRename loop filter function from vp9_ to vpx_
Jingning Han [Fri, 17 Jul 2015 19:31:53 +0000 (12:31 -0700)]
Rename loop filter function from vp9_ to vpx_

Change-Id: I6f424bb8daec26bf8482b5d75dd9b0e45c11a665

9 years agoMove bit reader files to vpx_dsp
Yaowu Xu [Fri, 17 Jul 2015 20:38:54 +0000 (13:38 -0700)]
Move bit reader files to vpx_dsp

Change-Id: Ib1cb1fbe92a39ff5312cee069559be6d3ea458d0

9 years agoMerge "Dynamic resize 1 pass mode: fix buffer underflow threshold."
Marco [Fri, 17 Jul 2015 21:31:55 +0000 (21:31 +0000)]
Merge "Dynamic resize 1 pass mode: fix buffer underflow threshold."

9 years agoMigrate mips dspr2 loop filter implementation from vp9 to vpx
Jingning Han [Fri, 17 Jul 2015 18:46:20 +0000 (11:46 -0700)]
Migrate mips dspr2 loop filter implementation from vp9 to vpx

This commit moves the loop filter dspr2 implementation from vp9 to
vpx_dsp directory. It also fixes header file format issues.

Change-Id: I09203ed4bd267d7fd76bb79a6ee84a37646206b2

9 years agoDynamic resize 1 pass mode: fix buffer underflow threshold.
Marco [Fri, 17 Jul 2015 18:21:47 +0000 (11:21 -0700)]
Dynamic resize 1 pass mode: fix buffer underflow threshold.

Remove the use of drop_frames_water_mark, as this is used for
frame dropping control. Use fixed threshold for now on buffer underflow.

Change-Id: If0ddda9f7f6fa96067cdcb0eccb42e17bda37c32

9 years agoCorrectly report "Unsupported bitstream profile"
Yaowu Xu [Thu, 16 Jul 2015 22:40:22 +0000 (15:40 -0700)]
Correctly report "Unsupported bitstream profile"

For vp9 decoder build without profile 2 and profile 3 support, this
commit changes to report error "Unsupported bitstream profile" for
input streams in profile 2 or 3, rather than other misleading error
information.

In addition, one of the invalid files in unit tests is actually coded
profile 2, this commit makes it tested only when the decoder is built
with vp9-highbitdepth.

This fixes issue #1028.

Change-Id: I8b6c1210787c8f89c703a546687dcf973ac20fc0

9 years agoResolve dspr2 loop filter dependency complexity
Jingning Han [Fri, 17 Jul 2015 17:37:31 +0000 (10:37 -0700)]
Resolve dspr2 loop filter dependency complexity

Narrow the scope of dependency required by the dspr2 implementation
of loop filters.

Change-Id: Ib8d99dc7d9c231f69dd31d02e0a89e5bd0545a28

9 years agoReplace vp9_common_dspr2.h with common_dspr2.h
Jingning Han [Fri, 17 Jul 2015 16:33:46 +0000 (09:33 -0700)]
Replace vp9_common_dspr2.h with common_dspr2.h

Narrow the scope of dependency in dspr2 loop filter implementation.

Change-Id: I30426d7e4d41575a82286f1d3c5881aeb99a3250

9 years agoCreate common dspr2 header file in vpx_dsp
Jingning Han [Fri, 17 Jul 2015 16:20:10 +0000 (09:20 -0700)]
Create common dspr2 header file in vpx_dsp

Move the common prefetch_load/store in dspr2 to header file in
vpx_dsp/mips.

Change-Id: I8acc22970f2a0ef97d73061e39a3ae65c6955eac

9 years agoMerge "Simplify dependencies in dspr2 related codes"
Jingning Han [Fri, 17 Jul 2015 16:12:51 +0000 (16:12 +0000)]
Merge "Simplify dependencies in dspr2 related codes"

9 years agoMerge "Take out unnecessary header file from highbd_loopfilter_sse2"
Jingning Han [Fri, 17 Jul 2015 16:12:25 +0000 (16:12 +0000)]
Merge "Take out unnecessary header file from highbd_loopfilter_sse2"

9 years agoMerge "Remove vp9_ prefix from static function names in loopfilter_16_msa"
Jingning Han [Fri, 17 Jul 2015 16:12:10 +0000 (16:12 +0000)]
Merge "Remove vp9_ prefix from static function names in loopfilter_16_msa"

9 years agoMerge "Migrate loop filter functions from vp9/ to vpx_dsp/"
Jingning Han [Fri, 17 Jul 2015 16:12:00 +0000 (16:12 +0000)]
Merge "Migrate loop filter functions from vp9/ to vpx_dsp/"

9 years agoSimplify dependencies in dspr2 related codes
Jingning Han [Fri, 17 Jul 2015 01:20:11 +0000 (18:20 -0700)]
Simplify dependencies in dspr2 related codes

The common_dspr2.h should be independent of codec-specific data
structures.

Change-Id: I34ee1f9552c2d2d205fd7f1813cdf312c7ff5d2b

9 years agoTake out unnecessary header file from highbd_loopfilter_sse2
Jingning Han [Fri, 17 Jul 2015 01:13:06 +0000 (18:13 -0700)]
Take out unnecessary header file from highbd_loopfilter_sse2

The dependency on vp9_loopfilter.h is not needed.

Change-Id: Ic0583c43d3d63f19cef06cf9d8e5c8031601be6a

9 years agoRemove vp9_ prefix from static function names in loopfilter_16_msa
Jingning Han [Fri, 17 Jul 2015 01:03:50 +0000 (18:03 -0700)]
Remove vp9_ prefix from static function names in loopfilter_16_msa

Remove the codec-specific global prefix from static function names.

Change-Id: I61b2d5f2b7b5fb9dc8bc357d5493ea44df8ab19d

9 years agoMigrate loop filter functions from vp9/ to vpx_dsp/
Jingning Han [Thu, 16 Jul 2015 02:14:54 +0000 (19:14 -0700)]
Migrate loop filter functions from vp9/ to vpx_dsp/

The various tap loop filter operations are common functions across
codec. This commit moves them along with SIMD optimizations to
vpx_dsp folder.

Change-Id: Ia5fa0b2e5289cdb98467502a549c380b9c60e92c

9 years agoMerge "Dynamic resize for 1 pass: update of golden frame."
Marco [Thu, 16 Jul 2015 19:38:26 +0000 (19:38 +0000)]
Merge "Dynamic resize for 1 pass: update of golden frame."

9 years agoDynamic resize for 1 pass: update of golden frame.
Marco [Thu, 16 Jul 2015 01:00:03 +0000 (18:00 -0700)]
Dynamic resize for 1 pass: update of golden frame.

In aq-mode=3 under a resizing action (i.e., resize_pending != 0),
force an update of the golden reference frame.

Change-Id: I14806f6db71b5f8c827678cc5e1fc913c138a9a4

9 years agoFix bug in setting sf->use_square_partition_only.
paulwilkins [Thu, 16 Jul 2015 15:20:39 +0000 (16:20 +0100)]
Fix bug in setting sf->use_square_partition_only.

Fix bug in setting this flag for animated content.
The bug did cause quality to increase because far
more frames are not boosted than boosted.

However, the speed trade off to gain is a lot less
favorable and the behavior was not as intended.

Change-Id: I89fb70419c88b26f40b3534de0481730a1b3fcfa

9 years agoMerge "Add vp9_int_pro_col_neon."
Frank Galligan [Thu, 16 Jul 2015 05:45:15 +0000 (05:45 +0000)]
Merge "Add vp9_int_pro_col_neon."

9 years agoMerge "Add vpx_dsp_common.h file"
Jingning Han [Wed, 15 Jul 2015 22:41:52 +0000 (22:41 +0000)]
Merge "Add vpx_dsp_common.h file"

9 years agoMerge "Remove redundant header files in vp9_loopfilter_filers.c"
Jingning Han [Wed, 15 Jul 2015 22:41:10 +0000 (22:41 +0000)]
Merge "Remove redundant header files in vp9_loopfilter_filers.c"