webm/libvpx.git
14 min agoMerge "x86inc: fix compilation with NASM\r \r Change-Id: I5978921ab1ccad6648a5bde6ad023... master
James Zern [Thu, 24 Jul 2014 05:45:51 +0000 (22:45 -0700)]
Merge "x86inc: fix compilation with NASM\r \r Change-Id: I5978921ab1ccad6648a5bde6ad023c3e3430f5f4\r"

117 min agox86inc: fix compilation with NASM 39/70939/2
KO Myung-Hun [Tue, 22 Jul 2014 01:47:20 +0000 (10:47 +0900)]
x86inc: fix compilation with NASM

Change-Id: I5978921ab1ccad6648a5bde6ad023c3e3430f5f4

2 hours agoMakefile: strip debugging informations only 42/70942/3
KO Myung-Hun [Tue, 22 Jul 2014 11:19:52 +0000 (20:19 +0900)]
Makefile: strip debugging informations only

--strip-unneeded causes SIGSEGV when accessing g_executable_path. So
test_libvpx crashes due to SIGSEGV in ::testing::InitGoogleTest().

OS/2, aout, strip v2.23.2

Change-Id: I2718d082447ee0d9ad0c021b9156c50e1ac085a6

7 hours agoMerge "Remove redundant argument entry in handle_inter_mode"
Jingning Han [Wed, 23 Jul 2014 22:07:01 +0000 (15:07 -0700)]
Merge "Remove redundant argument entry in handle_inter_mode"

7 hours agoMerge "Use the chessboard pattern pred search in newmv mode"
Jingning Han [Wed, 23 Jul 2014 22:06:52 +0000 (15:06 -0700)]
Merge "Use the chessboard pattern pred search in newmv mode"

9 hours agoMerge "Fix clang compiler warning in denoising_neon."
Marco Paniconi [Wed, 23 Jul 2014 20:58:45 +0000 (13:58 -0700)]
Merge "Fix clang compiler warning in denoising_neon."

10 hours agoMerge "Moved call to vp9_clear_system_state() to a proper location"
Yaowu Xu [Wed, 23 Jul 2014 19:46:11 +0000 (12:46 -0700)]
Merge "Moved call to vp9_clear_system_state() to a proper location"

10 hours agoRemove redundant argument entry in handle_inter_mode 67/70967/1
Jingning Han [Wed, 23 Jul 2014 19:02:52 +0000 (12:02 -0700)]
Remove redundant argument entry in handle_inter_mode

The value of mode_excluded has been properly set in
vp9_rd_pick_inter_mode_sb(). It is redundant to send it in
handle_inter_mode() and re-set the value again.

Change-Id: I408d4731f2f42e0bcf3ae62e85757717bb410471

11 hours agoUse the chessboard pattern pred search in newmv mode 66/70966/1
Jingning Han [Wed, 23 Jul 2014 18:47:56 +0000 (11:47 -0700)]
Use the chessboard pattern pred search in newmv mode

This commit extends the chessboard pattern prediction filter search.
If the above and left blocks have the same prediction filter type,
the encoder will skip the prediction filter type search and use the
reference one.

The overall chessboard pattern prediction filter type search reduces
speed 3 runtime for hard clips. Experiments on park joy at 1080p
and 15000 kbps show that the runtime goes from 723265 ms to 65832 ms,
i.e., about 10% speed-up. Compression performance wise, it affects
the coding quality by

Change-Id: I880975497c7ad166532e9eea9bf46684d77ff327
derf:    -0.326%
yt:      -0.257%
hd:      -0.241%
stdhd:   -0.417%

12 hours agoMerge "Remove redundant num_refs definition"
Jingning Han [Wed, 23 Jul 2014 17:34:54 +0000 (10:34 -0700)]
Merge "Remove redundant num_refs definition"

13 hours agoFix clang compiler warning in denoising_neon. 61/70961/3
Marco Paniconi [Wed, 23 Jul 2014 16:42:09 +0000 (09:42 -0700)]
Fix clang compiler warning in denoising_neon.

Issue: https://code.google.com/p/webm/issues/detail?id=829

Change-Id: I580308f8aa4af194b5d8990a9692ebd18db68ee8

13 hours agoRemove redundant num_refs definition 60/70960/1
Jingning Han [Wed, 23 Jul 2014 16:29:04 +0000 (09:29 -0700)]
Remove redundant num_refs definition

Use is_comp_pred to replace the use case of num_refs.

Change-Id: I4d0c1e14d5f728428a2ae3d293cd2b4a8b2f31d8

