platform/upstream/libvpx.git
10 years agoiosbuild.sh: Move to build/make and tidy up a bit.
Tom Finegan [Fri, 13 Jun 2014 18:03:56 +0000 (11:03 -0700)]
iosbuild.sh: Move to build/make and tidy up a bit.

Change-Id: I625beea9db4b5f6db8f177c580a3adeac760a662

10 years agoMerge "Add VPX.framework built script."
Tom Finegan [Fri, 13 Jun 2014 17:36:49 +0000 (10:36 -0700)]
Merge "Add VPX.framework built script."

10 years agoMerge "Added skeleton for VP9 denoiser"
Tim Kopp [Fri, 13 Jun 2014 16:44:39 +0000 (09:44 -0700)]
Merge "Added skeleton for VP9 denoiser"

10 years agoMerge "Cleaning up accumulate_frame_motion_stats()."
Paul Wilkins [Fri, 13 Jun 2014 09:27:03 +0000 (02:27 -0700)]
Merge "Cleaning up accumulate_frame_motion_stats()."

10 years agoAdd VPX.framework built script.
Tom Finegan [Fri, 13 Jun 2014 03:44:44 +0000 (20:44 -0700)]
Add VPX.framework built script.

Builds a framework for use on iOS targets.

Change-Id: I2e42d77d1d83e15dc7e84232255da26809ee31bb

10 years agoMerge "Adding MV_SPEED_FEATURES struct."
Dmitry Kovalev [Fri, 13 Jun 2014 00:15:33 +0000 (17:15 -0700)]
Merge "Adding MV_SPEED_FEATURES struct."

10 years agoAdded skeleton for VP9 denoiser
Tim Kopp [Thu, 5 Jun 2014 21:00:08 +0000 (14:00 -0700)]
Added skeleton for VP9 denoiser

Change-Id: Iccf6ede4c4f85646b0f8daec47050ce93e267c90

10 years agoMerge "Added OUTPUT_YUV_DENOISED CFLAG to VP8 encoder"
Tim Kopp [Thu, 12 Jun 2014 22:10:53 +0000 (15:10 -0700)]
Merge "Added OUTPUT_YUV_DENOISED CFLAG to VP8 encoder"

10 years agoMerge "Initially add frame_parallel_decode flag."
hkuang [Thu, 12 Jun 2014 22:01:38 +0000 (15:01 -0700)]
Merge "Initially add frame_parallel_decode flag."

10 years agoMerge "Removing unused ssim_weighted_pred_err field from FIRSTPASS_STATS."
Dmitry Kovalev [Thu, 12 Jun 2014 21:16:18 +0000 (14:16 -0700)]
Merge "Removing unused ssim_weighted_pred_err field from FIRSTPASS_STATS."

10 years agoAdding MV_SPEED_FEATURES struct.
Dmitry Kovalev [Thu, 12 Jun 2014 19:35:57 +0000 (12:35 -0700)]
Adding MV_SPEED_FEATURES struct.

Moving all motion vector related speed parameters from SPEED_FEATURES to
MV_SPEED_FEATURES.

Change-Id: I3e9af0039c7162f8671878c5920bce3cb256a84e

10 years agoMerge "Moving full_pixel_search() to vp9_mcomp.c."
Dmitry Kovalev [Thu, 12 Jun 2014 21:12:45 +0000 (14:12 -0700)]
Merge "Moving full_pixel_search() to vp9_mcomp.c."

10 years agoMerge "Adding is_altref_enabled() function."
Dmitry Kovalev [Thu, 12 Jun 2014 20:24:42 +0000 (13:24 -0700)]
Merge "Adding is_altref_enabled() function."

10 years agoMerge "Replacing txfm_size with tx_size."
Dmitry Kovalev [Thu, 12 Jun 2014 20:07:11 +0000 (13:07 -0700)]
Merge "Replacing txfm_size with tx_size."

10 years agoMoving full_pixel_search() to vp9_mcomp.c.
Dmitry Kovalev [Thu, 12 Jun 2014 20:06:37 +0000 (13:06 -0700)]
Moving full_pixel_search() to vp9_mcomp.c.

Change-Id: I12389f801ebd3bd2ae3bf31e125433bfb429ee65

10 years agoAdding is_altref_enabled() function.
Dmitry Kovalev [Thu, 12 Jun 2014 19:13:20 +0000 (12:13 -0700)]
Adding is_altref_enabled() function.

