platform/upstream/libvpx.git
10 years agoMerge "Make x86inc support local variable array"
Jingning Han [Mon, 19 May 2014 23:06:35 +0000 (16:06 -0700)]
Merge "Make x86inc support local variable array"

10 years agoMake x86inc support local variable array
Jingning Han [Thu, 15 May 2014 01:22:18 +0000 (18:22 -0700)]
Make x86inc support local variable array

This commit modifies the x86inc to allow explicit local buffer
allocation and the corresponding stack pointer adjustment.

Change-Id: I3cb2174e0242b5869a4ba0ca0cd240ee066836c3

10 years agoMerge "Fix valgrind read out of bounds error."
Jim Bankoski [Mon, 19 May 2014 20:39:17 +0000 (13:39 -0700)]
Merge "Fix valgrind read out of bounds error."

10 years agoMerge "Exit with error when vpxenc cannot correctly scale the input."
Alex Converse [Mon, 19 May 2014 20:20:12 +0000 (13:20 -0700)]
Merge "Exit with error when vpxenc cannot correctly scale the input."

10 years agoMerge "Add static-threshold skipping in non-rd mode"
Yunqing Wang [Mon, 19 May 2014 20:01:29 +0000 (13:01 -0700)]
Merge "Add static-threshold skipping in non-rd mode"

10 years agoFix valgrind read out of bounds error.
Jim Bankoski [Mon, 19 May 2014 19:46:22 +0000 (12:46 -0700)]
Fix valgrind read out of bounds error.

MMX variance code in vp8 was reading out of bounds..

TODO(JBB):  The best fix would involve removing duplicate library
functions between vp8 and vp9...

Change-Id: I5722853a6a58d3b55257ff385fa54c773bf98ded

10 years agoAdd static-threshold skipping in non-rd mode
Yunqing Wang [Wed, 7 May 2014 17:39:00 +0000 (10:39 -0700)]
Add static-threshold skipping in non-rd mode

Added a skipping test in non-rd inter-mode. After interpolation
prediction step, the residuals are tested to see if they will be
quantized to 0 based on modeling between spatial domain and
frequency domain.

Set static-thresh to 800 for >=720p and 300 for <720p, rtc set
tests showed
1. Speed 5, psnr: -0.514%; ssim: -1.748%;
   speedup on related clips: 5% -11%
2. Speed 6, psbr: -0.628%; ssim: -1.637%;
   speedup on related clips: 4% - 9%

Change-Id: I62fbf26bc043ecd2b584f255f1a4ee5ab52bfcf3

10 years agoMerge "Remove unused varables"
Yaowu Xu [Mon, 19 May 2014 18:28:33 +0000 (11:28 -0700)]
Merge "Remove unused varables"

10 years agoRemoving unused members from PICK_MODE_CONTEXT struct.
Dmitry Kovalev [Mon, 19 May 2014 17:41:58 +0000 (10:41 -0700)]
Removing unused members from PICK_MODE_CONTEXT struct.

Change-Id: Ieb3bc037a2ae7791323a0f9cec04381ba9b0c795

10 years agoMerge "Cleaning up vp9_cx_iface.c."
Dmitry Kovalev [Mon, 19 May 2014 17:31:19 +0000 (10:31 -0700)]
Merge "Cleaning up vp9_cx_iface.c."

10 years agoMerge "Cleaning up vp9_pick_inter_mode()."
Dmitry Kovalev [Mon, 19 May 2014 17:29:42 +0000 (10:29 -0700)]
Merge "Cleaning up vp9_pick_inter_mode()."

10 years agoMerge "Reusing swap_block_ptr() function."
Dmitry Kovalev [Mon, 19 May 2014 17:28:51 +0000 (10:28 -0700)]
Merge "Reusing swap_block_ptr() function."

10 years agoMerge "Removing unused fields from twopass_rc struct."
Dmitry Kovalev [Mon, 19 May 2014 17:27:47 +0000 (10:27 -0700)]
Merge "Removing unused fields from twopass_rc struct."

10 years agoMerge "Hiding vp9_sub_pel_filters_{8, 8s, 8lp} filters in *.c file."
Dmitry Kovalev [Mon, 19 May 2014 17:27:16 +0000 (10:27 -0700)]
Merge "Hiding vp9_sub_pel_filters_{8, 8s, 8lp} filters in *.c file."