13 hours agoMerge "Enable chessboard inter prediction filter type search"
Jingning Han [Wed, 23 Jul 2014 16:12:56 +0000 (09:12 -0700)]
Merge "Enable chessboard inter prediction filter type search"

28 hours agoMerge "frame_size_tests: reduce default 'large' frame size"
James Zern [Wed, 23 Jul 2014 01:40:31 +0000 (18:40 -0700)]
Merge "frame_size_tests: reduce default 'large' frame size"

30 hours agoEnable chessboard inter prediction filter type search 54/70954/1
Jingning Han [Tue, 22 Jul 2014 23:32:20 +0000 (16:32 -0700)]
Enable chessboard inter prediction filter type search

This commit enables a chessboard pattern prediction filter type
search scheme for rate-distortion optimization speed-up. For the
inferred motion vector modes, the encoder can re-use its above/left
neighbor blocks' prediction filter type and skip a full test on
all possible filter types. Such operation is turned on/off
alternatively in a chessboard manner.

It is turned on in speed 3. For test clip pedestrian 1080p, the
runtime is reduced from 231500 ms -> 221700 ms. The compression
performance is changed:
derf:  -0.147%
yt:    -0.134%
hd:    -0.079%
stdhd: -0.220%

Change-Id: I1912f278e7576c2dc632688e3ad7a257410c605a

30 hours agoframe_size_tests: reduce default 'large' frame size 53/70953/1
James Zern [Tue, 22 Jul 2014 22:48:25 +0000 (15:48 -0700)]
frame_size_tests: reduce default 'large' frame size

VP9FrameSizeTestsLarge exposed an integer overflow in the VP9 encoder,
for now reduce the size to allow the tests to clear and prevent further
regressions.
4096x4096 -> 4096x2160

this should be restored after the bug is fixed:
https://code.google.com/p/webm/issues/detail?id=828

Change-Id: I47fdf0648f1d9a3951f731bbf0b727f85ada4fa1

31 hours agoMerge "vp8: Set default denoiser_decision to copy for UV channel."
Marco Paniconi [Tue, 22 Jul 2014 22:25:06 +0000 (15:25 -0700)]
Merge "vp8: Set default denoiser_decision to copy for UV channel."

31 hours agoMerge "Fix get_frame_type function"
Adrian Grange [Tue, 22 Jul 2014 22:17:27 +0000 (15:17 -0700)]
Merge "Fix get_frame_type function"

32 hours agoMerge "VP9 denoiser bugfix in debugging code."
Tim Kopp [Tue, 22 Jul 2014 21:48:42 +0000 (14:48 -0700)]
Merge "VP9 denoiser bugfix in debugging code."

32 hours agoMerge "USE local best_filter variable in handle_inter_mode"
Jingning Han [Tue, 22 Jul 2014 21:21:34 +0000 (14:21 -0700)]
Merge "USE local best_filter variable in handle_inter_mode"

32 hours agoVP9 denoiser bugfix in debugging code. 52/70952/1
Tim Kopp [Tue, 22 Jul 2014 21:00:11 +0000 (14:00 -0700)]
VP9 denoiser bugfix in debugging code.

When OUTPUT_YUV_DENOISED is enabled the encoder outputs the uncompressed,
denoised video to a separate file. Moved the point at which the file is
written to in order to avoid an extra blank frame at the beginning of the video.

Change-Id: I805f6a912b18b3d9cae59b13c5b8108279439ce3

33 hours agoMerge "vp9_bitstream.c: cosmetics"
James Zern [Tue, 22 Jul 2014 20:17:40 +0000 (13:17 -0700)]
Merge "vp9_bitstream.c: cosmetics"

34 hours agoMerge "[spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVC"
Minghai Shang [Tue, 22 Jul 2014 19:43:40 +0000 (12:43 -0700)]
Merge "[spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVC"

34 hours agoFix get_frame_type function 51/70951/1
Adrian Grange [Tue, 22 Jul 2014 19:12:16 +0000 (12:12 -0700)]
Fix get_frame_type function

Fixed the function get_frame_type to return the correct
frame type for golden and last frames.

Change-Id: I8edddd9aa26cbe7a1de8ff211389410b22b1bd14

35 hours agovp9_bitstream.c: cosmetics 48/70948/1
James Zern [Tue, 22 Jul 2014 01:27:06 +0000 (18:27 -0700)]
vp9_bitstream.c: cosmetics

fix indent, spelling and drop some vertical whitespace