Change-Id: I54cdb4ce11590511e6f86bc2fd55771f1c18a20a

10 years agoMerge "Fast computation path for forward transform and quantization"
Jingning Han [Thu, 12 Jun 2014 18:59:52 +0000 (11:59 -0700)]
Merge "Fast computation path for forward transform and quantization"

10 years agoReplacing txfm_size with tx_size.
Dmitry Kovalev [Thu, 12 Jun 2014 18:57:26 +0000 (11:57 -0700)]
Replacing txfm_size with tx_size.

Change-Id: Ifa6374e9db5919322733b656e0865f5f19ee6f2c

10 years agoRemoving unused ssim_weighted_pred_err field from FIRSTPASS_STATS.
Dmitry Kovalev [Tue, 3 Jun 2014 21:07:47 +0000 (14:07 -0700)]
Removing unused ssim_weighted_pred_err field from FIRSTPASS_STATS.

Change-Id: Ia8c7e3905ac21732cb6b8099eaf8df72c7e36b73

10 years agoFast computation path for forward transform and quantization
Jingning Han [Fri, 30 May 2014 01:14:17 +0000 (18:14 -0700)]
Fast computation path for forward transform and quantization

This commit enables a fast path computational flow for forward
transformation. It checks the sse and variance of prediction
residuals and decides if the quantized coefficients are all
zero, dc only, or more. It then selects the corresponding coding
path in the forward transformation and quantization stage.

It is currently enabled in rtc coding mode. Will do it for rd
coding mode next.

In speed -6, the runtime for pedestrian_area 1080p at 1000 kbps
goes down from 14234 ms to 13704 ms, i.e., about 4% speed-up.
Overall coding performance for rtc set is changed by -0.18%.

Change-Id: I0452da1786d59bc8bcbe0a35fdae9f623d1d44e1

10 years agoMerge "Fix SEG_LVL_SKIP in non-RD inter mode selection."
Alex Converse [Thu, 12 Jun 2014 17:38:06 +0000 (10:38 -0700)]
Merge "Fix SEG_LVL_SKIP in non-RD inter mode selection."

10 years agoMerge "Fix SEG_LVL_SKIP in RD inter mode selection."
Alex Converse [Thu, 12 Jun 2014 17:37:20 +0000 (10:37 -0700)]
Merge "Fix SEG_LVL_SKIP in RD inter mode selection."

10 years agoMerge "skip un-neccessary motion search in the first pass"
Yunqing Wang [Thu, 12 Jun 2014 16:43:47 +0000 (09:43 -0700)]
Merge "skip un-neccessary motion search in the first pass"

10 years agoskip un-neccessary motion search in the first pass
Pengchong Jin [Wed, 4 Jun 2014 00:16:00 +0000 (17:16 -0700)]
skip un-neccessary motion search in the first pass

This patch allows the encoder to skip the
un-neccessary motion search in the first pass. It
calculates the error of the zero motion vector using
the last source frame as reference and skips the
further motion search in the first pass if the error
is small.

The encoding speedup of the first pass for slideshow
videos is over 30%. Borg test shows the overall PSNR
performance remain approximately the same (derf -0.009,
hd 0.387, yt 0.021, stdhd 0.065). Individual clips may
have either PSNR gain or loss. The worst PSNR perfomance
is from yt set, with a PSNR loss of -1.1.

Change-Id: I08b2ab110b695e4689573b2567fa531b6457616e

10 years agoMerge "[spatial svc]Combine first and second pass test to keep stats data in memory."
Minghai Shang [Thu, 12 Jun 2014 01:12:38 +0000 (18:12 -0700)]
Merge "[spatial svc]Combine first and second pass test to keep stats data in memory."

10 years agoFix SEG_LVL_SKIP in non-RD inter mode selection.
Alex Converse [Fri, 30 May 2014 00:48:28 +0000 (17:48 -0700)]
Fix SEG_LVL_SKIP in non-RD inter mode selection.

Add a set_mode_info_seg_skip function that fills the requisite mode info.

Change-Id: I460b1b6845d720d9b09ed5b64df0ea0aac443f62

10 years agoFix SEG_LVL_SKIP in RD inter mode selection.
Alex Converse [Thu, 29 May 2014 00:11:16 +0000 (17:11 -0700)]
Fix SEG_LVL_SKIP in RD inter mode selection.

* Only use ZEROMV, disalowing the intra modes that were previously
  tested.
