platform/upstream/libvpx.git
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 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 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 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_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 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

10 years agoRemove Wextra warnings from vp9_sad.c
Deb Mukherjee [Tue, 13 May 2014 17:11:42 +0000 (10:11 -0700)]
Remove Wextra warnings from vp9_sad.c

As a side-effect, the max_sad check is removed from the
C-implementation of VP8, for consistency with VP9, and to
ensure that the SAD tests common to VP8/VP9 pass.
That will make the VP8 C implementation of sad a little slower
but given that is rarely used in practice, the impact will be
minimal.

Change-Id: I7f43089fdea047fbf1862e40c21e4715c30f07ca

10 years agoAdd test for the resize_util example.
Tom Finegan [Mon, 5 May 2014 18:18:37 +0000 (11:18 -0700)]
Add test for the resize_util example.

Change-Id: I97c052a35a1d54455b91c269fd6a9a094fa3db7f

10 years agoMerge "Moving loopfilter call to vp9_decode_frame()."
Dmitry Kovalev [Wed, 14 May 2014 00:20:26 +0000 (17:20 -0700)]
Merge "Moving loopfilter call to vp9_decode_frame()."

10 years agoMerge "vp9_convolve.c: cleanup -wextra warnings"
Adrian Grange [Tue, 13 May 2014 23:01:38 +0000 (16:01 -0700)]
Merge "vp9_convolve.c: cleanup -wextra warnings"

10 years agoRename vp9_spatial_scalable_encoder.
Tom Finegan [Fri, 9 May 2014 18:11:56 +0000 (11:11 -0700)]
Rename vp9_spatial_scalable_encoder.

Rename it to vp9_spatial_svc_encoder.

Change-Id: I756936039df5bf6bea2d7525a7edeac01df94352

10 years agoMerge "Adding get_tile_buffers() function."
Dmitry Kovalev [Tue, 13 May 2014 22:25:34 +0000 (15:25 -0700)]
Merge "Adding get_tile_buffers() function."

10 years agoMerge "Fixing constant value used to calculate frame pts and duration."
Dmitry Kovalev [Tue, 13 May 2014 22:10:45 +0000 (15:10 -0700)]
Merge "Fixing constant value used to calculate frame pts and duration."

10 years agoMerge "Inlining setup_key_frame() and setup_inter_frame()."
Dmitry Kovalev [Tue, 13 May 2014 22:00:22 +0000 (15:00 -0700)]
Merge "Inlining setup_key_frame() and setup_inter_frame()."

10 years agoRevert "VP8 for ARMv8 by using NEON intrinsics 06"
Johann [Tue, 13 May 2014 20:03:20 +0000 (13:03 -0700)]
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.

This exposes a bug in gcc 4.9 regarding register allocation. Will reland
when 4.9 is fixed.

Change-Id: I2d8a04e4edde93719280e41550f4c0765608ec4d

10 years agoSilience -wextra warnings in vp9_reconintra.c
Jingning Han [Tue, 13 May 2014 18:06:48 +0000 (11:06 -0700)]
Silience -wextra warnings in vp9_reconintra.c

The warning messages complained that there are unused arguments
in a few prediction modes. This structure was designed on purpose,
such that a wrapper function can cover all prediction mode cases
and make them readily accessible as an pointer array.

This commit silences such warnings.

Change-Id: I7036b6bdb70747e5327d8f6fceb154f100abc4c0

10 years agoTune minq index table for P frames in one_pass_cbr coding mode
Jingning Han [Mon, 12 May 2014 17:55:14 +0000 (10:55 -0700)]
Tune minq index table for P frames in one_pass_cbr coding mode

Allow slightly larger minq-maxq range for P frames. This improves
the compression performance of speed -5 for rtc set by 2.7% in psnr.

Change-Id: I438653d52d0fe51111509c6092e2334bac2de0cf

10 years agoAdd test for the twopass_encoder example.
Tom Finegan [Thu, 8 May 2014 19:05:30 +0000 (12:05 -0700)]
Add test for the twopass_encoder example.

Change-Id: I7b577f2a492e981156f969f8f9e61f9d2156fe60

10 years agoMerge "configure: remove php test"
James Zern [Tue, 13 May 2014 18:44:28 +0000 (11:44 -0700)]
Merge "configure: remove php test"

10 years agoMerge changes Idb8dd5f3,I7743611b
James Zern [Tue, 13 May 2014 18:43:38 +0000 (11:43 -0700)]
Merge changes Idb8dd5f3,I7743611b

* changes:
  vpxenc: add some missing CONFIG_WEBM_IO checks
  vpxdec: add some missing CONFIG_WEBM_IO checks

