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

10 years agoMerge "seeing a 10x slowing down, revert now for investigation"
Yaowu Xu [Mon, 2 Jun 2014 16:02:32 +0000 (09:02 -0700)]
Merge "seeing a 10x slowing down, revert now for investigation"

10 years agoseeing a 10x slowing down, revert now for investigation
Yaowu Xu [Mon, 2 Jun 2014 16:02:19 +0000 (09:02 -0700)]
seeing a 10x slowing down, revert now for investigation

Revert "Fix a problem of using an uninitialized parameter"

This reverts commit 538af7db5ffe2ab560511a3bc0ae74dae9316c14

Change-Id: I071aa9b7068ef515abb8ae9584df15067706ccb5

10 years agoMerge "Revert "Remove Wextra warnings from vp9_sad.c""
Frank Galligan [Sun, 1 Jun 2014 23:58:11 +0000 (16:58 -0700)]
Merge "Revert "Remove Wextra warnings from vp9_sad.c""

10 years agoRevert "Remove Wextra warnings from vp9_sad.c"
Frank Galligan [Sun, 1 Jun 2014 23:20:26 +0000 (16:20 -0700)]
Revert "Remove Wextra warnings from vp9_sad.c"

This reverts commit 916550428db803c54c993ff9d3c34b9b0bcebb7c

Change-Id: I500822b03f09c64ff6ec5396c68edee9ca3b75cb

10 years agoMerge "Converting disable_inter_mode_mask to inter_mode_mask."
Dmitry Kovalev [Sat, 31 May 2014 07:08:45 +0000 (00:08 -0700)]
Merge "Converting disable_inter_mode_mask to inter_mode_mask."

10 years agoREADME: add a note about the test vectors
James Zern [Fri, 30 May 2014 23:37:39 +0000 (16:37 -0700)]
README: add a note about the test vectors

Change-Id: I8b3299bf1579962c6dbb29b61c16801fef2460fd

10 years agoMerge "Add overflow check unit test for 16x16 inverse DCT/ADST transform"
Jingning Han [Fri, 30 May 2014 22:53:17 +0000 (15:53 -0700)]
Merge "Add overflow check unit test for 16x16 inverse DCT/ADST transform"

10 years agoMerge "Fix a potential overflow issue in inverse 16x16 full 2D-DCT"
Jingning Han [Fri, 30 May 2014 22:52:53 +0000 (15:52 -0700)]
Merge "Fix a potential overflow issue in inverse 16x16 full 2D-DCT"

10 years agoMerge "Fix unused variable warning."
James Zern [Fri, 30 May 2014 22:09:43 +0000 (15:09 -0700)]
Merge "Fix unused variable warning."

10 years agoMerge "Refactor the vp9_get_frame code for frame parallel."
hkuang [Fri, 30 May 2014 20:38:36 +0000 (13:38 -0700)]
Merge "Refactor the vp9_get_frame code for frame parallel."

10 years agoAdd overflow check unit test for 16x16 inverse DCT/ADST transform
Jingning Han [Thu, 29 May 2014 19:50:54 +0000 (12:50 -0700)]
Add overflow check unit test for 16x16 inverse DCT/ADST transform

This commit applies quantization process with coarse quantization
step size to the forward transform coefficients and tests all the
inverse 16x16 DCT and ADST implementation versions with the
dequantized coefficients as input, to verify that the outcomes
match the prototype.

Change-Id: I68034a6126b45192c87d8c642155290e89bff8fa

10 years agoMerge "Fix a problem of using an uninitialized parameter"
Yaowu Xu [Fri, 30 May 2014 18:37:04 +0000 (11:37 -0700)]
Merge "Fix a problem of using an uninitialized parameter"

10 years agoMerge "Removing unused ref_frame_mask local var."
Dmitry Kovalev [Fri, 30 May 2014 18:24:25 +0000 (11:24 -0700)]
Merge "Removing unused ref_frame_mask local var."

10 years agoRefactor the vp9_get_frame code for frame parallel.
hkuang [Fri, 23 May 2014 22:18:41 +0000 (15:18 -0700)]
Refactor the vp9_get_frame code for frame parallel.