* Score rate and distortion as zero.

Change-Id: Ifcf99e272095725f11da1dcd26bd0f850683e680

10 years agoInitially add frame_parallel_decode flag.
hkuang [Wed, 11 Jun 2014 23:06:50 +0000 (16:06 -0700)]
Initially add frame_parallel_decode flag.

Stub flag temporarily set to 0 until frame parallel
decoding implementations are finished.

Change-Id: I8ab768138e8f8f8eb809875703b2502ea0fe7cea

10 years agoMerge "Add target armv7s-darwin-gcc."
Tom Finegan [Wed, 11 Jun 2014 19:13:11 +0000 (12:13 -0700)]
Merge "Add target armv7s-darwin-gcc."

10 years ago[spatial svc]Combine first and second pass test to keep stats data in memory.
Minghai Shang [Mon, 9 Jun 2014 20:32:27 +0000 (13:32 -0700)]
[spatial svc]Combine first and second pass test to keep stats data in memory.

Change-Id: Idccbfe35bebe6f05655bd54da7d8b616b1bffe03

10 years agoAdd target armv7s-darwin-gcc.
Tom Finegan [Wed, 11 Jun 2014 01:52:58 +0000 (18:52 -0700)]
Add target armv7s-darwin-gcc.

Really just armv7. This is a convenience target intended to make iOS
development with libvpx easier. Xcode projects with default settings
will fail to build when a framework lacks armv7s support when targetting
iOS7.

Change-Id: I7eb80d52eec25501febc0d2c3c0b4ed964b8ed5b

10 years agoMerge "Cleaning up vp9_variance_mmx.c."
Dmitry Kovalev [Wed, 11 Jun 2014 00:27:12 +0000 (17:27 -0700)]
Merge "Cleaning up vp9_variance_mmx.c."

10 years agoMerge "Removing two unused TX_SIZE_SEARCH_METHOD members."
Dmitry Kovalev [Wed, 11 Jun 2014 00:26:41 +0000 (17:26 -0700)]
Merge "Removing two unused TX_SIZE_SEARCH_METHOD members."

10 years agoMerge changes I6abc0657,I8224fba2,I04f64a45,I5d49d119,I76b4d171,I88c11ac3
James Zern [Tue, 10 Jun 2014 23:14:44 +0000 (16:14 -0700)]
Merge changes I6abc0657,I8224fba2,I04f64a45,I5d49d119,I76b4d171,I88c11ac3

* changes:
  vp9_sub_pixel_*variance*: disable avx2 variants
  vp9_sad*x4d: disable avx2 variants
  vp9_f(dct|ht): disable avx2 variants
  convolve: disable avx2 variants
  fdct8x8_test: add missing avx2 functions
  dct4x4_test: add missing avx2 functions

10 years agovp9_sub_pixel_*variance*: disable avx2 variants
James Zern [Mon, 9 Jun 2014 01:25:37 +0000 (18:25 -0700)]
vp9_sub_pixel_*variance*: disable avx2 variants

tests failing under Win32/Win64

+ variance_test: add missing avx2 functions (partially disabled)

Change-Id: I6abc0657ea076379ab9ca65c12678b9ea199849d

10 years agovp9_sad*x4d: disable avx2 variants
James Zern [Mon, 9 Jun 2014 01:25:37 +0000 (18:25 -0700)]
vp9_sad*x4d: disable avx2 variants

tests failing under Win32/Win64

+ sad_test: add missing avx2 functions (disabled)

Change-Id: I8224fba2b270f6039ab1877d71e1e512f0081856

10 years agoMerge "Makefile: skip .d inclusion for 'testdata' target"
James Zern [Tue, 10 Jun 2014 22:58:59 +0000 (15:58 -0700)]
Merge "Makefile: skip .d inclusion for 'testdata' target"

10 years agoMerge "Add mode info arrays and mode info index."
hkuang [Tue, 10 Jun 2014 21:27:31 +0000 (14:27 -0700)]
Merge "Add mode info arrays and mode info index."

10 years agoAdd mode info arrays and mode info index.
hkuang [Mon, 9 Jun 2014 23:01:53 +0000 (16:01 -0700)]
Add mode info arrays and mode info index.

In non frame-parallel decoding, this works the same way as
current decoding scheme. Every time after decoder finish
decoding a frame, it will swap the current mode info pointer
and  previous mode info pointer if the decoded frame needs
to be shown. Both mode info pointer and previous mode info
pointer are from mode info arrays.