10 years agoMerge "Making vp9_initialize_dec() static."
Dmitry Kovalev [Mon, 19 May 2014 17:27:07 +0000 (10:27 -0700)]
Merge "Making vp9_initialize_dec() static."

10 years agoMerge "Rewrite encoder input format handling."
Alex Converse [Mon, 19 May 2014 17:10:13 +0000 (10:10 -0700)]
Merge "Rewrite encoder input format handling."

10 years agoMerge "Add a TODO"
Yaowu Xu [Mon, 19 May 2014 15:37:47 +0000 (08:37 -0700)]
Merge "Add a TODO"

10 years agoMerge "Moving PC_TREE from MACROBLOCK to VP9_COMP."
Dmitry Kovalev [Sat, 17 May 2014 05:46:45 +0000 (22:46 -0700)]
Merge "Moving PC_TREE from MACROBLOCK to VP9_COMP."

10 years agoExit with error when vpxenc cannot correctly scale the input.
Alex Converse [Sat, 17 May 2014 01:49:04 +0000 (18:49 -0700)]
Exit with error when vpxenc cannot correctly scale the input.

Change-Id: I4713406b751da06c41962f444f8873accc4fa044

10 years agoMerge "vp8: Add increase_denoising parameter to denoiser."
Johann [Sat, 17 May 2014 01:32:39 +0000 (18:32 -0700)]
Merge "vp8: Add increase_denoising parameter to denoiser."

10 years agoMerge "Removing MACROBLOCKD dependency from loop filter."
Dmitry Kovalev [Fri, 16 May 2014 23:57:22 +0000 (16:57 -0700)]
Merge "Removing MACROBLOCKD dependency from loop filter."

10 years agoMerge "Correct HAVE_NEON_ASM define"
Johann [Fri, 16 May 2014 23:48:49 +0000 (16:48 -0700)]
Merge "Correct HAVE_NEON_ASM define"

10 years agovp8: Add increase_denoising parameter to denoiser.
Marco Paniconi [Fri, 16 May 2014 21:32:04 +0000 (14:32 -0700)]
vp8: Add increase_denoising parameter to denoiser.

Change-Id: I96ed73e109c4f89dd06f3583cf7ecf9277401fae

10 years agoAdd a TODO
Yaowu Xu [Fri, 16 May 2014 14:39:55 +0000 (07:39 -0700)]
Add a TODO

Change-Id: I16bf93d40e9b345705b49bf09dd4b6996b513a83

10 years agoRewrite encoder input format handling.
Alex Converse [Fri, 16 May 2014 19:29:36 +0000 (12:29 -0700)]
Rewrite encoder input format handling.

The previous approach can't scale to all of or new formats. This also
fixes YV12 input.

Change-Id: Ic4ad333770bbbd0e921f519199b57862afcbe1ab

10 years agoMoving PC_TREE from MACROBLOCK to VP9_COMP.
Dmitry Kovalev [Thu, 15 May 2014 19:01:34 +0000 (12:01 -0700)]
Moving PC_TREE from MACROBLOCK to VP9_COMP.

Because PC_TREE is encoder-level data, not MACROBLOCK-level data.

Change-Id: I4f620c0781acd3a2744860610117e74948e0b2b5

10 years agoCleaning up vp9_cx_iface.c.
Dmitry Kovalev [Wed, 14 May 2014 19:11:51 +0000 (12:11 -0700)]
Cleaning up vp9_cx_iface.c.

Marking unused parameters with (void), adding consts, fixing formatting.

Change-Id: I8ac1e6606c0f2673f78bc41830e672a680ffed02

10 years agoRemoving MACROBLOCKD dependency from loop filter.
Dmitry Kovalev [Fri, 16 May 2014 16:48:26 +0000 (09:48 -0700)]
Removing MACROBLOCKD dependency from loop filter.

Change-Id: I9ef40f3d95ab8f94f69e92ea25678a40956bc1ce

10 years agoMerge "Removing redundant decoder_init flag."
Dmitry Kovalev [Fri, 16 May 2014 16:45:51 +0000 (09:45 -0700)]
Merge "Removing redundant decoder_init flag."

10 years agoMerge "Fix post-processor macros & remove vizualization"
Adrian Grange [Fri, 16 May 2014 16:01:41 +0000 (09:01 -0700)]
Merge "Fix post-processor macros & remove vizualization"