Change-Id: I722671381a374a24763b07a02805ab1d149ab3f4

35 hours agoUSE local best_filter variable in handle_inter_mode 46/70946/1
Jingning Han [Tue, 22 Jul 2014 18:32:17 +0000 (11:32 -0700)]
USE local best_filter variable in handle_inter_mode

This should be a local variable. Move the definition from
vp9_rd_pick_inter_mode_sb to handle_inter_mode.

Change-Id: I14f4168bb1c896ed04e8f6d4cd89fbf4c9839944

35 hours agoMerge "vp8 denoiser fix: Update denoised altref on key frame."
Marco Paniconi [Tue, 22 Jul 2014 18:15:08 +0000 (11:15 -0700)]
Merge "vp8 denoiser fix: Update denoised altref on key frame."

35 hours agovp8: Set default denoiser_decision to copy for UV channel. 45/70945/1
Marco Paniconi [Tue, 22 Jul 2014 18:06:00 +0000 (11:06 -0700)]
vp8: Set default denoiser_decision to copy for UV channel.

Since the UV decision to denoise is based on Y, we need to set
the default/initial denoiser decision_u/v to COPY_BLOCK,
to make sure if no uv_denoiser is applied we still update
(uv)running_avg with source.

Change-Id: I5af1c2afbd40c498cd3de208bea88c837099b24d