In frame-parallel decoding, this will become more complicated
as current frame's mode info pointer will be shared with next
frame as previous mode info pointer. But when one decoder
thread finishes decoding one frame and starts to work on next
available frame, it needs to retain the decoded frame's mode
info pointers until next frame finishes decoding. The mode info
index will serve this purpose. The decoder will use different
buffer in the mode info arrays and use the other buffer to save
previous decoded frame’s mode info.

Change-Id: If11d57d8eb0ee38c8876158e5482177fcb229428

10 years agoRemoving two unused TX_SIZE_SEARCH_METHOD members.
Dmitry Kovalev [Fri, 6 Jun 2014 01:46:13 +0000 (18:46 -0700)]
Removing two unused TX_SIZE_SEARCH_METHOD members.

Change-Id: I33a38bb9f46e7ef509bbbf0cfd7bc3ea5072d022

10 years agoMerge "Removing chessboard_index from SPEED_FEATURES."
Dmitry Kovalev [Tue, 10 Jun 2014 17:53:53 +0000 (10:53 -0700)]
Merge "Removing chessboard_index from SPEED_FEATURES."

10 years agoMerge "Removing unused motion_vector_context enum from vp9_encodeframe.c"
Dmitry Kovalev [Tue, 10 Jun 2014 17:53:25 +0000 (10:53 -0700)]
Merge "Removing unused motion_vector_context enum from vp9_encodeframe.c"

10 years agoMerge "Add x86_64-iphonesimulator-gcc target."
Tom Finegan [Tue, 10 Jun 2014 17:30:56 +0000 (10:30 -0700)]
Merge "Add x86_64-iphonesimulator-gcc target."

10 years agovp9_f(dct|ht): disable avx2 variants
James Zern [Mon, 9 Jun 2014 01:25:37 +0000 (18:25 -0700)]
vp9_f(dct|ht): disable avx2 variants

tests failing under Win32/Win64

+ dct16x16_test: add missing avx2 functions (partially disabled)

exercises the forward transforms
no idct/iht implementations, so the c-code is used

Change-Id: I04f64a457fa0828a00f32b5c9fe4f55294f21f61

10 years agoconvolve: disable avx2 variants
James Zern [Tue, 10 Jun 2014 01:36:58 +0000 (18:36 -0700)]
convolve: disable avx2 variants

tests failing under Win32/Win64

Change-Id: I5d49d11911bcda3a832b14efe5500d22597bedcf

10 years agofdct8x8_test: add missing avx2 functions
James Zern [Mon, 9 Jun 2014 01:25:37 +0000 (18:25 -0700)]
fdct8x8_test: add missing avx2 functions

exercises the forward transforms
no idct/iht implementations, so the c-code is used

Change-Id: I76b4d1712f10225c1ffa5ffb0ed9a551e68b93b4

10 years agodct4x4_test: add missing avx2 functions
James Zern [Mon, 9 Jun 2014 01:25:37 +0000 (18:25 -0700)]
dct4x4_test: add missing avx2 functions

exercises the forward transforms
no idct/iht implementations, so the c-code is used

Change-Id: I88c11ac37ac6456de9b4b3ec5da059faf4ad6066

10 years agoMerge "Use small transform size in non-rd real-time mode"
Yunqing Wang [Mon, 9 Jun 2014 20:07:24 +0000 (13:07 -0700)]
Merge "Use small transform size in non-rd real-time mode"

10 years agoMerge "Removing unused tt_activity_measure()."
Dmitry Kovalev [Mon, 9 Jun 2014 17:45:56 +0000 (10:45 -0700)]
Merge "Removing unused tt_activity_measure()."

10 years agoUse small transform size in non-rd real-time mode
Yunqing Wang [Thu, 29 May 2014 23:53:23 +0000 (16:53 -0700)]
Use small transform size in non-rd real-time mode

In non-rd real-time mode, choosing smaller transform size in
encoding gives better video quality and good speed gain than
choosing larger transform size. This patch set tx size search
method to ALLOW_8X8, which is better than using 4x4 or other
larger sizes.

Borg tests on rtc set at speed 6 showed significant gain on quality.
PSNR gain: 11.034% and SSIM gain: 15.466%.

The speed gain is 5% - 12% for <720p clips, and 2% - 7% for
720p clips.