10 years agoCorrect HAVE_NEON_ASM define
Johann [Fri, 16 May 2014 15:14:18 +0000 (08:14 -0700)]
Correct HAVE_NEON_ASM define

These optimizations are currently disabled.

Change-Id: I19c58c9cb82d017638b86196641b9e001dfa798b

10 years agoMerge "Remove intermediate step in vp8_dequantize_b"
Johann [Fri, 16 May 2014 14:33:52 +0000 (07:33 -0700)]
Merge "Remove intermediate step in vp8_dequantize_b"

10 years agoMerge "cleanup -wextra warnings:"
Yaowu Xu [Fri, 16 May 2014 14:07:47 +0000 (07:07 -0700)]
Merge "cleanup -wextra warnings:"

10 years agoMerge "Reuse precalculated result"
Yaowu Xu [Fri, 16 May 2014 14:07:18 +0000 (07:07 -0700)]
Merge "Reuse precalculated result"

10 years agoRemove unused varables
Yaowu Xu [Fri, 16 May 2014 01:49:53 +0000 (18:49 -0700)]
Remove unused varables

Change-Id: Ieb508d97026d624e853c2cd61b1ddf3591bf8233

10 years agoReuse precalculated result
Yaowu Xu [Fri, 16 May 2014 01:40:13 +0000 (18:40 -0700)]
Reuse precalculated result

Change-Id: Iff9efff6c9cb41f833cee40eae014bd4489a87d0

10 years agoset_map.c: cleanup -wextra warnings
Yaowu Xu [Tue, 13 May 2014 16:32:18 +0000 (09:32 -0700)]
set_map.c: cleanup -wextra warnings

The commit changed to use memset for initialiazation of non-trivial
strucutures, where initialization using {0} caused warnings. Also,
removed {0} initializations where appropriate initialization calls
are in place.

Change-Id: Ifd03e34aa80688e382124eb889c0fc1ec43c48e6

10 years agoMerge "Removing redundant "8x8" suffix from MODE_INFO vars."
Dmitry Kovalev [Fri, 16 May 2014 00:53:31 +0000 (17:53 -0700)]
Merge "Removing redundant "8x8" suffix from MODE_INFO vars."

10 years agoMerge "vp9_rdopt.c: cleanup -wextra warnings"
Yaowu Xu [Fri, 16 May 2014 00:44:54 +0000 (17:44 -0700)]
Merge "vp9_rdopt.c: cleanup -wextra warnings"

10 years agoMerge "vp9_tokenize.c: cleanup -wextra warnings"
Yaowu Xu [Fri, 16 May 2014 00:36:18 +0000 (17:36 -0700)]
Merge "vp9_tokenize.c: cleanup -wextra warnings"

10 years agocleanup -wextra warnings:
Yaowu Xu [Tue, 13 May 2014 17:28:47 +0000 (10:28 -0700)]
cleanup -wextra warnings:

  vp9_decoder.c
  vp9_dthread.c

Change-Id: Iaafe941545db98e9e3559096a955894646084ac2

10 years agoMerge "vp9_firstpass.c: clean -wextra warnings"
Yaowu Xu [Thu, 15 May 2014 22:20:50 +0000 (15:20 -0700)]
Merge "vp9_firstpass.c: clean -wextra warnings"

10 years agoMerge "Removing unused img_setup field."
Dmitry Kovalev [Thu, 15 May 2014 22:02:07 +0000 (15:02 -0700)]
Merge "Removing unused img_setup field."

10 years agoRemoving redundant decoder_init flag.
Dmitry Kovalev [Thu, 15 May 2014 21:59:15 +0000 (14:59 -0700)]
Removing redundant decoder_init flag.

Change-Id: Ieee7a7e3c40d6bcc9fa4df8d10ee9620995aa691

10 years agoMerge "vp9_pickmode.c: cleanup -wextra warnings"
Yaowu Xu [Thu, 15 May 2014 21:51:51 +0000 (14:51 -0700)]
Merge "vp9_pickmode.c: cleanup -wextra warnings"

10 years agoMerge "Build armv7a-only code"
Johann [Thu, 15 May 2014 19:26:24 +0000 (12:26 -0700)]
Merge "Build armv7a-only code"