35 hours ago[spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVC 43/70943/2
Minghai Shang [Tue, 22 Jul 2014 17:05:40 +0000 (10:05 -0700)]
[spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVC

Change-Id: Ifc94377a0d05d66e3d21b007893a985b66db6082

36 hours agovp8 denoiser fix: Update denoised altref on key frame. 29/70929/4
Marco Paniconi [Mon, 21 Jul 2014 16:58:54 +0000 (09:58 -0700)]
vp8 denoiser fix: Update denoised altref on key frame.

On a key frame, the denoised-running_avg for all references
frames should be updated with the source.
The altref denoised-running_avg was not being updated on key frame,
this fixes that.

Change-Id: Ie02cd0ba5383e013af59240e6df7e185d11703f6

37 hours agoMerge "Turn on adaptive pred filter scheme for sub8x8 below 720p"
Jingning Han [Tue, 22 Jul 2014 16:11:52 +0000 (09:11 -0700)]
Merge "Turn on adaptive pred filter scheme for sub8x8 below 720p"

2 days agoTurn on adaptive pred filter scheme for sub8x8 below 720p 37/70937/1
Jingning Han [Mon, 21 Jul 2014 23:22:56 +0000 (16:22 -0700)]
Turn on adaptive pred filter scheme for sub8x8 below 720p

For sequences of resolution below 720p, the encoder will check
intra prediction modes and inter prediction modes from LAST_FRAME.
This commit turns on adaptive prediction filter scheme for sub8x8
blocks, where inter prediction modes are enabled. For the test
sequence bus at CIF, the speed 2 runtime goes down from 17879 ms
to 16783 ms, i.e., 6% speed up. The compression performance of
derf set is down by -0.128%.

Change-Id: I01d5321a5ceab4e0666ac5be56c52d896c7a8d45

2 days agoRemove unfinished VP9 alpha channel. 05/70905/2
Alex Converse [Thu, 17 Jul 2014 18:29:59 +0000 (11:29 -0700)]
Remove unfinished VP9 alpha channel.

Change-Id: Ic5d3a3a0dac10b49495771886a31e793bb78b5ca

2 days agoMoved call to vp9_clear_system_state() to a proper location 36/70936/1
Yaowu Xu [Mon, 21 Jul 2014 22:55:12 +0000 (15:55 -0700)]
Moved call to vp9_clear_system_state() to a proper location

The commit moved a call to vp9_clear_system_state() to a correct
location, i.e. prior function calls using floating point numbers.
This was to fix a mismatch mmx code and sse2 version, where a
floating point number used in adjust_frame_rate(cpi) gets NAN due
to mmx registers being in wrong state.

Change-Id: I40e0a6de98812000ccee6a729badb630604fd7e6

2 days agoAdd -DNDEBUG when config option debug is disabled 66/70866/9
Yunqing Wang [Tue, 15 Jul 2014 23:18:34 +0000 (16:18 -0700)]
Add -DNDEBUG when config option debug is disabled

For gcc, when libvpx config option debug is disabled, added the
flag -DNDEBUG to disable the assertions in libvpx for some speedup.

Change-Id: Ifcb7b9e8ef5cbe5d07a24407b53b9a2923f596ee

2 days agoMerge "VP9 denoiser fix: ref frames now updated properly"
Tim Kopp [Mon, 21 Jul 2014 15:28:41 +0000 (08:28 -0700)]
Merge "VP9 denoiser fix: ref frames now updated properly"

5 days agoy4m_test: drop '_t' from local typenames 01/70901/4
James Zern [Thu, 17 Jul 2014 02:03:08 +0000 (19:03 -0700)]
y4m_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I2ede16e0903a96225a342609545281fdbb83d638

5 days agovp9_subtract_test: drop '_t' from local typenames 00/70900/4
James Zern [Thu, 17 Jul 2014 02:02:37 +0000 (19:02 -0700)]
vp9_subtract_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I636012c74f5de91d594d7398e92343f5efe08327

5 days agosubtract_test: drop '_t' from local typenames 99/70899/4
James Zern [Thu, 17 Jul 2014 02:02:16 +0000 (19:02 -0700)]
subtract_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: Ic738b97d492f244c58989a0f73a4d763340ec274

5 days agosixtap_predict_test: drop '_t' from local typenames 98/70898/4
James Zern [Thu, 17 Jul 2014 02:01:46 +0000 (19:01 -0700)]
sixtap_predict_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: Ie59ddc080530d538e4ffb1d862844a84de926d92

5 days agosad_test: drop '_t' from local typenames 97/70897/4
James Zern [Thu, 17 Jul 2014 01:59:28 +0000 (18:59 -0700)]
sad_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I60746bc93ba2446c1458a1f09fd1e49cc2e68534

5 days agopp_filter_test: drop '_t' from local typenames 96/70896/3
James Zern [Thu, 17 Jul 2014 01:58:53 +0000 (18:58 -0700)]
pp_filter_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: If6cf006a089b0fb42d6bf050570d928d955d658a

5 days agopartial_idct_test: drop '_t' from local typenames 95/70895/3
James Zern [Thu, 17 Jul 2014 01:58:16 +0000 (18:58 -0700)]
partial_idct_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: Ied220e09fceef53039f234ebbb7e51c8e081c84e

5 days agointrapred_test: drop '_t' from local typenames 94/70894/3
James Zern [Thu, 17 Jul 2014 01:57:42 +0000 (18:57 -0700)]
intrapred_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I74d7489ea35f988fcfec3651bd16f02e688e406a

5 days agoidct_test: drop '_t' from local typenames 93/70893/3
James Zern [Thu, 17 Jul 2014 01:57:11 +0000 (18:57 -0700)]
idct_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I660a77c0c58ca64075c1051ea440fdf4d7c7e6af

5 days agofdct8x8_test: drop '_t' from local typenames 92/70892/3
James Zern [Thu, 17 Jul 2014 01:56:22 +0000 (18:56 -0700)]
fdct8x8_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: Id2d43931e9b6e16aa4b8e5e346eee08505bdccfb

5 days agofdct4x4_test: drop '_t' from local typenames 91/70891/3
James Zern [Thu, 17 Jul 2014 01:55:40 +0000 (18:55 -0700)]
fdct4x4_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I796252a6f7f749b4faa969bbe7fe83eae64fa393

5 days agodecode_perf_test: drop '_t' from local typenames 90/70890/3
James Zern [Thu, 17 Jul 2014 01:55:08 +0000 (18:55 -0700)]
decode_perf_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I5fdd6319449364f2e930667d3bd54f68ba3cbb2e

5 days agodct32x32_test: drop '_t' from local typenames 89/70889/3
James Zern [Thu, 17 Jul 2014 01:54:31 +0000 (18:54 -0700)]
dct32x32_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: Ie1918d93c0a0d7a854e88b5a77b8c21b4cdc28b7

5 days agodct16x16_test: drop '_t' from local typenames 88/70888/3
James Zern [Thu, 17 Jul 2014 01:53:33 +0000 (18:53 -0700)]
dct16x16_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I4e6f293790922684402bfa9c22ec1ac2b9981a0e

5 days agoconvolve_test: drop '_t' from local typenames 87/70887/3
James Zern [Thu, 17 Jul 2014 01:48:20 +0000 (18:48 -0700)]
convolve_test: drop '_t' from local typenames

_t is reserved by posix

+ switch to camelcase
  http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names

Change-Id: I2a22ffc36e9f88781bc7db0d5a28a7ed924bab1a

5 days agoMerge "Re-introduce frame size check inadvertantly deleted"
Adrian Grange [Fri, 18 Jul 2014 23:33:50 +0000 (16:33 -0700)]
Merge "Re-introduce frame size check inadvertantly deleted"

5 days agoMerge "Use custom mkstemp() to fix Win issue in y4m_test"
Deb Mukherjee [Fri, 18 Jul 2014 23:30:06 +0000 (16:30 -0700)]
Merge "Use custom mkstemp() to fix Win issue in y4m_test"

5 days agoRe-introduce frame size check inadvertantly deleted 22/70922/1
Adrian Grange [Fri, 18 Jul 2014 22:40:39 +0000 (15:40 -0700)]
Re-introduce frame size check inadvertantly deleted

This patch adds back in code that checks that the frame
size lies within defined bounds was inadvertantly removed
by a previous patch:
https://gerrit.chromium.org/gerrit/#/c/70814/

Change-Id: If526570ba559260c4b7e98098bc75f7700ae7f97

5 days agoUse custom mkstemp() to fix Win issue in y4m_test 52/70852/17
Deb Mukherjee [Mon, 14 Jul 2014 20:31:29 +0000 (13:31 -0700)]
Use custom mkstemp() to fix Win issue in y4m_test

Uses mkstmp() with directory being the same as the test data
directory to create temporary output file. For Windows
GetTempFileNameA() function is used.

Change-Id: Ie4681b2b4f44f8c22d3b3faf134c44087b484f94

5 days agoVP9 denoiser fix: ref frames now updated properly 20/70920/2
Tim Kopp [Fri, 18 Jul 2014 21:15:30 +0000 (14:15 -0700)]
VP9 denoiser fix: ref frames now updated properly

The ALT_REF_FRAME is now updated in the case of a KEY_FRAME in the VP9 denoiser.

Change-Id: Idf9a9772706f50e774fb240afcc01db38841043c

5 days agoDisable vp8_sixtap_predict4x4_neon 19/70919/1
Johann [Fri, 18 Jul 2014 21:08:52 +0000 (14:08 -0700)]
Disable vp8_sixtap_predict4x4_neon

Crashing on iOS encodes
BUG=817

Change-Id: I2c50f8d359563d15a8b8002b6091184c0f9818af

5 days agoFix visual studio build failure 18/70918/1
Yunqing Wang [Fri, 18 Jul 2014 19:29:12 +0000 (12:29 -0700)]
Fix visual studio build failure

Cast frame_size to be int for now to fix build warnings.

Change-Id: I411ba2b1fd429a383c8f6e832b4fa4147914c824

5 days agotemporal_svc sample encoder: setting for denoiser. 15/70915/1
Marco Paniconi [Fri, 18 Jul 2014 17:39:34 +0000 (10:39 -0700)]
temporal_svc sample encoder: setting for denoiser.

Reset it as before commit: https://gerrit.chromium.org/gerrit/#/c/70855/

Change-Id: I93df163c4bb565fb30f0f5283ed71347d01153d3

5 days agoMerge "Fix FrameSizeTestsLarge unit-test on 32-bit arch."
Deb Mukherjee [Fri, 18 Jul 2014 10:49:30 +0000 (03:49 -0700)]
Merge "Fix FrameSizeTestsLarge unit-test on 32-bit arch."

5 days agoMerge "Separates profile 2 into 2 profiles 2 and 3"
Deb Mukherjee [Fri, 18 Jul 2014 10:23:51 +0000 (03:23 -0700)]
Merge "Separates profile 2 into 2 profiles 2 and 3"

5 days agoFix FrameSizeTestsLarge unit-test on 32-bit arch. 11/70911/1
Deb Mukherjee [Fri, 18 Jul 2014 10:06:07 +0000 (03:06 -0700)]
Fix FrameSizeTestsLarge unit-test on 32-bit arch.

If the img allocation fails the test used to crash before on
32 bit architecture. This patch uses null check on img in
FillFrame. Also, if the first frame initialization has not been
conducted VPX_CODEC_ERROR is expected to return rather than
VPX_CODEC_OK.

Change-Id: I5c4e59c156374009012d280d6ff971a89b43c11f

6 days agoSeparates profile 2 into 2 profiles 2 and 3 61/70861/12
Deb Mukherjee [Tue, 15 Jul 2014 08:54:29 +0000 (01:54 -0700)]
Separates profile 2 into 2 profiles 2 and 3

Separates HBD profile int two profiles (2 and 3) consistent with the
highbitdepth branch. This patch is ported from the original highbitdepth
branch patch: https://gerrit.chromium.org/gerrit/#/c/70460/

Two of the invalid file tests needed to be updated.

Change-Id: I6a4acd2f7a60b1fb4cbcc8e0dad4eab4248431e3

6 days agoMerge "iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol"
James Zern [Fri, 18 Jul 2014 01:06:55 +0000 (18:06 -0700)]
Merge "iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol"

6 days agoiosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol 09/70909/1
Tom Finegan [Thu, 17 Jul 2014 23:47:31 +0000 (16:47 -0700)]
iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol

Mainly for determining the actual arch when running performance
tests.

Change-Id: Ia6a1c4fcf83e6db1bf94f3e869d146ec32df02f8

6 days agoMerge "Fixed a bug of setting wrong first pass mb stats pointer"
Pengchong Jin [Thu, 17 Jul 2014 21:24:52 +0000 (14:24 -0700)]
Merge "Fixed a bug of setting wrong first pass mb stats pointer"

6 days agoMerge "Modified frame buffer handling"
Adrian Grange [Thu, 17 Jul 2014 19:15:16 +0000 (12:15 -0700)]
Merge "Modified frame buffer handling"

6 days agoFixed a bug of setting wrong first pass mb stats pointer 04/70904/2
Pengchong Jin [Thu, 17 Jul 2014 18:54:43 +0000 (11:54 -0700)]
Fixed a bug of setting wrong first pass mb stats pointer

The bug sets the wrong pointer to the first pass mb stats
if the encoder does the re-coding in the second pass.

Change-Id: I8a11f45dd7dceb38de814adec24cecccae370d00

6 days agoMerge "Added vp9_sad64x64_neon(), vp9_sad32x32_neon()"
Scott LaVarnway [Thu, 17 Jul 2014 18:42:16 +0000 (11:42 -0700)]
Merge "Added vp9_sad64x64_neon(), vp9_sad32x32_neon()"

6 days agoModified frame buffer handling 14/70814/8
Adrian Grange [Thu, 10 Jul 2014 22:35:51 +0000 (15:35 -0700)]
Modified frame buffer handling

This patch is the first step toward simplifying the
frame buffer handling.

The final goal is to have a common frame buffer handling
framework for both encoder and decoder that incorporates
the existing ability to use externally allocated memory.

Change-Id: I2c378a4f54a39908915f46c4260e17a080db7ff1

6 days agoallow config options to limit max size of decode 15/70815/17
Jim Bankoski [Thu, 17 Jul 2014 13:31:50 +0000 (06:31 -0700)]
allow config options to limit max size of decode

This is a practical concern to allow us to fail in a decoder instance
if the size of a file is bigger than we can reasonably handle.

Change-Id: I0446b5502b1f8a48408107648ff2a8d187dca393

6 days agofail allocation of buffers if size_t < frame_size 72/70772/16
Jim Bankoski [Thu, 17 Jul 2014 13:33:29 +0000 (06:33 -0700)]
fail allocation of buffers if size_t < frame_size

Change-Id: I25c595e8c197ab0a9955d2373f1a74d42fbd1638

6 days agoMerge "Changes to rd balance and multi-arf bug fix."
Paul Wilkins [Thu, 17 Jul 2014 14:01:31 +0000 (07:01 -0700)]
Merge "Changes to rd balance and multi-arf bug fix."

7 days agoMerge "make default_interp_filter choice a speed feature"
Yaowu Xu [Thu, 17 Jul 2014 02:12:22 +0000 (19:12 -0700)]
Merge "make default_interp_filter choice a speed feature"

7 days agoMerge "New decode perf test files"
Joshua Litt [Wed, 16 Jul 2014 23:38:49 +0000 (16:38 -0700)]
Merge "New decode perf test files"

7 days agoNew decode perf test files 86/70886/1
Joshua Litt [Wed, 16 Jul 2014 23:01:34 +0000 (16:01 -0700)]
New decode perf test files

Change-Id: I89ff8d4243e0438c8fe4ad74b9745c060b4460d8

7 days agoMerge "vp9_ratectrl.c: refactor get_active_quality usage"
Guillaume Martres [Wed, 16 Jul 2014 21:29:32 +0000 (14:29 -0700)]
Merge "vp9_ratectrl.c: refactor get_active_quality usage"

7 days agomake default_interp_filter choice a speed feature 85/70885/1
Yaowu Xu [Wed, 16 Jul 2014 21:28:51 +0000 (14:28 -0700)]
make default_interp_filter choice a speed feature

This commit changed the hard-coded DEFAULT_INTERP_FILTER to a speed
feature with the same default value: SWITCHABLE.

Change-Id: I7f54f40f1bd3f5277841d04b85db7a84e47313f1

7 days agoAdded vp9_sad64x64_neon(), vp9_sad32x32_neon() 78/70778/9
Scott LaVarnway [Wed, 16 Jul 2014 19:54:46 +0000 (12:54 -0700)]
Added vp9_sad64x64_neon(), vp9_sad32x32_neon()

and vp9_sad16x16_neon()

On a Nexus 7, vpxenc (in realtime mode, speed -6)
reported a performance improvement of ~17%.

Change-Id: I91e070cde2973451083d3f3d63b49b7886de9a85

7 days agoMerge "invalid_file_test: add an operator<< for DecodeParam"
James Zern [Wed, 16 Jul 2014 19:05:34 +0000 (12:05 -0700)]
Merge "invalid_file_test: add an operator<< for DecodeParam"

7 days agoAdds support for raw yuv files for 422/444 80/70880/1
Deb Mukherjee [Wed, 16 Jul 2014 16:37:13 +0000 (09:37 -0700)]
Adds support for raw yuv files for 422/444

Adds support for raw yuv inputs in 422/444 sampling for use
in profiles 1 and 3.
New options added to vpxenc are:
--i422 and --i444, which are to be used in conjunction with
--width, --height, and --fps for proper raw yuv handling.
A new option is added to vpxdec:
--rawvideo, which enforces raw yuv video output for the
bit-stream decoded irrespective of 420, 422 or 444 sampling.
The existing options --i420 and --yv12
are specialized for use only for 420 content.

Change-Id: I2e3028380709afa673bf2e2c25ad5e271a626055

7 days agoMerge "VP9 Denoiser denoises after mode/bsize search"
Tim Kopp [Wed, 16 Jul 2014 15:22:14 +0000 (08:22 -0700)]
Merge "VP9 Denoiser denoises after mode/bsize search"

7 days agoChanges to rd balance and multi-arf bug fix. 72/70872/1
Paul Wilkins [Wed, 16 Jul 2014 10:21:27 +0000 (11:21 +0100)]
Changes to rd balance and multi-arf bug fix.

2 pass only change to calculation of rd mult based on Q.
Make a small adjustment based on frame type and also
replace adjustment based on iifactor with an one based
on the ambient GF/ARF boost level.

Also fix multi arf bug / issue.

Overall these change give an slight improvement in ssim
but hurt psnr a little.

Change-Id: I5e1751e3ff5390a26f543d7855059e6fbcce105e

7 days agoMerge "Renames interface field in VpxInterface"
Deb Mukherjee [Wed, 16 Jul 2014 06:01:51 +0000 (23:01 -0700)]
Merge "Renames interface field in VpxInterface"

8 days agoMerge "Added a rt speed 12"
Yaowu Xu [Wed, 16 Jul 2014 01:02:17 +0000 (18:02 -0700)]
Merge "Added a rt speed 12"

8 days agoMerge changes I58a5af33,Ied9b0392
James Zern [Wed, 16 Jul 2014 01:02:11 +0000 (18:02 -0700)]
Merge changes I58a5af33,Ied9b0392

* changes:
  vp8_bilinear_predict4x4_neon: init src vectors
  vp8_sixtap_predict4x4_neon: init src vectors

8 days agoRenames interface field in VpxInterface 67/70867/1
Deb Mukherjee [Tue, 15 Jul 2014 23:55:12 +0000 (16:55 -0700)]
Renames interface field in VpxInterface

Renames interface to codec_interface since it is a reserved
word on windows.

Change-Id: I84f2cbf257a4c44f16dc2464127e35ee405c2c3e

8 days agoAdded a rt speed 12 65/70865/2
Yaowu Xu [Tue, 15 Jul 2014 22:29:52 +0000 (15:29 -0700)]
Added a rt speed 12

We target this speed to achieve similar encoding speed and better
compression than vp8 rt mode with cpu-used at -12.

Change-Id: Ic1bb4371c81a17ea80e83459c1cbf4c09a3498e8

8 days agoMerge "[spatial svc]Fix signed/unsigned mismatch error"
Minghai Shang [Tue, 15 Jul 2014 20:08:08 +0000 (13:08 -0700)]
Merge "[spatial svc]Fix signed/unsigned mismatch error"

8 days agoMerge "Make non-rd pick_mode work with Golden/Altref"
Yaowu Xu [Tue, 15 Jul 2014 19:01:31 +0000 (12:01 -0700)]
Merge "Make non-rd pick_mode work with Golden/Altref"

8 days agoMerge "Fix show_existing_frame not decreasing frame buffer ref counter."
Adrian Grange [Tue, 15 Jul 2014 19:01:16 +0000 (12:01 -0700)]
Merge "Fix show_existing_frame not decreasing frame buffer ref counter."

8 days ago[spatial svc]Fix signed/unsigned mismatch error 63/70863/1
Minghai Shang [Tue, 15 Jul 2014 18:22:28 +0000 (11:22 -0700)]
[spatial svc]Fix signed/unsigned mismatch error

Change-Id: I5e3b8b1b151bc14416577f85434182cba2302679

8 days agoFix show_existing_frame not decreasing frame buffer ref counter. 42/70842/5
Alexander Voronov [Mon, 14 Jul 2014 12:36:21 +0000 (16:36 +0400)]
Fix show_existing_frame not decreasing frame buffer ref counter.

The issue was introduced by commit g7c43fb6. If current frame
is repeated from existing-ref pool, frame buffer ref counter
is not decreased, so buffer isn't released. Decoder fails being
unable to allocate new frame buffer at some point.

Added a test vector to verify that the condition will not
recur later. Test vector was generated by the code in this patch:
https://gerrit.chromium.org/gerrit/#/c/70862/

Change-Id: I8af96eb5b9670176e01a281d2e18bd458712cf78

8 days agoMerge "vp8: Allow for on/off control of UV temporal denoiser."
Marco Paniconi [Tue, 15 Jul 2014 18:05:54 +0000 (11:05 -0700)]
Merge "vp8: Allow for on/off control of UV temporal denoiser."

8 days agoMerge "active_map_test: remove unused VP9_FACTORY define"
Alex Converse [Tue, 15 Jul 2014 17:20:26 +0000 (10:20 -0700)]
Merge "active_map_test: remove unused VP9_FACTORY define"

8 days agovp8: Allow for on/off control of UV temporal denoiser. 55/70855/6
Marco Paniconi [Tue, 15 Jul 2014 01:15:39 +0000 (18:15 -0700)]
vp8: Allow for on/off control of UV temporal denoiser.

Use noise_sensitivity level for enabling UV denoiser.

Change-Id: Ib208786a6fdf654981bcd96a3cf44e8e678025c1

8 days agoVP9 Denoiser denoises after mode/bsize search 82/70782/8
Tim Kopp [Tue, 8 Jul 2014 15:36:25 +0000 (08:36 -0700)]
VP9 Denoiser denoises after mode/bsize search

In vp8, statistics are collected about the different modes as they are searched.
This process is more complicated due to the variable block size. Fields were
added to the PICM_MODE_CONTEXT struct to hold this information for each point in
the search. The information is then taken from the appropriate part of the tree
during denoising.

Change-Id: I89261ab77ad637821287ae157dfdf694702b8e77

9 days agoactive_map_test: remove unused VP9_FACTORY define 60/70860/1
James Zern [Tue, 15 Jul 2014 01:59:16 +0000 (18:59 -0700)]
active_map_test: remove unused VP9_FACTORY define

Change-Id: If96a133ad83e3ed4e4b3620dff857b26641da892

9 days agoinvalid_file_test: add an operator<< for DecodeParam 59/70859/1
James Zern [Tue, 15 Jul 2014 01:45:50 +0000 (18:45 -0700)]
invalid_file_test: add an operator<< for DecodeParam

Improves the --gtest_list_tests output and avoids a valgrind warning in
gtest's testing::internal2::PrintBytesInObjectTo() due to padding in the
structure.

old:
VP9/InvalidFileTest.
  ReturnCode/0  # GetParam() = (0x9d5308, 16-byte object <01-00 00-00 00-00 00-00 37-02 73-00 00-00 00-00>)

new:
VP9/InvalidFileTest.
  ReturnCode/0  # GetParam() = (0x9d5308, threads: 1 file: invalid-vp90-01-v2.webm)

Change-Id: Ifb9c66fba2e72272bd591a3f6273aeb6bda6af4a

9 days agoRewrite functions related to first pass block stats 48/70848/6
Pengchong Jin [Mon, 14 Jul 2014 16:13:38 +0000 (09:13 -0700)]
Rewrite functions related to first pass block stats

Change-Id: I28679f88e2911b06eef5cbc83ecb62b8c69e4c53