10 years agoMerge "svc_encodeframe.c: change to use correct type"
Yaowu Xu [Tue, 13 May 2014 17:35:38 +0000 (10:35 -0700)]
Merge "svc_encodeframe.c: change to use correct type"

10 years agoMerge "Move frame stats output to after update"
Adrian Grange [Tue, 13 May 2014 17:07:36 +0000 (10:07 -0700)]
Merge "Move frame stats output to after update"

10 years agovp9_convolve.c: cleanup -wextra warnings
Adrian Grange [Tue, 13 May 2014 16:55:41 +0000 (09:55 -0700)]
vp9_convolve.c: cleanup -wextra warnings

Change-Id: I04930aca2293ebbaeb96dfedd2f9c5a55762fd2e

10 years agoconfigure: remove php test
James Zern [Sat, 10 May 2014 18:15:11 +0000 (11:15 -0700)]
configure: remove php test

+ the remnants in the build system & README

the documentation that required php was removed in:
50fa585 Removing examples code generation and making them static.

Change-Id: Ibf00dca9ab2715fc21e8de358807b63d1445662c

10 years agovpxenc: add some missing CONFIG_WEBM_IO checks
James Zern [Sun, 11 May 2014 00:44:12 +0000 (17:44 -0700)]
vpxenc: add some missing CONFIG_WEBM_IO checks

fixes build of this file in the dist directory when using
'--enable-install-srcs'

Change-Id: Idb8dd5f392509e6a6d8a83908e53d161d2036971

10 years agovpxdec: add some missing CONFIG_WEBM_IO checks
James Zern [Sun, 11 May 2014 00:44:12 +0000 (17:44 -0700)]
vpxdec: add some missing CONFIG_WEBM_IO checks

fixes build of this file in the dist directory when using
'--enable-install-srcs'

Change-Id: I7743611bea9e0bddb473777e2e007e6eadebfc1f

10 years agosvc_encodeframe.c: change to use correct type
Yaowu Xu [Tue, 13 May 2014 00:22:10 +0000 (17:22 -0700)]
svc_encodeframe.c: change to use correct type

Change-Id: I2e97a1d3935944573d027a8020fe1aa391a6f27a

10 years agoInlining setup_key_frame() and setup_inter_frame().
Dmitry Kovalev [Tue, 13 May 2014 00:13:07 +0000 (17:13 -0700)]
Inlining setup_key_frame() and setup_inter_frame().

Change-Id: I6c0f0f91c189c041559f724f4faeada144390353

10 years agoMoving loopfilter call to vp9_decode_frame().
Dmitry Kovalev [Mon, 12 May 2014 23:19:19 +0000 (16:19 -0700)]
Moving loopfilter call to vp9_decode_frame().

Inline loopfilter has been already handled in vp9_decode_frame().
Collecting all similar code in one place now.

Change-Id: I358a0280fc7c2b27cca520bc1e8c16c4eb6491dd

10 years agoMerge "vp9_pickmode.c: Removed unused function parameters"
Yaowu Xu [Mon, 12 May 2014 21:56:54 +0000 (14:56 -0700)]
Merge "vp9_pickmode.c: Removed unused function parameters"

10 years agoMerge "Change to use proper type"
Yaowu Xu [Mon, 12 May 2014 21:05:52 +0000 (14:05 -0700)]
Merge "Change to use proper type"

10 years agoMerge "fixed comparison of different int types."
Yaowu Xu [Mon, 12 May 2014 21:05:47 +0000 (14:05 -0700)]
Merge "fixed comparison of different int types."

10 years agoAdding get_tile_buffers() function.
Dmitry Kovalev [Mon, 12 May 2014 19:49:29 +0000 (12:49 -0700)]
Adding get_tile_buffers() function.

Change-Id: I910c437b80af90c50831e1fbff75842d4276a027

10 years agovp9_pickmode.c: Removed unused function parameters
Yaowu Xu [Mon, 12 May 2014 19:10:23 +0000 (12:10 -0700)]
vp9_pickmode.c: Removed unused function parameters

Change-Id: I4ec07d3935dc56ca16ea4ba1e5730b09f1bf1f21

10 years agoChange to use proper type
Yaowu Xu [Mon, 12 May 2014 18:54:13 +0000 (11:54 -0700)]
Change to use proper type

Change-Id: If1afb9f3eaec88079d1d97907870409bce691c2a

10 years agoMerge "Cleanup unused parameters"
Yaowu Xu [Mon, 12 May 2014 18:05:54 +0000 (11:05 -0700)]
Merge "Cleanup unused parameters"