10 years agoMerge "Revert "Remove Wextra warnings from vp9_sad.c""
Jim Bankoski [Thu, 15 May 2014 18:54:23 +0000 (11:54 -0700)]
Merge "Revert "Remove Wextra warnings from vp9_sad.c""

10 years agoMerge "AVX2 To VP9 Block Error Optimization"
Yunqing Wang [Thu, 15 May 2014 18:29:29 +0000 (11:29 -0700)]
Merge "AVX2 To VP9 Block Error Optimization"

10 years agovp9_firstpass.c: clean -wextra warnings
Yaowu Xu [Tue, 13 May 2014 16:52:05 +0000 (09:52 -0700)]
vp9_firstpass.c: clean -wextra warnings

Change-Id: Ic488fe6edbc119f475763d72a85809499df60106

10 years agovp9_pickmode.c: cleanup -wextra warnings
Yaowu Xu [Tue, 13 May 2014 16:39:25 +0000 (09:39 -0700)]
vp9_pickmode.c: cleanup -wextra warnings

Change-Id: I07e39f04fb11d2673722651fc78d0e9d22b1f557

10 years agovp9_rdopt.c: cleanup -wextra warnings
Yaowu Xu [Tue, 13 May 2014 18:18:25 +0000 (11:18 -0700)]
vp9_rdopt.c: cleanup -wextra warnings

Change-Id: I1f87c689cad2224181d40a7d00f5c1064ceefa4b

10 years agoReusing swap_block_ptr() function.
Dmitry Kovalev [Thu, 15 May 2014 18:19:43 +0000 (11:19 -0700)]
Reusing swap_block_ptr() function.

Change-Id: I51ae33fcaaa7330b68493a782ec6ef02539fda71

10 years agoRemoving redundant "8x8" suffix from MODE_INFO vars.
Dmitry Kovalev [Wed, 14 May 2014 19:14:02 +0000 (12:14 -0700)]
Removing redundant "8x8" suffix from MODE_INFO vars.

Change-Id: I7ed7fecc959c6598ff98895f1a5cf7e11ac1615f

10 years agoRemoving unused fields from twopass_rc struct.
Dmitry Kovalev [Thu, 15 May 2014 18:12:45 +0000 (11:12 -0700)]
Removing unused fields from twopass_rc struct.

Change-Id: Iaece070e9d1305ac3d8df9d3431fefa6e20ac0ec

10 years agoCleaning up vp9_pick_inter_mode().
Dmitry Kovalev [Thu, 15 May 2014 18:10:13 +0000 (11:10 -0700)]
Cleaning up vp9_pick_inter_mode().

Change-Id: I21bff31e58e9078b4ffcbd2027cc52366843ff23

10 years agoMerge "Refactor calling loopfilter code."
hkuang [Thu, 15 May 2014 17:51:10 +0000 (10:51 -0700)]
Merge "Refactor calling loopfilter code."

10 years agoRefactor calling loopfilter code.
hkuang [Wed, 14 May 2014 18:48:58 +0000 (11:48 -0700)]
Refactor calling loopfilter code.

This change is mainly for a follow CL that will refactor the
decode_tiles.

Change-Id: I52de6f8dbada75a64d9a94ebb5975136ed0960b4

10 years agoFix post-processor macros & remove vizualization
Adrian Grange [Wed, 14 May 2014 23:05:21 +0000 (16:05 -0700)]
Fix post-processor macros & remove vizualization

Make all post-processor code conditionally
compilable based on the CONFIG_VP9_POSTPROC
macro.

Also, remove the vizualization code from VP9
since it is out of date and will not compile.

Change-Id: I1e9e13a09ecd43e9a3f3704c175ae8cd258ababd

10 years agoRevert "Remove Wextra warnings from vp9_sad.c"
Jim Bankoski [Thu, 15 May 2014 15:31:20 +0000 (08:31 -0700)]
Revert "Remove Wextra warnings from vp9_sad.c"

This reverts commit 7ab9a9587b96db4edce6be916c1f02297a9555ff

Nightly test http://build.webmproject.org/jenkins/view/libvpx-nightly-tests/job/libvpx%20unit%20tests%20(valgrind-2)/arch=x86_64-linux-gcc,filter=-*VP8*:*Large.*/276/console

Failed

This patch did not address all the assembly issues
some of the vp8 assembly counts on 5 arguments being passed in to this function:

one example : vp8_sad8x16_wmt

Please address or split this into vp9 and vp8 patches.