In frame parallel decoding mode,  there will be still several frames inside
the decoder when application stop calling vpx_codec_decode to decode frames.
The application will need to keep calling vpx_codec_get_frame to get all the
remaining decoded frames in the decoder.

Change-Id: I2ce8260a91282f045bb9a6093ff8a606b1990f14

10 years agoMerge "Do not export non-existant symbols"
Yaowu Xu [Fri, 30 May 2014 17:33:29 +0000 (10:33 -0700)]
Merge "Do not export non-existant symbols"

10 years agoFix unused variable warning.
Christian Duvivier [Fri, 30 May 2014 17:03:46 +0000 (10:03 -0700)]
Fix unused variable warning.

Change-Id: I52f73943194039697da6880d2da54821b2498336

10 years agoFix a problem of using an uninitialized parameter
Yaowu Xu [Fri, 30 May 2014 17:15:30 +0000 (10:15 -0700)]
Fix a problem of using an uninitialized parameter

This commit added a call to set speed feature before initializing
motion search, fixed the problem where unintialized search method
is used before its value being set.

Change-Id: I537e4612bf0d00fd6f51396fd222d4b3bd6fde58

10 years agoFixed OUTPUT_YUV_SRC behavior for VP8
Tim Kopp [Fri, 30 May 2014 15:46:08 +0000 (08:46 -0700)]
Fixed OUTPUT_YUV_SRC behavior for VP8

By enabling the OUTPUT_YUV_SRC compiler flag, the encoder will write the raw
input to bd.yuv.

The functionality was mostly implemented, but in its previous state did not
compile.

Change-Id: Ia331ad0f4c6e6f9f51e8d42cd33ba8cc146b3dbf

10 years agoMerge "Re-factor some duplicate code."
Paul Wilkins [Fri, 30 May 2014 13:14:06 +0000 (06:14 -0700)]
Merge "Re-factor some duplicate code."

10 years agoDo not export non-existant symbols
Sean McGovern [Thu, 29 May 2014 02:16:13 +0000 (22:16 -0400)]
Do not export non-existant symbols

Change-Id: Ic0fb8e5016d064c2227cf5d87ffba86a4303c82b

10 years agoRemoving unused ref_frame_mask local var.
Dmitry Kovalev [Thu, 29 May 2014 22:03:02 +0000 (15:03 -0700)]
Removing unused ref_frame_mask local var.

Change-Id: Ie11558c076a0161cc9608788e050b1b16e31c490

10 years agoMerge "Consistent names for intra mask flags."
Dmitry Kovalev [Thu, 29 May 2014 20:23:31 +0000 (13:23 -0700)]
Merge "Consistent names for intra mask flags."

10 years agoMerge "Don't update encoder skip count for SEG_LVL_SKIP."
Alex Converse [Thu, 29 May 2014 19:46:20 +0000 (12:46 -0700)]
Merge "Don't update encoder skip count for SEG_LVL_SKIP."

10 years agoConverting disable_inter_mode_mask to inter_mode_mask.
Dmitry Kovalev [Thu, 29 May 2014 19:25:41 +0000 (12:25 -0700)]
Converting disable_inter_mode_mask to inter_mode_mask.

Making this consistent with intra mode masks: you need to specify
allowed inter/intra modes to use.

Change-Id: Iaecd28bf79047259707d8e7a59a57bb7b856383e

10 years agoConsistent names for intra mask flags.
Dmitry Kovalev [Thu, 29 May 2014 19:11:02 +0000 (12:11 -0700)]
Consistent names for intra mask flags.

Change-Id: Ibdd5255d37200fb8a1d50f71a2a49c6089ae21e7

10 years agoRemove an attempt to handle SEG_LVL_SKIP sub8x8.
Alex Converse [Thu, 29 May 2014 18:27:07 +0000 (11:27 -0700)]
Remove an attempt to handle SEG_LVL_SKIP sub8x8.

SEG_LEVEL_SKIP requires the block size to be at least 8x8. Attempting to
use it on smaller partitions causes the decoder to reject the bitstream.

Change-Id: Ia7188cdf8ae5ac1df6bd29f3f80dbb0610e1f7b1