Change-Id: If4dc74ed2df359346b059f47fb73b4a0193ec548

10 years agoMerge "Fix internal stats printing"
Adrian Grange [Mon, 9 Jun 2014 14:13:20 +0000 (07:13 -0700)]
Merge "Fix internal stats printing"

10 years agoMakefile: skip .d inclusion for 'testdata' target
James Zern [Sun, 8 Jun 2014 03:24:19 +0000 (20:24 -0700)]
Makefile: skip .d inclusion for 'testdata' target

avoids some unnecessary work when pulling testdata in a freshly
configured tree

Change-Id: Ib43379b0e1549107f3f1b227afca49a899bcc3ab

10 years agoMerge "gen_msvs_*proj.sh: speed up file generation"
James Zern [Sat, 7 Jun 2014 19:51:30 +0000 (12:51 -0700)]
Merge "gen_msvs_*proj.sh: speed up file generation"

10 years agogen_msvs_*proj.sh: speed up file generation
James Zern [Tue, 3 Jun 2014 23:22:43 +0000 (16:22 -0700)]
gen_msvs_*proj.sh: speed up file generation

execute fix_path once on the source file list rather than once per entry

Change-Id: Ibc8226e391b3028c1b0bcfeab83c790387c9fe23

10 years agoAdd x86_64-iphonesimulator-gcc target.
Tom Finegan [Fri, 6 Jun 2014 23:54:16 +0000 (16:54 -0700)]
Add x86_64-iphonesimulator-gcc target.

macho64 x86_64 with:
- -miphoneos-version-min=5.0
- -isysroot from xcrun --sdk iphonesimulator

Change-Id: I1ba183e16d50c93d48f526e2dc43a7a6040741c5

10 years agoMerge "Revert "Removing this_frame_stats member from TWO_PASS struct.""
Adrian Grange [Fri, 6 Jun 2014 21:03:52 +0000 (14:03 -0700)]
Merge "Revert "Removing this_frame_stats member from TWO_PASS struct.""

10 years agoRevert "Removing this_frame_stats member from TWO_PASS struct."
Adrian Grange [Fri, 6 Jun 2014 17:37:22 +0000 (10:37 -0700)]
Revert "Removing this_frame_stats member from TWO_PASS struct."

Use of stack frame variable "fps" beyond the lifetime of the function.

fps is sent as a paremeter to output_stats and stored in the
packet holding this encoded frame. This has scope beyond the
lifetime of the calling function.

This reverts commit 3f95a230c7e54104201b3f6c577dfa9251b4642a

Change-Id: Icd8e14b3d7dd733590ada12e619b9dce95b6b0f5

10 years agoMerge "Adding encode_tiles() function."
Dmitry Kovalev [Fri, 6 Jun 2014 17:03:18 +0000 (10:03 -0700)]
Merge "Adding encode_tiles() function."

10 years agoMerge "Fixes qindex for first frame in 1-pass cq/q modes"
Deb Mukherjee [Fri, 6 Jun 2014 11:43:15 +0000 (04:43 -0700)]
Merge "Fixes qindex for first frame in 1-pass cq/q modes"

10 years agoMerge "README: add a note about the test vectors"
James Zern [Fri, 6 Jun 2014 03:52:50 +0000 (20:52 -0700)]
Merge "README: add a note about the test vectors"

10 years agoMerge changes I0e4d807f,Ia5ff575c,Ie4a1f313
James Zern [Fri, 6 Jun 2014 03:52:26 +0000 (20:52 -0700)]
Merge changes I0e4d807f,Ia5ff575c,Ie4a1f313

* changes:
  gen_msvs_*proj.sh: strip SRC_PATH_BARE from obj names
  *.mk: pass SRC_PATH_BARE to all GEN_VCPROJ invocations
  build/msvs: fix builds in source dirs with spaces

10 years agoRemoving chessboard_index from SPEED_FEATURES.
Dmitry Kovalev [Fri, 6 Jun 2014 01:17:54 +0000 (18:17 -0700)]
Removing chessboard_index from SPEED_FEATURES.

This is not a speed feature, adding inline function instead.

Change-Id: Ia48c41802eec9e92cf990339d724097279695c9a

10 years agoAdding encode_tiles() function.
Dmitry Kovalev [Fri, 6 Jun 2014 01:03:40 +0000 (18:03 -0700)]
Adding encode_tiles() function.