Change-Id: I78afcc171649894f887bb8ee3c66de24aaddc7ca

10 years agoMerge "vp9_decodeframe.c: cleanup -wextra warnings"
Yaowu Xu [Thu, 15 May 2014 13:50:51 +0000 (06:50 -0700)]
Merge "vp9_decodeframe.c: cleanup -wextra warnings"

10 years agoMerge "vp9_ratectrl.c: cleanup -wextra warning"
Yaowu Xu [Thu, 15 May 2014 13:50:12 +0000 (06:50 -0700)]
Merge "vp9_ratectrl.c: cleanup -wextra warning"

10 years agoMerge "Silence unused parameter warnings."
Paul Wilkins [Thu, 15 May 2014 09:39:22 +0000 (02:39 -0700)]
Merge "Silence unused parameter warnings."

10 years agoMerge "Clear unused parameter warning."
Paul Wilkins [Thu, 15 May 2014 09:39:14 +0000 (02:39 -0700)]
Merge "Clear unused parameter warning."

10 years agoMerge "vp9_quantizer.c: cleanup -wextra warnings"
Yaowu Xu [Thu, 15 May 2014 00:48:33 +0000 (17:48 -0700)]
Merge "vp9_quantizer.c: cleanup -wextra warnings"

10 years agoMerge "vp9_mbgraph.c: cleanup -wextra warnings"
Yaowu Xu [Thu, 15 May 2014 00:17:28 +0000 (17:17 -0700)]
Merge "vp9_mbgraph.c: cleanup -wextra warnings"

10 years agoRemoving unused img_setup field.
Dmitry Kovalev [Wed, 14 May 2014 23:47:33 +0000 (16:47 -0700)]
Removing unused img_setup field.

Change-Id: I152e54fa1acceea5ec809d5bf7bfa7f4ef2b9acf

10 years agoMaking vp9_initialize_dec() static.
Dmitry Kovalev [Wed, 14 May 2014 23:33:00 +0000 (16:33 -0700)]
Making vp9_initialize_dec() static.

Change-Id: I831fe91dfadf4e89f5bbba6ab7a9917d8dd2ed55

10 years agoHiding vp9_sub_pel_filters_{8, 8s, 8lp} filters in *.c file.
Dmitry Kovalev [Wed, 14 May 2014 23:21:41 +0000 (16:21 -0700)]
Hiding vp9_sub_pel_filters_{8, 8s, 8lp} filters in *.c file.

Change-Id: Id401da740b0a0141caaef9e1bcccd981e5cef4a4

10 years agoMerge "Rename vpx_temporal_scalable_patterns.c"
Tom Finegan [Wed, 14 May 2014 22:20:36 +0000 (15:20 -0700)]
Merge "Rename vpx_temporal_scalable_patterns.c"

10 years agoMerge "Moving frame_coef_probs from VP9_COMP to local scope."
Dmitry Kovalev [Wed, 14 May 2014 19:38:19 +0000 (12:38 -0700)]
Merge "Moving frame_coef_probs from VP9_COMP to local scope."

10 years agoMerge "Cleaning up vp9_context_tree.c."
Dmitry Kovalev [Wed, 14 May 2014 19:26:48 +0000 (12:26 -0700)]
Merge "Cleaning up vp9_context_tree.c."

10 years agoRemove intermediate step in vp8_dequantize_b
Johann [Wed, 14 May 2014 18:33:47 +0000 (11:33 -0700)]
Remove intermediate step in vp8_dequantize_b

With the intrinsics it is no longer necessary to have a stub/helper
function.

Change-Id: I3695961c3c94f1bb750d3b7b29716e509ebba482

10 years agoBuild armv7a-only code
Johann [Tue, 13 May 2014 21:17:02 +0000 (14:17 -0700)]
Build armv7a-only code

Allow disabling the more generic NEON code.
Use filtered option to disable rtcd code.

Change-Id: Icb4500c1a2bac16eed3c5e3ec0c35e92e6bbbb9f

10 years agoAVX2 To VP9 Block Error Optimization
levytamar82 [Wed, 23 Apr 2014 05:40:48 +0000 (22:40 -0700)]
AVX2 To VP9 Block Error Optimization