10 years agoMerge "Making speed checks consistent in set_rt_speed_feature()."
Dmitry Kovalev [Thu, 29 May 2014 18:58:42 +0000 (11:58 -0700)]
Merge "Making speed checks consistent in set_rt_speed_feature()."

10 years agoFix a potential overflow issue in inverse 16x16 full 2D-DCT
Jingning Han [Thu, 29 May 2014 18:41:55 +0000 (11:41 -0700)]
Fix a potential overflow issue in inverse 16x16 full 2D-DCT

An overflow issue could potentially happen in the second round 1-D
transform of the SSSE3 full inverse 16x16 2D-DCT. This commit fixes
this issue.

Change-Id: Ia19e4888fda1cc929a28a5f89a5beec612d628dc

10 years agoDon't update encoder skip count for SEG_LVL_SKIP.
Alex Converse [Thu, 29 May 2014 01:44:17 +0000 (18:44 -0700)]
Don't update encoder skip count for SEG_LVL_SKIP.

This aligns the encoder behavior with the decoder.

Change-Id: Ifa0840e4b07b19309e0bf1d1182498883249ec45

10 years agoMerge "Moving itxm_add pointer from MACROBLOCKD to MACROBLOCK."
Dmitry Kovalev [Thu, 29 May 2014 18:16:39 +0000 (11:16 -0700)]
Merge "Moving itxm_add pointer from MACROBLOCKD to MACROBLOCK."

10 years agoReusing existing vp9_get{8x8, 16x16}var() instead of new ones.
Dmitry Kovalev [Wed, 28 May 2014 21:07:13 +0000 (14:07 -0700)]
Reusing existing vp9_get{8x8, 16x16}var() instead of new ones.

Change-Id: I87b7c657d8813d7fb383ab519d150c0ffb1dd377

10 years agoMaking speed checks consistent in set_rt_speed_feature().
Dmitry Kovalev [Thu, 29 May 2014 18:11:50 +0000 (11:11 -0700)]
Making speed checks consistent in set_rt_speed_feature().

Change-Id: Id3d0a49836fe996b806707d29a8130acf9d7ea0e

10 years agoMerge "Fixing -Wextra warnings in vp9_{cx, dx}_iface.c."
Yaowu Xu [Thu, 29 May 2014 16:09:58 +0000 (09:09 -0700)]
Merge "Fixing -Wextra warnings in vp9_{cx, dx}_iface.c."

10 years agoMerge "Fixed a crash windows build"
Yaowu Xu [Thu, 29 May 2014 15:16:19 +0000 (08:16 -0700)]
Merge "Fixed a crash windows build"

10 years agoFixed a crash windows build
Yaowu Xu [Wed, 28 May 2014 21:17:46 +0000 (14:17 -0700)]
Fixed a crash windows build

Change-Id: I58baa1da1f3bfc8a6da454399139fe6a7473ff10

10 years agoNeon match to vp8 temporal denoiser fix
Scott LaVarnway [Wed, 28 May 2014 20:32:52 +0000 (13:32 -0700)]
Neon match to vp8 temporal denoiser fix

Now match the "C" version of "Fix to reduce block
artifacts from vp8 temporal denoiser."
(see change id Id9b56e59e33f3c22e79d2f89f763bdde246fdf3f)

Change-Id: I99e569bb6af4ae3532621127e12bf917a48ba08e

10 years agoMerge "vp8 denoiser: fix to zero_mv mode selection."
Marco Paniconi [Wed, 28 May 2014 19:32:44 +0000 (12:32 -0700)]
Merge "vp8 denoiser: fix to zero_mv mode selection."

10 years agovp8 denoiser: fix to zero_mv mode selection.
Marco Paniconi [Tue, 27 May 2014 23:44:17 +0000 (16:44 -0700)]
vp8 denoiser: fix to zero_mv mode selection.

In the current logic, if the sse for zero motion is smaller
than the sse for new_mv (i.e., best_sse), we may still end up
using the non-zero mv for denoising (if the magnitude of new_mv is above threshold).
This can happen for very noisy content, and can lead to artifacts.

This change ensures that we always use zero_mv (over new_mv) for
denoisng if sse_zero_mv <= best_sse.

