]> granicus.if.org Git - libvpx/log
libvpx
9 years agoMerge "Fix compiler warning in mips/dspr2"
Jingning Han [Fri, 31 Jul 2015 21:29:50 +0000 (21:29 +0000)]
Merge "Fix compiler warning in mips/dspr2"

9 years agoMerge "Compute skippable inside the block_rd_txfm loop."
Aℓex Converse [Fri, 31 Jul 2015 21:19:11 +0000 (21:19 +0000)]
Merge "Compute skippable inside the block_rd_txfm loop."

9 years agoFix compiler warning in mips/dspr2
Jingning Han [Fri, 31 Jul 2015 19:33:35 +0000 (12:33 -0700)]
Fix compiler warning in mips/dspr2

This commit fixes the mix declaration and definition warning when
mips/dspr2 is turned on.

Change-Id: I633d6fe42368b9ac35b106786ebac6969ad53552

9 years agoMerge changes Ic1ce346a,Ic0b4e92c
Aℓex Converse [Fri, 31 Jul 2015 19:05:54 +0000 (19:05 +0000)]
Merge changes Ic1ce346a,Ic0b4e92c

* changes:
  Simplify model_rd_for_sb HBD ifdefs
  Simplify dist_block HBD ifdefs

9 years agoCompute skippable inside the block_rd_txfm loop.
Alex Converse [Fri, 31 Jul 2015 00:39:23 +0000 (17:39 -0700)]
Compute skippable inside the block_rd_txfm loop.

Change-Id: Iaa43aeeb7a2074495e00cdb83bb551c3f13d3ed2

9 years agoMerge "Refactor mips/dspr2 on convolution."
Zoe Liu [Fri, 31 Jul 2015 18:23:19 +0000 (18:23 +0000)]
Merge "Refactor mips/dspr2 on convolution."

9 years agoMerge "Code refactor on InterpKernel"
Zoe Liu [Fri, 31 Jul 2015 18:20:14 +0000 (18:20 +0000)]
Merge "Code refactor on InterpKernel"

9 years agoSimplify model_rd_for_sb HBD ifdefs
Alex Converse [Fri, 31 Jul 2015 17:56:11 +0000 (10:56 -0700)]
Simplify model_rd_for_sb HBD ifdefs

Change-Id: Ic1ce346a053800ae3b2d77178f46e6a388357f6d

9 years agoSimplify dist_block HBD ifdefs
Alex Converse [Fri, 31 Jul 2015 00:52:55 +0000 (17:52 -0700)]
Simplify dist_block HBD ifdefs

Change-Id: Ic0b4e92cbaf813bcca8a8e9052c936c2e025e114

9 years agoMerge "Short circuit rate_block in block_rd_txfm."
Aℓex Converse [Fri, 31 Jul 2015 17:59:22 +0000 (17:59 +0000)]
Merge "Short circuit rate_block in block_rd_txfm."

9 years agoRefactor mips/dspr2 on convolution.
Zoe Liu [Tue, 28 Jul 2015 17:52:24 +0000 (10:52 -0700)]
Refactor mips/dspr2 on convolution.

Change-Id: If59a39d5a92c261537342726f94bb7f7f26dfff3

9 years agoCode refactor on InterpKernel
Zoe Liu [Wed, 22 Jul 2015 17:40:42 +0000 (10:40 -0700)]
Code refactor on InterpKernel

It in essence refactors the code for both the interpolation
filtering and the convolution. This change includes the moving
of all the files as well as the changing of the code from vp9_
prefix to vpx_ prefix accordingly, for underneath architectures:
(1) x86;
(2) arm/neon; and
(3) mips/msa.
The work on mips/drsp2 will be done in a separate change list.

Change-Id: Ic3ce7fb7f81210db7628b373c73553db68793c46

9 years agoGive skip_txfm constants names.
Alex Converse [Thu, 30 Jul 2015 18:52:28 +0000 (11:52 -0700)]
Give skip_txfm constants names.

This is using a define instead of an enum to keep byte packing.

Change-Id: I3abb07c8bfe377e19be4531b624af7b7b4207792

9 years agoShort circuit rate_block in block_rd_txfm.
Alex Converse [Thu, 30 Jul 2015 22:33:47 +0000 (15:33 -0700)]
Short circuit rate_block in block_rd_txfm.

Don't run rate_block (cost_coeffs) if distortion alone is enough to
surpass best_rd.

This decreases 2nd pass runtime on HD at speed 2 by about 2%. There is
zero effect on output if tx_cache is removed.

Change-Id: Ia3b1cc77bfbe6ee988c395fde06c0eb92940b784

9 years agomips msa vp8 block subtract optimization
Parag Salasakar [Fri, 31 Jul 2015 03:59:10 +0000 (09:29 +0530)]
mips msa vp8 block subtract optimization