Change-Id: Ib8187c8f2556e1e9268b0683cd2b6ff3489f0205

10 years agoMerge "Neon match to vp8 temporal denoiser fix"
Scott LaVarnway [Thu, 5 Jun 2014 22:47:35 +0000 (15:47 -0700)]
Merge "Neon match to vp8 temporal denoiser fix"

10 years agoFixes qindex for first frame in 1-pass cq/q modes
Deb Mukherjee [Thu, 5 Jun 2014 19:29:44 +0000 (12:29 -0700)]
Fixes qindex for first frame in 1-pass cq/q modes

Produces sane qindex for the first frame in 1-pass constant and
constrained qualirty modes.

Change-Id: Ib2a5091df15a23489e9bb5534a2019cf2689755e

10 years agoAdded OUTPUT_YUV_DENOISED CFLAG to VP8 encoder
Tim Kopp [Fri, 30 May 2014 17:29:08 +0000 (10:29 -0700)]
Added OUTPUT_YUV_DENOISED CFLAG to VP8 encoder

When this compiler flag is enabled, the encoder will write a denoised,
uncompressed, version of the input to denoised.yuv.

Change-Id: Ie0247f76b23219d95fe97dd70f23e097d742c249

10 years agoMerge changes I59ef7c49,I0156d856
Tim Kopp [Thu, 5 Jun 2014 16:56:04 +0000 (09:56 -0700)]
Merge changes I59ef7c49,I0156d856

* changes:
  Made MACROBLOCK.increase_denoising cond-compiled
  s/INT_MAX/UINT_MAX/ where appropriate

10 years agoFix internal stats printing
Adrian Grange [Thu, 5 Jun 2014 14:57:21 +0000 (07:57 -0700)]
Fix internal stats printing

Change-Id: I61bd0b127164a591b1c983bfcebd64ba7617f796

10 years agoAdd x86-iphonesimulator-gcc target.
Tom Finegan [Thu, 5 Jun 2014 01:57:25 +0000 (18:57 -0700)]
Add x86-iphonesimulator-gcc target.

macho32 i386 with:
- -miphoneos-version-min=5.0
- -isysroot from xcrun --sdk iphonesimulator

Change-Id: I6bb43eebab39a71cdb76264644eba14c22d736c2

10 years agoRemoving unused tt_activity_measure().
Dmitry Kovalev [Thu, 5 Jun 2014 00:11:30 +0000 (17:11 -0700)]
Removing unused tt_activity_measure().

Change-Id: Ifcb46e6904730d14b9ef76b648b4d0dc3cd5d0c5

10 years agoRemoving unused motion_vector_context enum from vp9_encodeframe.c
Dmitry Kovalev [Thu, 5 Jun 2014 00:01:23 +0000 (17:01 -0700)]
Removing unused motion_vector_context enum from vp9_encodeframe.c

The same enum defined and used in vp9_mvref_common.c.

Change-Id: I3975103997797add0a258d36c96d20ac9561a73d

10 years agoRemoving unused alt_freq field from VP9EncoderConfig.
Dmitry Kovalev [Wed, 4 Jun 2014 21:17:35 +0000 (14:17 -0700)]
Removing unused alt_freq field from VP9EncoderConfig.

Change-Id: I9b683c8647a864e74073161f4aa6f2911b7825e3

10 years agoMade MACROBLOCK.increase_denoising cond-compiled
Tim Kopp [Wed, 4 Jun 2014 20:45:23 +0000 (13:45 -0700)]
Made MACROBLOCK.increase_denoising cond-compiled

Change-Id: I59ef7c49f72d2d40bbe5b56af11bdf5f9ae2f1b8

10 years agos/INT_MAX/UINT_MAX/ where appropriate
Tim Kopp [Tue, 3 Jun 2014 22:56:39 +0000 (15:56 -0700)]
s/INT_MAX/UINT_MAX/ where appropriate

Change-Id: I0156d85671305326525c4644510e240021eca461

10 years agoMerge "Enable unit test for partial 16x16 inverse 2D-DCT"
Jingning Han [Wed, 4 Jun 2014 18:26:02 +0000 (11:26 -0700)]
Merge "Enable unit test for partial 16x16 inverse 2D-DCT"

10 years agoUsing 2 instead of 3 elements for avg_frame_qindex array.
Dmitry Kovalev [Wed, 4 Jun 2014 02:45:13 +0000 (19:45 -0700)]
Using 2 instead of 3 elements for avg_frame_qindex array.