vp9_block_error_sse2 can only handle 16 bytes at a time but
the function requires to handle a sequence of 32 bytes at a time
so each 16 bytes is handled in a different register.
With AVX2 optimization the 32 bytes can be handled in one register instead
of two in the SSE2
The vp9_block_error was optimized by 85%.
The user level was optimized by 1.2%

Change-Id: Ia8fffe60e61eff7432a5fbd538757894f6c319fd

10 years agoMerge "Revert "VP8 for ARMv8 by using NEON intrinsics 06" This reverts commit 81ad047...
Johann [Wed, 14 May 2014 18:30:25 +0000 (11:30 -0700)]
Merge "Revert "VP8 for ARMv8 by using NEON intrinsics 06" This reverts commit 81ad047ee57ecb0e2c1ee4dcebda54a44ea54ae9. Revert "VP8 for ARMv8 by using NEON intrinsics 15" This reverts commit 727af7cebe3698b8493ba6c1360b0a6606c310fb."

10 years agoRename vpx_temporal_scalable_patterns.c
Tom Finegan [Wed, 14 May 2014 18:21:15 +0000 (11:21 -0700)]
Rename vpx_temporal_scalable_patterns.c

New name: vpx_temporal_svc_encoder.c
Also, update comment to note that example supports VP8 and VP9.

Change-Id: I6fffab81296f918ebca740192a5c609593852dff

10 years agoMerge "Revert "Revert "Remove struct params from vp8_denoiser_filter"""
Marco Paniconi [Wed, 14 May 2014 18:00:56 +0000 (11:00 -0700)]
Merge "Revert "Revert "Remove struct params from vp8_denoiser_filter"""

10 years agoRevert "Revert "Remove struct params from vp8_denoiser_filter""
Marco Paniconi [Wed, 14 May 2014 17:55:53 +0000 (10:55 -0700)]
Revert "Revert "Remove struct params from vp8_denoiser_filter""

This reverts commit 06e6d56fa138d84759e8bdfd4c721ead000051b4

Change-Id: If95598385b693945d6b144d03b6da8f6a57dac98

10 years agoMerge "Tune minq index table for P frames in one_pass_cbr coding mode"
Jingning Han [Wed, 14 May 2014 17:50:11 +0000 (10:50 -0700)]
Merge "Tune minq index table for P frames in one_pass_cbr coding mode"

10 years agovp9_ratectrl.c: cleanup -wextra warning
Yaowu Xu [Tue, 13 May 2014 18:10:13 +0000 (11:10 -0700)]
vp9_ratectrl.c: cleanup -wextra warning

Change-Id: I7ca46fa26acd80a21210cb8d9584ad812cb995bf

10 years agovp9_tokenize.c: cleanup -wextra warnings
Yaowu Xu [Tue, 13 May 2014 17:44:40 +0000 (10:44 -0700)]
vp9_tokenize.c: cleanup -wextra warnings

Change-Id: I85854f1ab2d60feea0bfe6b2141f89a998777ecb

10 years agoMerge "Fix int compared to unsigned int warnings."
Paul Wilkins [Wed, 14 May 2014 17:08:30 +0000 (10:08 -0700)]
Merge "Fix int compared to unsigned int warnings."

10 years agoMerge "Simplify 2 pass KF bitrate allocation"
Paul Wilkins [Wed, 14 May 2014 17:08:11 +0000 (10:08 -0700)]
Merge "Simplify 2 pass KF bitrate allocation"

10 years agoMerge "Further two pass clean up."
Paul Wilkins [Wed, 14 May 2014 17:07:51 +0000 (10:07 -0700)]
Merge "Further two pass clean up."

10 years agoMerge "Remove Wextra warnings from vp9_sad.c"
Deb Mukherjee [Wed, 14 May 2014 17:01:50 +0000 (10:01 -0700)]
Merge "Remove Wextra warnings from vp9_sad.c"

10 years agovp9_decodeframe.c: cleanup -wextra warnings
Yaowu Xu [Tue, 13 May 2014 17:07:45 +0000 (10:07 -0700)]
vp9_decodeframe.c: cleanup -wextra warnings

Change-Id: I0315cea6a5e58182bc2556e9825ec2ef0b1480c3

10 years agovp9_quantizer.c: cleanup -wextra warnings
Yaowu Xu [Tue, 13 May 2014 16:56:43 +0000 (09:56 -0700)]
vp9_quantizer.c: cleanup -wextra warnings

Change-Id: If5a3c48a8c554018a5d63c1541a2900f15767a00