average improvement ~2x-3x

Change-Id: I30abf4c92cddcc9e87b7a40d4106076e1ec701c2

9 years agoMerge "mips msa vp8 quantize optimization"
Parag Salasakar [Fri, 31 Jul 2015 03:44:03 +0000 (03:44 +0000)]
Merge "mips msa vp8 quantize optimization"

9 years agoRemove tx cache and speed up tx size selection
Yunqing Wang [Wed, 29 Jul 2015 20:37:41 +0000 (13:37 -0700)]
Remove tx cache and speed up tx size selection

1. The RD scores obtained during the tx size selection were stored in the
tx cache, and used to help make the tx decision for the following frames.
This wasn't used anymore in VP9 encoder. Recovered the related decision
making code from 1.5+ years ago, and borg tests didn't show any quality
gain. This patch removed it to lower the complexity.

2. An optimization was done after the above refactoring. If the tx_mode
is not TX_MODE_SELECT, we only need to test the chosen tx size instead
of all posible tx sizes. This gave a 1.5% average speed gain at speed 2,
and a 1% average speed gain at speed 3.

Change-Id: Id8cd650e066a8cef33829d8c15388a8138adc78c

9 years agoMerge "Convert simple_model_rd_from_var from a speed check to a speed feature."
Aℓex Converse [Thu, 30 Jul 2015 23:04:28 +0000 (23:04 +0000)]
Merge "Convert simple_model_rd_from_var from a speed check to a speed feature."

9 years agoMerge "Exclude vpx intra prediction functions in vp8-only build"
Hui Su [Thu, 30 Jul 2015 22:29:35 +0000 (22:29 +0000)]
Merge "Exclude vpx intra prediction functions in vp8-only build"

9 years agoConvert simple_model_rd_from_var from a speed check to a speed feature.
Alex Converse [Thu, 30 Jul 2015 20:52:02 +0000 (13:52 -0700)]
Convert simple_model_rd_from_var from a speed check to a speed feature.

Change-Id: I8877025e172fff29bc4e270790211463b676b4d7

9 years agoExclude vpx intra prediction functions in vp8-only build
hui su [Thu, 30 Jul 2015 02:43:29 +0000 (19:43 -0700)]
Exclude vpx intra prediction functions in vp8-only build

Currently vp8 is not using the intra prediction functions in vpx_dsp.

Change-Id: I1522b5f5cb12a81999fb126cf7c62c70259e7a52

9 years agomips msa vp8 quantize optimization
Parag Salasakar [Thu, 30 Jul 2015 05:26:40 +0000 (10:56 +0530)]
mips msa vp8 quantize optimization

average improvement ~2x-3x

Change-Id: I6fc37191bf9cb5a67e1af9787d0d27659c17bdba

9 years agoCleanup rdcost_block_args
Alex Converse [Thu, 30 Jul 2015 19:36:57 +0000 (12:36 -0700)]
Cleanup rdcost_block_args

Change-Id: I9d613cbe9e76b5dd15e935878ef9fd04521690ba

9 years agoMerge "Clean up some casts."
Aℓex Converse [Thu, 30 Jul 2015 19:37:28 +0000 (19:37 +0000)]
Merge "Clean up some casts."

9 years agoMerge "Cosmetics - Fix header file order in unit tests"
Jingning Han [Thu, 30 Jul 2015 05:37:53 +0000 (05:37 +0000)]
Merge "Cosmetics - Fix header file order in unit tests"

9 years agoCosmetics - Fix header file order in unit tests
Jingning Han [Wed, 29 Jul 2015 21:51:36 +0000 (14:51 -0700)]
Cosmetics - Fix header file order in unit tests

Change-Id: I9582a8d74990125b71e8fe620f7f3f2585a30798

9 years agomips msa vp8 fdct optimization
Parag Salasakar [Thu, 30 Jul 2015 02:44:42 +0000 (08:14 +0530)]
mips msa vp8 fdct optimization

average improvement ~2x-4x

Change-Id: Id0bc600440f7ef53348f585ebadb1ac6869e9a00

9 years agoMerge "mips msa vp8 post proc optimization"
Parag Salasakar [Thu, 30 Jul 2015 02:34:06 +0000 (02:34 +0000)]
Merge "mips msa vp8 post proc optimization"

9 years agoMerge "Comment zcoeff_blk."
Aℓex Converse [Thu, 30 Jul 2015 01:06:08 +0000 (01:06 +0000)]
Merge "Comment zcoeff_blk."

9 years agoComment zcoeff_blk.
Alex Converse [Wed, 29 Jul 2015 23:53:33 +0000 (16:53 -0700)]
Comment zcoeff_blk.

Change-Id: Iefc2eb78e71472ecf51802ec59ff32caef4bd0f4