The third array element was unused. 2 elements now: key- and interframe.

Change-Id: I5b8b9f5d889cc96a204cedfc432059293256298e

10 years agoEnable unit test for partial 16x16 inverse 2D-DCT
Jingning Han [Wed, 28 May 2014 18:18:33 +0000 (11:18 -0700)]
Enable unit test for partial 16x16 inverse 2D-DCT

This commit enables unit test for SSSE3 16x16 inverse 2D-DCT with
10 non-zero coefficients. It includes a new test condition to
cover the potential overflow issue due to extremely coarse quantization.

Change-Id: I945e16f05dfbe19500f0da5f15990feba8e26d99

10 years agoMerge "Re-enable unit test for SSSE3 forward 8x8 2D-DCT"
Jingning Han [Wed, 4 Jun 2014 01:56:23 +0000 (18:56 -0700)]
Merge "Re-enable unit test for SSSE3 forward 8x8 2D-DCT"

10 years agoMerge "Enable SSSE3 inverse 2D-DCT with 10 non-zero coeffs"
Jingning Han [Tue, 3 Jun 2014 23:51:39 +0000 (16:51 -0700)]
Merge "Enable SSSE3 inverse 2D-DCT with 10 non-zero coeffs"

10 years agoRe-enable unit test for SSSE3 forward 8x8 2D-DCT
Jingning Han [Tue, 3 Jun 2014 23:45:22 +0000 (16:45 -0700)]
Re-enable unit test for SSSE3 forward 8x8 2D-DCT

This commit enables the unit test for SSSE3 forward 8x8 2D-DCT.

Change-Id: Ie4aae84ac74f6eb1a80b62285c91632bd6db29f1

10 years agoMerge "Removing lossless field from VP9EncoderConfig."
Dmitry Kovalev [Tue, 3 Jun 2014 23:46:22 +0000 (16:46 -0700)]
Merge "Removing lossless field from VP9EncoderConfig."

10 years agoMerge "Fix potential overflow issue in SSSE3 forward 8x8 2D-DCT"
Jingning Han [Tue, 3 Jun 2014 23:43:49 +0000 (16:43 -0700)]
Merge "Fix potential overflow issue in SSSE3 forward 8x8 2D-DCT"

10 years agoMerge "Rework unit test for 8x8 transformation"
Jingning Han [Tue, 3 Jun 2014 23:43:26 +0000 (16:43 -0700)]
Merge "Rework unit test for 8x8 transformation"

10 years agoFix potential overflow issue in SSSE3 forward 8x8 2D-DCT
Jingning Han [Tue, 3 Jun 2014 01:48:33 +0000 (18:48 -0700)]
Fix potential overflow issue in SSSE3 forward 8x8 2D-DCT

The SSSE3 implementation might find a potential overflow issue in
its second 1-D transform, if all input residual pixels are close to
255. This commit fixes the issue and re-enables the unit test on
the SSSE3 version.

Change-Id: I0520478abdab7afd3ff2842516bec951111e9b3c

10 years agoRework unit test for 8x8 transformation
Jingning Han [Mon, 2 Jun 2014 23:40:01 +0000 (16:40 -0700)]
Rework unit test for 8x8 transformation

This commit reworks the unit test for 8x8 forward/inverse
transformation. It adds extreme input value test to detect overflow
issues in the intermediate steps.

It temporarily disables unit test for the SSSE3 version, which
showed overflow failure in the new test conditions.

Change-Id: I7caf10bba4b6db031add65d8c0eb99426b38aa42

10 years agoAdding buffer levels to RATE_CONTROL struct.
Dmitry Kovalev [Tue, 3 Jun 2014 20:56:46 +0000 (13:56 -0700)]
Adding buffer levels to RATE_CONTROL struct.

Change-Id: Ib35ff854378764dc3c6745844c67a33dee545663

10 years agoRemoving lossless field from VP9EncoderConfig.
Dmitry Kovalev [Tue, 3 Jun 2014 19:52:49 +0000 (12:52 -0700)]
Removing lossless field from VP9EncoderConfig.

Right now there is just one place to check: xd->lossless and for the first
pass there is a function is_lossless_requested().

Change-Id: I949a6834e64ce51e422e2892f097f2b871b5429a