Change-Id: I8ef9294d837b077013b77a46c9a71d17c648b48a

10 years agoFixing -Wextra warnings in vp9_{cx, dx}_iface.c.
Dmitry Kovalev [Wed, 28 May 2014 18:15:43 +0000 (11:15 -0700)]
Fixing -Wextra warnings in vp9_{cx, dx}_iface.c.

Change-Id: I0abad32551dc534d3db27424c118e4b2f6b50f37

10 years agoMerge "Using 2 instead of 3 elements for last_q array."
Dmitry Kovalev [Wed, 28 May 2014 17:57:40 +0000 (10:57 -0700)]
Merge "Using 2 instead of 3 elements for last_q array."

10 years agoMerge "Removing redundant vp9_zero() call."
Dmitry Kovalev [Wed, 28 May 2014 17:55:12 +0000 (10:55 -0700)]
Merge "Removing redundant vp9_zero() call."

10 years agoEnable SSSE3 inverse 2D-DCT with 10 non-zero coeffs
Jingning Han [Wed, 28 May 2014 17:51:09 +0000 (10:51 -0700)]
Enable SSSE3 inverse 2D-DCT with 10 non-zero coeffs

This commit enables SSSE3 implementation of the inverse 2D-DCT
with only first 10 coefficients non-zero. It reduces the runtime
of SSE2 version from 745 cycles to 538 cycles, i.e., 27% speed-up.

Change-Id: I18ba4128859b09c704a6ee361d69a86c09fe8dfe

10 years agoMerge "Cleaning up vp9_variance_sse2.c."
Dmitry Kovalev [Wed, 28 May 2014 17:50:46 +0000 (10:50 -0700)]
Merge "Cleaning up vp9_variance_sse2.c."

10 years agoMerge "Always allow ZEROMV when SEG_LVL_SKIP is on."
Alex Converse [Wed, 28 May 2014 17:19:49 +0000 (10:19 -0700)]
Merge "Always allow ZEROMV when SEG_LVL_SKIP is on."

10 years agoMerge "Fix the all intra modes mask constant."
Alex Converse [Wed, 28 May 2014 17:19:18 +0000 (10:19 -0700)]
Merge "Fix the all intra modes mask constant."

10 years agoMerge "Removing this_frame_stats member from TWO_PASS struct."
Paul Wilkins [Wed, 28 May 2014 15:07:50 +0000 (08:07 -0700)]
Merge "Removing this_frame_stats member from TWO_PASS struct."

10 years agoRe-factor some duplicate code.
Paul Wilkins [Tue, 27 May 2014 14:40:33 +0000 (15:40 +0100)]
Re-factor some duplicate code.

Change-Id: I89a1dbea39c50c7633f746d9c93fec3a289f1b42

10 years agoMerge "Remove brightness weighting in two pass."
Paul Wilkins [Wed, 28 May 2014 09:04:29 +0000 (02:04 -0700)]
Merge "Remove brightness weighting in two pass."

10 years agoRemoving undeclared identifier - build fix
Deb Mukherjee [Wed, 28 May 2014 06:24:06 +0000 (23:24 -0700)]
Removing undeclared identifier - build fix

Fixes build with --enable-internal-stats

Change-Id: I137169c859f561478e45891defe976d595454166

10 years agoCleaning up full_pixel_search().
Dmitry Kovalev [Wed, 28 May 2014 01:38:57 +0000 (18:38 -0700)]
Cleaning up full_pixel_search().

Change-Id: Ie517ac06385133ffb3bbc449d9f23240f245976d

10 years agoUsing 2 instead of 3 elements for last_q array.
Dmitry Kovalev [Wed, 28 May 2014 01:19:19 +0000 (18:19 -0700)]
Using 2 instead of 3 elements for last_q array.

Change-Id: I2c6950e7d79fc89c6f97e6dcf47317ef66c453a5

10 years agoAlways allow ZEROMV when SEG_LVL_SKIP is on.
Alex Converse [Wed, 28 May 2014 01:14:14 +0000 (18:14 -0700)]
Always allow ZEROMV when SEG_LVL_SKIP is on.

Change-Id: I6db1dc82f66438ac48f571d2f1a2ac7c39a97a1a