9 years agoAdd const to a variable declaration
Yaowu Xu [Wed, 29 Jul 2015 23:27:34 +0000 (16:27 -0700)]
Add const to a variable declaration

Change-Id: Idf572c22a87098665f5179dc3212a06d9a85a342

9 years agoFix a typo
Yaowu Xu [Wed, 29 Jul 2015 23:23:14 +0000 (16:23 -0700)]
Fix a typo

Change-Id: Ief8eea8fe6bef139d1e94f8d6dfac5a44efe785d

9 years agoClean up some casts.
Alex Converse [Fri, 24 Jul 2015 21:59:03 +0000 (14:59 -0700)]
Clean up some casts.

Change-Id: I264ca534cd7d4755906e20aea47e7a2523bca611

9 years agomips msa vp8 post proc optimization
Parag Salasakar [Wed, 29 Jul 2015 04:10:26 +0000 (09:40 +0530)]
mips msa vp8 post proc optimization

average improvement ~2x-4x

Change-Id: I93abc15389649c169bb8b69127c0b95407d34692

9 years agoMerge "mips msa vp8 filter by weight optimization"
Parag Salasakar [Wed, 29 Jul 2015 04:00:41 +0000 (04:00 +0000)]
Merge "mips msa vp8 filter by weight optimization"

9 years agoMerge "add vp9_block_error_fp_neon"
James Zern [Wed, 29 Jul 2015 00:47:09 +0000 (00:47 +0000)]
Merge "add vp9_block_error_fp_neon"

9 years agoMerge "Replace prefix vp9_ with vpx_ for intra prediction functions"
Hui Su [Wed, 29 Jul 2015 00:38:48 +0000 (00:38 +0000)]
Merge "Replace prefix vp9_ with vpx_ for intra prediction functions"

9 years agoMerge "Replace vp9_ prefix in 2D-DCT functions with vpx_"
Jingning Han [Wed, 29 Jul 2015 00:07:31 +0000 (00:07 +0000)]
Merge "Replace vp9_ prefix in 2D-DCT functions with vpx_"

9 years agoMerge "Remove vp9_dct.h file"
Jingning Han [Wed, 29 Jul 2015 00:06:56 +0000 (00:06 +0000)]
Merge "Remove vp9_dct.h file"

9 years agoMerge "Move DC only forward 2D-DCT functions to vpx_dsp"
Jingning Han [Wed, 29 Jul 2015 00:06:37 +0000 (00:06 +0000)]
Merge "Move DC only forward 2D-DCT functions to vpx_dsp"

9 years agoReplace vp9_ prefix in 2D-DCT functions with vpx_
Jingning Han [Tue, 28 Jul 2015 22:57:40 +0000 (15:57 -0700)]
Replace vp9_ prefix in 2D-DCT functions with vpx_

Clean up the forward 2D-DCT function names in vpx_dsp.

Change-Id: I3117978596d198b690036e7eb05fe429caf3bc25

9 years agoRemove vp9_dct.h file
Jingning Han [Tue, 28 Jul 2015 22:25:05 +0000 (15:25 -0700)]
Remove vp9_dct.h file

The forward 32x32 2D-DCT functions are aligned in vpx_dsp folder.
The vp9_dct.h file is not effectively used now.

Change-Id: Ie7946b6fdd784b8e91496242337bc9002c75c281

9 years agoMerge "Remove branch in inner loop of foreach_transformed_block_in_plane()"
Aℓex Converse [Tue, 28 Jul 2015 21:59:33 +0000 (21:59 +0000)]
Merge "Remove branch in inner loop of foreach_transformed_block_in_plane()"

9 years agoMerge changes If196d9e5,Ib669d572
Aℓex Converse [Tue, 28 Jul 2015 21:59:02 +0000 (21:59 +0000)]
Merge changes If196d9e5,Ib669d572

* changes:
  Simplify is_skippable to point straight to eobs.
  Don't initialize extra context tree buffers for 4x8 and 8x4.

9 years agoMove DC only forward 2D-DCT functions to vpx_dsp
Jingning Han [Tue, 28 Jul 2015 21:42:25 +0000 (14:42 -0700)]
Move DC only forward 2D-DCT functions to vpx_dsp

This completes the forward transform functions layout refactoring.

Change-Id: I996fb0fb795f41e2040f7b21db985774098aedbd

9 years agoMerge "build/make/Android.mk: support TARGET_ARCH_ABI=x86_64"
James Zern [Tue, 28 Jul 2015 21:50:35 +0000 (21:50 +0000)]
Merge "build/make/Android.mk: support TARGET_ARCH_ABI=x86_64"

9 years agoDon't use 'h' for functions using x86inc.asm
Johann [Tue, 28 Jul 2015 21:00:32 +0000 (14:00 -0700)]
Don't use 'h' for functions using x86inc.asm