10 years agoMerge "Silience -wextra warnings in vp9_reconintra.c"
Jingning Han [Wed, 14 May 2014 16:25:08 +0000 (09:25 -0700)]
Merge "Silience -wextra warnings in vp9_reconintra.c"

10 years agoClear unused parameter warning.
Paul Wilkins [Wed, 14 May 2014 12:07:28 +0000 (13:07 +0100)]
Clear unused parameter warning.

Caused by a parameter which is only used under
#if CONFIG_VP9_POSTPROC.

Change-Id: I2c0979d215d45f56da1a38bb13aa214bde52a640

10 years agovp9_mbgraph.c: cleanup -wextra warnings
Yaowu Xu [Tue, 13 May 2014 16:42:08 +0000 (09:42 -0700)]
vp9_mbgraph.c: cleanup -wextra warnings

Change-Id: Ia6e2c2741adbf45f98a447dbb401506f95a2b0c8

10 years agoMerge "Rename vp9_spatial_scalable_encoder."
Tom Finegan [Wed, 14 May 2014 15:57:39 +0000 (08:57 -0700)]
Merge "Rename vp9_spatial_scalable_encoder."

10 years agoMerge "Add test for the twopass_encoder example."
Tom Finegan [Wed, 14 May 2014 15:57:29 +0000 (08:57 -0700)]
Merge "Add test for the twopass_encoder example."

10 years agoMerge "Add test for the resize_util example."
Tom Finegan [Wed, 14 May 2014 15:57:21 +0000 (08:57 -0700)]
Merge "Add test for the resize_util example."

10 years agoSilence unused parameter warnings.
Paul Wilkins [Wed, 14 May 2014 12:50:51 +0000 (13:50 +0100)]
Silence unused parameter warnings.

The various motion search functions share a
common function prototype. In the case of
vp9_full_range_search() two of the parameters
are not needed.

Change-Id: I0e190af54a3b3f276409f20e8ec55912f9b0b798

10 years agoFix int compared to unsigned int warnings.
Paul Wilkins [Wed, 14 May 2014 12:27:16 +0000 (13:27 +0100)]
Fix int compared to unsigned int warnings.

Also delete vp9_set_roimap() which is not used in VP9.

Change-Id: I48c60b1dc8794c6a234f9c3d95e2debb7bdb3fd5

10 years agoMerge "Clean up two unused parameters."
Paul Wilkins [Wed, 14 May 2014 15:05:44 +0000 (08:05 -0700)]
Merge "Clean up two unused parameters."

10 years agoSilence unused parameter warnings.
Paul Wilkins [Wed, 14 May 2014 13:06:16 +0000 (14:06 +0100)]
Silence unused parameter warnings.

Remove two unused parameters in the function
vp9_refining_search_8p_c().

Change-Id: Ic192734586291cf5400926eeb8e720e69d40835c

10 years agoClean up two unused parameters.
Paul Wilkins [Wed, 14 May 2014 11:59:34 +0000 (12:59 +0100)]
Clean up two unused parameters.

Unused parameters to encode_without_recode_loop()

Change-Id: Ia94ce09199cd2419f26964eb5b53db2b7718cf03

10 years agoSimplify 2 pass KF bitrate allocation
Paul Wilkins [Wed, 14 May 2014 11:06:50 +0000 (12:06 +0100)]
Simplify 2 pass KF bitrate allocation

Simplify the calculation of KF bitrate in similar way
to previous patch for GF/arf.

This has no impact on derf or std hd sets but gives a
small net gain of ~0.1% for yt and yt-hd sets.

Change-Id: Ida64ac1428d9c2a62adb67056fadbf0180eff030

10 years agoFurther two pass clean up.
Paul Wilkins [Mon, 12 May 2014 17:07:02 +0000 (18:07 +0100)]
Further two pass clean up.

The variation in boost calculation for gf and arf groups
is not significant enough to justify the extra complexity.
Also removed some other spurious code that no longer
has much material impact.

The handling of the rare case, where the boost bits
number is less than the number of bits a that would
be allocated if a frame was not boosted, will be dealt
with in a subsequent patch.

This change actually helps on all sets a little by
~0.1% - 0.2% with slightly bigger gains on SSIM.

Change-Id: Id42c1ac22a80a8c4993cfa0e51bc733eb9ed4f75