10 years agoMerge "Fixed comparison of different int types"
Yaowu Xu [Mon, 12 May 2014 18:05:48 +0000 (11:05 -0700)]
Merge "Fixed comparison of different int types"

10 years agofixed comparison of different int types.
Yaowu Xu [Mon, 12 May 2014 17:01:00 +0000 (10:01 -0700)]
fixed comparison of different int types.

Change-Id: Iaa5543eb9e17589d46d9ed2bc363e2646ed4e01e

10 years agoMerge "Only build neon assembly for armv7 targets"
Johann [Mon, 12 May 2014 16:57:20 +0000 (09:57 -0700)]
Merge "Only build neon assembly for armv7 targets"

10 years agoCleanup unused parameters
Yaowu Xu [Mon, 12 May 2014 16:53:11 +0000 (09:53 -0700)]
Cleanup unused parameters

Remove unused function parameters from:
vp9_encodemb.c
vp9_encodeframe.c

Change-Id: I07725e5099cf98486e70c9c70babb0cd785c58a9

10 years agoFixed comparison of different int types
Yaowu Xu [Mon, 12 May 2014 16:40:11 +0000 (09:40 -0700)]
Fixed comparison of different int types

Change-Id: I499635967faaf4ec1c498e88d09b2d3f2a4badba

10 years agoOnly build neon assembly for armv7 targets
Johann [Wed, 7 May 2014 18:01:31 +0000 (11:01 -0700)]
Only build neon assembly for armv7 targets

Allow selectively building just the intrinsics for armv8

Change-Id: I2f29b2e4508b8b8e5649c2906b3159ad1d4ec477

10 years agoClean up of firstpass.c
Paul Wilkins [Fri, 9 May 2014 16:32:05 +0000 (17:32 +0100)]
Clean up of firstpass.c

Re-factor duplicate code.
Add two pass check for use of section_intra_rating as
it is un-initialised in the 1 pass and rt case.

Change-Id: I93120796f07961b8a21fb26e1a9f0d3d13949994

10 years agoFirst pass clean up.
Paul Wilkins [Fri, 9 May 2014 13:38:38 +0000 (14:38 +0100)]
First pass clean up.

One of a series of changes to clean up two pass
allocation as precursor to support for multiple arf
or boosted frames per GF/ARF group.

This change pulls out the calculation of the total bits
allocated to a GF/ARF group into a function, to aid
readability and reduce the line count for define_gf_group().

This change should have no material impact on output.

Change-Id: I716fba08e26f9ddde3257e7d9b188453791883a3

10 years agoMerge "Fix check of debug counts for corrupt frame"
Adrian Grange [Sun, 11 May 2014 16:13:55 +0000 (09:13 -0700)]
Merge "Fix check of debug counts for corrupt frame"

10 years agoMerge "vp9_dx_iface: subtract ptrs to validate frame_size"
James Zern [Sat, 10 May 2014 18:05:31 +0000 (11:05 -0700)]
Merge "vp9_dx_iface: subtract ptrs to validate frame_size"

10 years agoMerge "Apply constrained partition search range to non-RD mode decision"
Jingning Han [Sat, 10 May 2014 17:39:26 +0000 (10:39 -0700)]
Merge "Apply constrained partition search range to non-RD mode decision"

10 years agoMerge "Removing VP9DecoderConfig."
Dmitry Kovalev [Sat, 10 May 2014 02:13:08 +0000 (19:13 -0700)]
Merge "Removing VP9DecoderConfig."

10 years agoApply constrained partition search range to non-RD mode decision
Jingning Han [Wed, 23 Apr 2014 21:54:16 +0000 (14:54 -0700)]
Apply constrained partition search range to non-RD mode decision

This commit enables a chessboard pattern for partition search. All
the black blocks run regular partition search ranging from 8x8 to
32x32. The rest white blocks take the nearby blocks' information
to adaptively decide the effective search range.

The compression performance for rtc set at speed -5 is down by 1.5%.
For pedestrian 1080p at speed -5, the runtime goes from 41594 ms to
39697 ms, i.e., about 5% faster.

Change-Id: Ia4b96e237abfaada487c743bca08fe1afd298685

10 years agoAdd another test vector
Yaowu Xu [Fri, 9 May 2014 23:20:49 +0000 (16:20 -0700)]
Add another test vector

The test vector has segment enabled with different quantizer used for
different segments for bot the first frame(key) frame and the rest of
non-key frames.

Change-Id: I7e21122183050ee046219caba483c18cbc34afe7

10 years agoMerge "Added a test vector"
Yaowu Xu [Fri, 9 May 2014 22:56:45 +0000 (15:56 -0700)]
Merge "Added a test vector"