In newer version of x86inc.asm 'h' is used as a modifier for register
names.

Change-Id: Ie5b9dd2f91ecdc8f6f18b2701b6dc23042b604e4

9 years agoMerge "Move intra prediction functions from vp9/common/ to vpx_dsp/"
Hui Su [Tue, 28 Jul 2015 20:41:01 +0000 (20:41 +0000)]
Merge "Move intra prediction functions from vp9/common/ to vpx_dsp/"

9 years agoMerge "Factor 32x32 fwd DCT to vpx_dsp folder"
Jingning Han [Tue, 28 Jul 2015 20:36:59 +0000 (20:36 +0000)]
Merge "Factor 32x32 fwd DCT to vpx_dsp folder"

9 years agoFactor 32x32 fwd DCT to vpx_dsp folder
Jingning Han [Mon, 27 Jul 2015 23:05:15 +0000 (16:05 -0700)]
Factor 32x32 fwd DCT to vpx_dsp folder

Move the 32x32 2D-DCT implementations from vp9/ to vpx_dsp/.

Change-Id: Id3980696f8b69906ff7a59ff9fb2b9013d60047d

9 years agoFix dspr2 build.
Frank Galligan [Tue, 28 Jul 2015 16:05:41 +0000 (09:05 -0700)]
Fix dspr2 build.

Change-Id: I18895c29d6db872d033b3874de9dcd9501d0c10e

9 years agoadd vp9_block_error_fp_neon
James Zern [Sat, 25 Jul 2015 19:27:56 +0000 (12:27 -0700)]
add vp9_block_error_fp_neon

~60-70% faster depending on the block size

Change-Id: Icdbaa9977a91a63cbcc6ead0cf19d5a2af7f27e1

9 years agomips msa vp8 filter by weight optimization
Parag Salasakar [Tue, 28 Jul 2015 02:46:34 +0000 (08:16 +0530)]
mips msa vp8 filter by weight optimization

average improvement ~3x-5x

Change-Id: Ia808ae56b118e0e1b293901447aa5a0f597b405b

9 years agoMerge "mips msa vp8 recon intra optimization"
Parag Salasakar [Tue, 28 Jul 2015 02:27:31 +0000 (02:27 +0000)]
Merge "mips msa vp8 recon intra optimization"

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 agoReplace prefix vp9_ with vpx_ for intra prediction functions
hui su [Tue, 21 Jul 2015 16:39:46 +0000 (09:39 -0700)]
Replace prefix vp9_ with vpx_ for intra prediction functions

Change-Id: I8ae6fb586f8d5d018ace228df11714f82b085076

9 years agoMove intra prediction functions from vp9/common/ to vpx_dsp/
hui su [Sun, 19 Jul 2015 22:02:56 +0000 (15:02 -0700)]
Move intra prediction functions from vp9/common/ to vpx_dsp/

Change-Id: I64edc26cf4aab050c83f2d393df6250628ad43b8

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 agomips msa vp8 recon intra optimization
Parag Salasakar [Sat, 25 Jul 2015 07:02:26 +0000 (12:32 +0530)]
mips msa vp8 recon intra optimization

average improvement ~3x-5x

Change-Id: I73306863e9bf172d5adc06b8dd54e43985d1e063

9 years agobuild/make/Android.mk: support TARGET_ARCH_ABI=x86_64
James Zern [Fri, 24 Jul 2015 21:24:20 +0000 (14:24 -0700)]
build/make/Android.mk: support TARGET_ARCH_ABI=x86_64

requires r10e or newer:

Android NDK, Revision 10e (May 2015)
...
Other bug fixes:
...
  - Fixed .asm support for ABI x86_64.

Change-Id: I51ec9a5f77c982b7412d922e896348a83ae2d7d6

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 agoRemove branch in inner loop of foreach_transformed_block_in_plane()
Alex Converse [Fri, 24 Jul 2015 17:32:09 +0000 (10:32 -0700)]
Remove branch in inner loop of foreach_transformed_block_in_plane()

Change-Id: Ib14d09376a9ce4fa5f541264e5c335aceb71380a

9 years agoSimplify is_skippable to point straight to eobs.
Alex Converse [Fri, 24 Jul 2015 17:35:44 +0000 (10:35 -0700)]
Simplify is_skippable to point straight to eobs.

Change-Id: If196d9e5c7a15ee7d988ee2ecbf155a54d59b480

9 years agoDon't initialize extra context tree buffers for 4x8 and 8x4.
Alex Converse [Fri, 24 Jul 2015 17:35:10 +0000 (10:35 -0700)]
Don't initialize extra context tree buffers for 4x8 and 8x4.

Change-Id: Ib669d572654f24fd43410a9399a8b609e87f846a

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