10 years agoCleaning up accumulate_frame_motion_stats().
Dmitry Kovalev [Tue, 3 Jun 2014 17:36:29 +0000 (10:36 -0700)]
Cleaning up accumulate_frame_motion_stats().

Change-Id: I9986f3fd23c5e0677068af768eae0def3db9782f

10 years agoMerge "Cleaning up full_pixel_search()."
Dmitry Kovalev [Tue, 3 Jun 2014 17:22:35 +0000 (10:22 -0700)]
Merge "Cleaning up full_pixel_search()."

10 years agoMerge "Moving first pass related functions to vp9_firstpasss.c."
Dmitry Kovalev [Tue, 3 Jun 2014 17:05:38 +0000 (10:05 -0700)]
Merge "Moving first pass related functions to vp9_firstpasss.c."

10 years agoMerge "Reusing existing vp9_get{8x8, 16x16}var() instead of new ones."
Dmitry Kovalev [Tue, 3 Jun 2014 17:04:27 +0000 (10:04 -0700)]
Merge "Reusing existing vp9_get{8x8, 16x16}var() instead of new ones."

10 years agoFix AQ mode 2 bug where delta causes Q 0.
Paul Wilkins [Tue, 3 Jun 2014 12:03:49 +0000 (13:03 +0100)]
Fix AQ mode 2 bug where delta causes Q 0.

In Aq mode 2 for kf/arf/gf the segment q delta
is calculated and then applied by re-quantization without
going through the rd loop again. If the base Q != 0
but the segment Q == 0 (lossless) this can could give rise
to a situation where we have an illegal combination of
transform size and Q. (Q == 0 requires that all blocks
are coded 4x4 WHT).

Change-Id: I241a58c6494ed442e9e4630070b0cde0fb99ae45

10 years agoMerge "Remove Wextra warnings from vp9_sad.c"
Deb Mukherjee [Tue, 3 Jun 2014 05:39:17 +0000 (22:39 -0700)]
Merge "Remove Wextra warnings from vp9_sad.c"

10 years agoMerge "Remove an attempt to handle SEG_LVL_SKIP sub8x8."
Alex Converse [Tue, 3 Jun 2014 01:50:40 +0000 (18:50 -0700)]
Merge "Remove an attempt to handle SEG_LVL_SKIP sub8x8."

10 years agogen_msvs_*proj.sh: strip SRC_PATH_BARE from obj names
James Zern [Tue, 3 Jun 2014 00:07:13 +0000 (17:07 -0700)]
gen_msvs_*proj.sh: strip SRC_PATH_BARE from obj names

reduces the risk of exceeding msbuild command line length limits

Change-Id: I0e4d807f42c090a709a3dc365a02b929a3071688

10 years ago*.mk: pass SRC_PATH_BARE to all GEN_VCPROJ invocations
James Zern [Mon, 2 Jun 2014 23:42:14 +0000 (16:42 -0700)]
*.mk: pass SRC_PATH_BARE to all GEN_VCPROJ invocations

this will enable stripping of the path from the object file name

Change-Id: Ia5ff575cfa4fe946200878b0aded05832609f316

10 years agobuild/msvs: fix builds in source dirs with spaces
James Zern [Mon, 2 Jun 2014 22:58:32 +0000 (15:58 -0700)]
build/msvs: fix builds in source dirs with spaces

...when configured below the path containing spaces. configuring outside
the path containing spaces still won't work due to issues with the
makefiles, e.g.,
/path with spaces/git
/path with spaces/build1
/build2
configure/make in build1 will work, build2 will not

Change-Id: Ie4a1f313596d7457cadd67476ac1dbd3273ad46e

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 sad unit tests for VP8 and VP9
had to be separated.

Fixes a bug in original patch:
(https://gerrit.chromium.org/gerrit/#/c/70163/8)
that was reverted due to a nightly test failure.

Change-Id: Ia2a4e9e278fd3c89d6c3c82fcc6381320ec2a8a6

10 years agoFixing failed ARM build.
Dmitry Kovalev [Mon, 2 Jun 2014 18:14:12 +0000 (11:14 -0700)]
Fixing failed ARM build.

Change-Id: I3f74418f07c2dfdd7725a5b4a8ef5c5f4aca6289

10 years agoMerge "Fixed OUTPUT_YUV_SRC behavior for VP8"
Tim Kopp [Mon, 2 Jun 2014 18:08:19 +0000 (11:08 -0700)]
Merge "Fixed OUTPUT_YUV_SRC behavior for VP8"