10 years agoMerge "Remove bitrotted example code: example_xma"
Tom Finegan [Fri, 9 May 2014 21:11:22 +0000 (14:11 -0700)]
Merge "Remove bitrotted example code: example_xma"

10 years agoMerge "Add an x86inc MMX fwht4x4."
Alex Converse [Fri, 9 May 2014 20:48:49 +0000 (13:48 -0700)]
Merge "Add an x86inc MMX fwht4x4."

10 years agoMerge "Allow speed 5 lossless"
Alex Converse [Fri, 9 May 2014 20:48:42 +0000 (13:48 -0700)]
Merge "Allow speed 5 lossless"

10 years agoRemove bitrotted example code: example_xma
Tom Finegan [Fri, 9 May 2014 17:55:55 +0000 (10:55 -0700)]
Remove bitrotted example code: example_xma

Doesn't work. Doesn't build. Not supported.

Change-Id: I5a2f9965afdda82370049c10ebcbe77ac4c6c9b9

10 years agoFix check of debug counts for corrupt frame
Adrian Grange [Wed, 7 May 2014 17:31:55 +0000 (10:31 -0700)]
Fix check of debug counts for corrupt frame

Fixes the idecoder in the case where:
  cm->error_resilient_mode == 0, and
  cm->frame_parallel_decoding_mode == 0, but
  new_fb->corrupted == 1.

The assert in debug_check_frame_counts fails to
take into account the case of a corrupt frame.

Change-Id: Idf318a68458cc88d65d6f3f408a10d8ffe87e43f

10 years agoMerge changes I3edd4b95,I4514f974,Ie7fa4386
Jingning Han [Fri, 9 May 2014 16:58:39 +0000 (09:58 -0700)]
Merge changes I3edd4b95,I4514f974,Ie7fa4386

* changes:
  Turn on unit tests for SSSE3 8x8 forward and inverse 2D-DCT
  Change eob threshold for partial inverse 8x8 2D-DCT to 12
  SSSE3 8x8 inverse 2D-DCT with first 10 coeffs non-zero

10 years agoAllow speed 5 lossless
Alex Converse [Fri, 9 May 2014 01:28:16 +0000 (18:28 -0700)]
Allow speed 5 lossless

tx_mode supercedes whatever mechanism is used to push for 16x16
allowing for the use of the 4x4 transform.

Change-Id: I6c3f05ab9fe52050e40cc6303de9334653763289

10 years agoMove frame stats output to after update
Adrian Grange [Fri, 9 May 2014 16:44:47 +0000 (09:44 -0700)]
Move frame stats output to after update

Frame-level stats were being output before the
post-encode update had been carried out.

Change-Id: I67405c67c020cde4468f5db3cee76f7de5b624eb

10 years agoMerge "Skip testing large tx sizes when encoding lossless."
Yaowu Xu [Fri, 9 May 2014 16:28:05 +0000 (09:28 -0700)]
Merge "Skip testing large tx sizes when encoding lossless."

10 years agovp9_dx_iface: subtract ptrs to validate frame_size
James Zern [Fri, 9 May 2014 03:20:20 +0000 (20:20 -0700)]
vp9_dx_iface: subtract ptrs to validate frame_size

Change-Id: Ic5a6a4a2fec802d9c9c7a71dbae59d5b4d3a8b23

10 years agovp9_dx_iface: fix implicit ptrdiff_t -> uint32_t conversion
James Zern [Fri, 9 May 2014 03:19:49 +0000 (20:19 -0700)]
vp9_dx_iface: fix implicit ptrdiff_t -> uint32_t conversion

Change-Id: Ib773aac06b22009408cdd29a73190b276a53fcf6

10 years agoSkip testing large tx sizes when encoding lossless.
Alex Converse [Fri, 9 May 2014 01:04:56 +0000 (18:04 -0700)]
Skip testing large tx sizes when encoding lossless.

Change-Id: Ib7a17893f6dc0f501b1252ae32804ede144dde37

10 years agoMerge "Revert "Removing redundant variables from variance_test.cc.""
James Zern [Thu, 8 May 2014 23:28:55 +0000 (16:28 -0700)]
Merge "Revert "Removing redundant variables from variance_test.cc.""

10 years agoRemoving VP9DecoderConfig.
Dmitry Kovalev [Thu, 8 May 2014 23:24:36 +0000 (16:24 -0700)]
Removing VP9DecoderConfig.

We only used two members from that struct: max_threads and inv_tile_order.
Moving them directly to VP9Decoder struct.

Change-Id: If696a4e5b5b41868a55f3cc971e1d7c1dd9d5f69

10 years agoMerge "Remove decode_with_partial_drops example."
Tom Finegan [Thu, 8 May 2014 22:54:46 +0000 (15:54 -0700)]
Merge "Remove decode_with_partial_drops example."

10 years agoMerge "Add test for the vp8cx_set_ref example."
Tom Finegan [Thu, 8 May 2014 22:54:35 +0000 (15:54 -0700)]
Merge "Add test for the vp8cx_set_ref example."

10 years agoMerge "tools_common.sh: Fix vlog()"
Tom Finegan [Thu, 8 May 2014 22:54:26 +0000 (15:54 -0700)]
Merge "tools_common.sh: Fix vlog()"

10 years agoMerge "Simplifying decoder_decode() function."
Dmitry Kovalev [Thu, 8 May 2014 22:01:40 +0000 (15:01 -0700)]
Merge "Simplifying decoder_decode() function."

10 years agoRevert "Removing redundant variables from variance_test.cc."
James Zern [Thu, 8 May 2014 21:32:32 +0000 (14:32 -0700)]
Revert "Removing redundant variables from variance_test.cc."

This reverts commit 4725ab7e51a69bf890856e524c6d78aadd97d64e.

The constants are necessary to avoid breakage in vs9 builds:
 warning C4180: qualifier applied to function type has no meaning; ignored
 error C2436: 'f2_' : member function or nested class in constructor initializer list
 while compiling class template member function 'std::tr1::tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>::tuple(const int &,const int &,unsigned int (__cdecl &))'
 ..\test\variance_test.cc : see reference to class template instantiation 'std::tr1::tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>' being compiled

Change-Id: Ia218b74fc473d40f02fee84cb7009adfbe82e5a7

10 years agoMerge "webmdec: Fix visual studio warnings."
James Zern [Thu, 8 May 2014 19:43:54 +0000 (12:43 -0700)]
Merge "webmdec: Fix visual studio warnings."

10 years agoAdd test for the vp8cx_set_ref example.
Tom Finegan [Thu, 8 May 2014 19:35:36 +0000 (12:35 -0700)]
Add test for the vp8cx_set_ref example.

Change-Id: I68850699ecaebbbb7962cbc1c9bc85e92a0ea5ca

10 years agotools_common.sh: Fix vlog()
Tom Finegan [Thu, 8 May 2014 19:06:08 +0000 (12:06 -0700)]
tools_common.sh: Fix vlog()

Abusing '[] && echo' resulted in the --verbose flag being required to
actually run tests.

Change-Id: I39edaa30a05272928f9f4a4bb8581f91d6fe824b

10 years agoAdd an x86inc MMX fwht4x4.
Alex Converse [Wed, 7 May 2014 19:51:11 +0000 (12:51 -0700)]
Add an x86inc MMX fwht4x4.

Change-Id: Ib0a73d4863478f9b8a00976379d25d2f6ebbb197

10 years agoUse __asm__ __volatile__ with gcc
Johann [Thu, 8 May 2014 18:16:07 +0000 (11:16 -0700)]
Use __asm__ __volatile__ with gcc

Some version of clang refuse 'asm volatile'

Change-Id: I79d909ac8ae3c04b608f20c6f10fa79b7f9fc8e0

10 years agoTurn on unit tests for SSSE3 8x8 forward and inverse 2D-DCT
Jingning Han [Thu, 8 May 2014 16:56:38 +0000 (09:56 -0700)]
Turn on unit tests for SSSE3 8x8 forward and inverse 2D-DCT

Change-Id: I3edd4b956a1273d65547771bf43c5cdaea25e5d6

10 years agoChange eob threshold for partial inverse 8x8 2D-DCT to 12
Jingning Han [Thu, 8 May 2014 16:42:26 +0000 (09:42 -0700)]
Change eob threshold for partial inverse 8x8 2D-DCT to 12

The scanning order has the first 12 coefficients of the 8x8 2D-DCT
sitting in the top left 4x4 block. Hence the partial inverse 8x8
2D-DCT allows to handle cases with eob below 12.

The overall runtime of the inverse 8x8 2D-DCT unit is reduced from
166 cycles (using SSE2) to 150 cycles (using SSSE3).

Change-Id: I4514f9748042809ac84df4c14382c00f313f1cd2

10 years agoMerge "vp9_pickmode: Fix signed/unsigned mismatch."
Frank Galligan [Thu, 8 May 2014 15:49:12 +0000 (08:49 -0700)]
Merge "vp9_pickmode: Fix signed/unsigned mismatch."