platform/upstream/libvpx.git
9 years agoSubstantial reworking of code for arf and kf groups.
Paul Wilkins [Fri, 15 Aug 2014 13:49:34 +0000 (14:49 +0100)]
Substantial reworking of code for arf and kf groups.

Substantial restructuring of the way we estimate
the rate of decay in prediction quality and determine
the arf interval and amount of boost used.

Also other changes to support moving to a lower first pass
Q which exposes some new features and allows us to better
distinguish genuinely static blocks from low motion or noisy
blocks.

Net gains now visible on all the test sets with std-hd PSNR up
1.87%. There are still some bad outlier cases but most of these
are low motion or slide show type content where the metrics
are already high at any given rate. The best + case is up by
more than 10%.

Change-Id: I18e25170053bdf3188f493ff8062f48a74515815

9 years agoMerge "Improved mb_lpf_horizontal_edge_w_sse2_16() #2"
Frank Galligan [Thu, 18 Sep 2014 01:52:30 +0000 (18:52 -0700)]
Merge "Improved mb_lpf_horizontal_edge_w_sse2_16() #2"

9 years agoImproved mb_lpf_horizontal_edge_w_sse2_16() #2
Scott LaVarnway [Wed, 17 Sep 2014 18:58:17 +0000 (11:58 -0700)]
Improved mb_lpf_horizontal_edge_w_sse2_16() #2

The decoder performance improved up to 1% for the
test clips used.

Change-Id: I4621112bdccfba01640322facfa4ba8da8290ea5

9 years agoMerge "Resolves a few gcc warnings"
Deb Mukherjee [Wed, 17 Sep 2014 17:34:29 +0000 (10:34 -0700)]
Merge "Resolves a few gcc warnings"

9 years agoMerge "vp8: common: postproc: fix signed overflow of statement of (X +c) >= X when...
Johann [Wed, 17 Sep 2014 17:18:23 +0000 (10:18 -0700)]
Merge "vp8: common: postproc: fix signed overflow of statement of (X +c) >= X when '-Werror=strict-overflow' is set."

9 years agoResolves a few gcc warnings
Deb Mukherjee [Wed, 17 Sep 2014 05:44:40 +0000 (22:44 -0700)]
Resolves a few gcc warnings

clang is fine.

Change-Id: Ia4e9ff17ea3b86bc87dca35828ee7ce45bea6994

9 years agoMerge "arm: Fix building vp8_mse16x16_neon.c with MSVC"
James Zern [Wed, 17 Sep 2014 01:44:49 +0000 (18:44 -0700)]
Merge "arm: Fix building vp8_mse16x16_neon.c with MSVC"

9 years agoMerge "Adding high-bitdepth intra prediction functions"
Deb Mukherjee [Wed, 17 Sep 2014 00:10:24 +0000 (17:10 -0700)]
Merge "Adding high-bitdepth intra prediction functions"

9 years agoMerge "Remove memset of every external frame buffer."
Frank Galligan [Tue, 16 Sep 2014 22:17:26 +0000 (15:17 -0700)]
Merge "Remove memset of every external frame buffer."

9 years agoMerge "Speeding up decode_coeffs()."
Dmitry Kovalev [Tue, 16 Sep 2014 22:13:14 +0000 (15:13 -0700)]
Merge "Speeding up decode_coeffs()."

9 years agoAdding high-bitdepth intra prediction functions
Deb Mukherjee [Mon, 15 Sep 2014 19:59:19 +0000 (12:59 -0700)]
Adding high-bitdepth intra prediction functions

Change-Id: I6f5cb101e2dc57c3d3f4d7e0ffb4ddbed027d111

9 years agoAdds high bitdepth quantization functions
Deb Mukherjee [Tue, 2 Sep 2014 23:34:09 +0000 (16:34 -0700)]
Adds high bitdepth quantization functions

Adds various high bitdepth quantization functions.

Change-Id: I36fc0bf75a1bd15128ed271df8723de0ac134b0c

9 years agoMerge "Use non-zero mode threshold for NEARESTMV modes"
Jingning Han [Tue, 16 Sep 2014 20:39:54 +0000 (13:39 -0700)]
Merge "Use non-zero mode threshold for NEARESTMV modes"

9 years agoMerge "Fix a performance regression"
Yaowu Xu [Tue, 16 Sep 2014 19:58:47 +0000 (12:58 -0700)]
Merge "Fix a performance regression"

9 years agoarm: Fix building vp8_mse16x16_neon.c with MSVC
Scott LaVarnway [Tue, 16 Sep 2014 19:36:00 +0000 (12:36 -0700)]
arm: Fix building vp8_mse16x16_neon.c with MSVC

Use the right return values - vadd_s64 returns int64x1_t, not
a normal int64_t.

Change-Id: Ife17213087c1dfb5faaa647f804d2fd140f3a0eb

9 years agoMerge "Fix ARF construction when scaling"
Adrian Grange [Tue, 16 Sep 2014 19:35:23 +0000 (12:35 -0700)]
Merge "Fix ARF construction when scaling"

9 years agoSpeeding up decode_coeffs().
Dmitry Kovalev [Fri, 5 Sep 2014 23:58:24 +0000 (16:58 -0700)]
Speeding up decode_coeffs().

1080p decoding speedup -- 1.25%, 4K decoding speedup -- 2.5%.

Change-Id: I5f02f521cbf7758d4d1886a93bc5b074abdff03d

9 years agoMerge "Move call to vp9_rc_get_second_pass_params()."
Adrian Grange [Tue, 16 Sep 2014 18:37:33 +0000 (11:37 -0700)]
Merge "Move call to vp9_rc_get_second_pass_params()."

9 years agoFix a performance regression
Yaowu Xu [Tue, 16 Sep 2014 17:46:18 +0000 (10:46 -0700)]
Fix a performance regression

This commit adds back sse2 or ssse3 optimized versio of a couple of
functions, fixes a ~10% performance regression.

Change-Id: I049786906e5a641224dced63c6492aec9d86d183

9 years agoFix ARF construction when scaling
Adrian Grange [Tue, 16 Sep 2014 18:01:54 +0000 (11:01 -0700)]
Fix ARF construction when scaling

The ARF frame should always be the same size as the
native resolution of the input frames.

It will be scaled to the required resolution at
encode time.

Change-Id: I0afe858129aa6ef65b1648f43476331715346896

9 years agoMerge "build/make/iosbuild.sh: Be more explicit about armv7."
Tom Finegan [Tue, 16 Sep 2014 17:17:59 +0000 (10:17 -0700)]
Merge "build/make/iosbuild.sh: Be more explicit about armv7."

9 years agoUse non-zero mode threshold for NEARESTMV modes
Jingning Han [Tue, 16 Sep 2014 16:49:17 +0000 (09:49 -0700)]
Use non-zero mode threshold for NEARESTMV modes

This commit makes the encoder to use non-zero mode threshold for
NEARESTMV modes. The runtime for test clips of speed 3 is reduced
by about 1%.

pedestrian 1080p 2000 kbps, 143239 ms -> 141989 ms
bus CIF 1000 kbps, 7835 ms -> 7749 ms

The compression performance change is about -0.02% for both derf
and stdhd.

Change-Id: Ib71808922c41ae2997100cb7c561f68dcebfa08e

9 years agoMerge "Add ARF validation for compound inter mode check"
Jingning Han [Tue, 16 Sep 2014 04:26:37 +0000 (21:26 -0700)]
Merge "Add ARF validation for compound inter mode check"

9 years agoMerge "Remove redundant reference frame check in sub8x8 RD search"
Jingning Han [Tue, 16 Sep 2014 04:26:11 +0000 (21:26 -0700)]
Merge "Remove redundant reference frame check in sub8x8 RD search"

9 years agoMerge "Replace best_ref_index table fetch with best_mbmode"
Jingning Han [Tue, 16 Sep 2014 04:25:48 +0000 (21:25 -0700)]
Merge "Replace best_ref_index table fetch with best_mbmode"

9 years agoMerge "Simplify the skip flag cost code"
Yunqing Wang [Tue, 16 Sep 2014 01:50:30 +0000 (18:50 -0700)]
Merge "Simplify the skip flag cost code"

9 years agoMerge "Set the skip flag to 1 for skippable blocks"
Yunqing Wang [Tue, 16 Sep 2014 01:50:19 +0000 (18:50 -0700)]
Merge "Set the skip flag to 1 for skippable blocks"

9 years agoSimplify the skip flag cost code
Yunqing Wang [Tue, 16 Sep 2014 00:11:16 +0000 (17:11 -0700)]
Simplify the skip flag cost code

Code refactoring.

Change-Id: Idad53cb80497d13551a142a642f7529fc305b0bc

9 years agoSet the skip flag to 1 for skippable blocks
Yunqing Wang [Mon, 15 Sep 2014 23:50:19 +0000 (16:50 -0700)]
Set the skip flag to 1 for skippable blocks

If the partition block is skippable, which means no coefficients
for Y, U, and V planes, its skip flag is set to 1. No quality
change (verified by borg tests), and no noticeable speed change.

Change-Id: I9231f720f8dd6364384cf05aa148ca24d75450f1

9 years agoMerge "vp8/vp9: neon: msvc: move the 'ifdef _MSC_VER' bit to vpx_ports/mem.h. ...
Johann [Mon, 15 Sep 2014 22:53:12 +0000 (15:53 -0700)]
Merge "vp8/vp9: neon: msvc: move the 'ifdef _MSC_VER' bit to vpx_ports/mem.h.                      fix compiling warning."

9 years agoRemove memset of every external frame buffer.
Frank Galligan [Thu, 11 Sep 2014 15:39:38 +0000 (08:39 -0700)]
Remove memset of every external frame buffer.

Libvpx was memseting every external frame buffer before decode. This
was to work around a valgrind issue in our C loop filter. Most of
the time this was not needed and we have noticed some significant
performance loss on some platforms. Now we require the application to
zero out the buffers if it is using external frame buffers.

Change-Id: I7330d00a315e65137ed30edd5f813e8929b76242

9 years agoMerge "Fix format in vp9_rd_pick_inter_mode_sub8x8"
Jingning Han [Mon, 15 Sep 2014 22:34:22 +0000 (15:34 -0700)]
Merge "Fix format in vp9_rd_pick_inter_mode_sub8x8"

9 years agoAdd ARF validation for compound inter mode check
Jingning Han [Mon, 15 Sep 2014 18:20:30 +0000 (11:20 -0700)]
Add ARF validation for compound inter mode check

This commit enforces ARF validation check for compound inter modes.
It avoids potential access to ARF in the encoding process if it
is not allowed.

Change-Id: I055fec946b5d19d97937dc9001e1e564923e2439

9 years agoRemove redundant reference frame check in sub8x8 RD search
Jingning Han [Mon, 15 Sep 2014 17:12:05 +0000 (10:12 -0700)]
Remove redundant reference frame check in sub8x8 RD search

The valid reference frame check in sub8x8 rate-distortion
optimization search has been included in the ref_frame_skip_mask
scheme. This commit removes the later further validation checks
that are not in effect.

Change-Id: I853b477c44037d3dc0afec6cbfce08a96c597a75

9 years agoVP8 encoder for ARMv8 by using NEON intrinsics 1
Scott LaVarnway [Wed, 20 Aug 2014 14:56:19 +0000 (07:56 -0700)]
VP8 encoder for ARMv8 by using NEON intrinsics 1

Add vp8_mse16x16_neon.c
- vp8_mse16x16_neon
- vp8_get4x4sse_cs_neon

Change-Id: I108952f60a9ae50613f0ce3903c2c81df19d99d0
Signed-off-by: James Yu <james.yu@linaro.org>
9 years agoReplace best_ref_index table fetch with best_mbmode
Jingning Han [Mon, 15 Sep 2014 16:59:20 +0000 (09:59 -0700)]
Replace best_ref_index table fetch with best_mbmode

This commit replaces the best_ref_index table fetch with the use
of best_mbmode in vp9_rd_pick_inter_mode_sub8x8.

Change-Id: I882ee9ee6a8c0e61befcca1f4dba6d2ea8de8f13

9 years agoMerge "Visual Studio build (warning) fix"
Deb Mukherjee [Mon, 15 Sep 2014 16:50:17 +0000 (09:50 -0700)]
Merge "Visual Studio build (warning) fix"

9 years agoFix format in vp9_rd_pick_inter_mode_sub8x8
Jingning Han [Mon, 15 Sep 2014 16:43:54 +0000 (09:43 -0700)]
Fix format in vp9_rd_pick_inter_mode_sub8x8

Change-Id: I9b6a74bdf003b39235f14f8b5b7f3b861f6bf131

9 years agoMerge "Refactor encode_superblock function"
Yunqing Wang [Mon, 15 Sep 2014 16:28:31 +0000 (09:28 -0700)]
Merge "Refactor encode_superblock function"

9 years agoMove call to vp9_rc_get_second_pass_params().
Paul Wilkins [Mon, 15 Sep 2014 11:45:42 +0000 (12:45 +0100)]
Move call to vp9_rc_get_second_pass_params().

Call to vp9_rc_get_second_pass_params() moved from
Pass2Encode() to earlier in vp9_get_compressed_data(),
to ensure that two pass stats and parameters are
available before decisions such as frame scaling.

Change-Id: If21537f0073919b04696a7d5e9aac78e23d76f39

9 years agoVisual Studio build (warning) fix
Deb Mukherjee [Sat, 13 Sep 2014 11:11:50 +0000 (04:11 -0700)]
Visual Studio build (warning) fix

Explicit type casting to prevent warning.

Change-Id: Ib5be4ad6d4126d88f7c67d246bb085df1e813329

9 years agoMerge "Remove redundant reference frame threshold settings"
Jingning Han [Sat, 13 Sep 2014 17:44:00 +0000 (10:44 -0700)]
Merge "Remove redundant reference frame threshold settings"

9 years agovp8/vp9: neon: msvc: move the 'ifdef _MSC_VER' bit to vpx_ports/mem.h.
Jia Jia [Wed, 10 Sep 2014 06:32:21 +0000 (06:32 +0000)]
vp8/vp9: neon: msvc: move the 'ifdef _MSC_VER' bit to vpx_ports/mem.h.
                     fix compiling warning.

Change-Id: If8706a9046436f704c597e4275a6810c76ba7daa

9 years agoMerge "Refactor reference frame control in sub8x8 block RD search"
Jingning Han [Sat, 13 Sep 2014 17:43:36 +0000 (10:43 -0700)]
Merge "Refactor reference frame control in sub8x8 block RD search"

9 years agoMerge "Format fixes in vp9_rd_pick_inter_mode_sb"
Jingning Han [Sat, 13 Sep 2014 17:43:24 +0000 (10:43 -0700)]
Merge "Format fixes in vp9_rd_pick_inter_mode_sb"

9 years agoMerge "Remove unused best_inter_rd variable"
Jingning Han [Sat, 13 Sep 2014 17:43:14 +0000 (10:43 -0700)]
Merge "Remove unused best_inter_rd variable"

9 years agoMerge "Remove unused speed feature"
Jingning Han [Sat, 13 Sep 2014 17:43:03 +0000 (10:43 -0700)]
Merge "Remove unused speed feature"

9 years agoMerge "Add a note for enum values of MV_REFERENCE_FRAME"
Jingning Han [Sat, 13 Sep 2014 17:42:45 +0000 (10:42 -0700)]
Merge "Add a note for enum values of MV_REFERENCE_FRAME"

9 years agovp8: common: postproc: fix signed overflow of statement of (X +c) >= X when '-Werror...
Jia Jia [Sat, 13 Sep 2014 14:22:17 +0000 (22:22 +0800)]
vp8: common: postproc: fix signed overflow of statement of (X +c) >= X when '-Werror=strict-overflow' is set.

Change-Id: I2f78417cc100973c732426f7b6bd10d7304a1a5f

9 years agoMerge "Change the control function of VP9 denoiser."
JackyChen [Sat, 13 Sep 2014 02:18:41 +0000 (19:18 -0700)]
Merge "Change the control function of VP9 denoiser."

9 years agoMerge "Use bigdia search with pruned subpel search"
Deb Mukherjee [Fri, 12 Sep 2014 23:42:18 +0000 (16:42 -0700)]
Merge "Use bigdia search with pruned subpel search"

9 years agoChange the control function of VP9 denoiser.
JackyChen [Fri, 12 Sep 2014 18:48:44 +0000 (11:48 -0700)]
Change the control function of VP9 denoiser.

Change from VP8E_SET_NOISE_SENSITIVITY to VP9E_SET_NOISE_SENSITIVITY

Change-Id: Ia210a7029b26924e30973f0f9798a338e0412407

9 years agoMerge "[spatial svc] Remove useless APIs and variables"
Minghai Shang [Fri, 12 Sep 2014 23:30:44 +0000 (16:30 -0700)]
Merge "[spatial svc] Remove useless APIs and variables"

9 years agoMerge "Remove unused vp8_strict_quantize"
Johann [Fri, 12 Sep 2014 23:17:18 +0000 (16:17 -0700)]
Merge "Remove unused vp8_strict_quantize"

9 years agoMerge "Remove unused vp8 quantize functions"
Johann [Fri, 12 Sep 2014 23:16:52 +0000 (16:16 -0700)]
Merge "Remove unused vp8 quantize functions"

9 years agoRefactor encode_superblock function
Yunqing Wang [Fri, 12 Sep 2014 22:58:17 +0000 (15:58 -0700)]
Refactor encode_superblock function

The code covers both x->skip=0 & x->skip=1 cases.

Change-Id: I09745c10e5994dc700ae4c01b4b62979cdaf3306

9 years agoMerge "Enabling example code build for both VP8 and VP9."
Dmitry Kovalev [Fri, 12 Sep 2014 22:51:46 +0000 (15:51 -0700)]
Merge "Enabling example code build for both VP8 and VP9."

9 years agoRemove unused vp8_strict_quantize
Johann [Fri, 12 Sep 2014 22:02:03 +0000 (15:02 -0700)]
Remove unused vp8_strict_quantize

Change-Id: I4c35ed2de8b54751b69f4801454a1ccc35b500b0

9 years agoRemove redundant reference frame threshold settings
Jingning Han [Fri, 12 Sep 2014 21:36:51 +0000 (14:36 -0700)]
Remove redundant reference frame threshold settings

When a reference frame type is not in the frame buffer, the mode
search threshold will be set to INT_MAX, so as to effectively
turn off the mode entries in the rate-distortion optimization loop
that involves this reference frame type. This operation is now
integrated in the ref_frame_skip_mask scheme. This commit hence
removes the redundant mode search threshold setting.

Change-Id: Ib18f45da611afda2af275201efd367df7f5101ab

9 years agoRefactor reference frame control in sub8x8 block RD search
Jingning Han [Fri, 12 Sep 2014 18:00:15 +0000 (11:00 -0700)]
Refactor reference frame control in sub8x8 block RD search

This commit unifies the reference frame control in the rate-
distortion optimization search loop of sub8x8 block size to remove
the control dependency on mode search order.

Change-Id: I3a174099f71a7cc176ede9fd60e2374243ae9232

9 years ago[spatial svc] Remove useless APIs and variables
Minghai Shang [Thu, 11 Sep 2014 21:17:45 +0000 (14:17 -0700)]
[spatial svc] Remove useless APIs and variables

Change-Id: If8cd3879aa2a498a2b1b97cedb88b2b3bd97f0ba

9 years agoMerge "[spatial svc] Output psnr for all layers in one packet."
Minghai Shang [Fri, 12 Sep 2014 17:52:42 +0000 (10:52 -0700)]
Merge "[spatial svc] Output psnr for all layers in one packet."

9 years agoUse bigdia search with pruned subpel search
Deb Mukherjee [Wed, 10 Sep 2014 03:07:11 +0000 (20:07 -0700)]
Use bigdia search with pruned subpel search

Improves function to return sad of integer pels by reusing integer
pels already visited in the smallest scale.
Turns on BIGDIA search for speed 4. Also, turns on the
first version of the pruned subpel search at this speed.

derf: -0.32% (speed 4)

Speed seems to improve by at least 5% but subject to verification.

Change-Id: Iaec8eaffd61d6237ac029e6a2a1b0a88b2a35271

9 years agoMerge "Unify intra mode mask into mode_skip_mask scheme"
Jingning Han [Fri, 12 Sep 2014 16:06:35 +0000 (09:06 -0700)]
Merge "Unify intra mode mask into mode_skip_mask scheme"

9 years agoAdds high bitdepth transform functions and tests
Deb Mukherjee [Tue, 2 Sep 2014 23:34:09 +0000 (16:34 -0700)]
Adds high bitdepth transform functions and tests

Adds various high bitdepth transform functions and tests.
Much of the changes are related to using typedefs tran_low_t
and tran_high_t for the final transform cofficients and intermediate
stages of the transform computation respectively rather than fixed
types int16_t/int. When vp9_highbitdepth configure flag is off,
these map tp int16_t/int32_t, but when the flag is on, they map
to int32_t/int64_t to make space for needed extra precision.

Change-Id: I3c56de79e15b904d6f655b62ffae170729befdd8

9 years agoAdds high bit depth sad and variance functions
Deb Mukherjee [Fri, 5 Sep 2014 22:00:54 +0000 (15:00 -0700)]
Adds high bit depth sad and variance functions

Moves high bit depth sad/var functions from highbitdepth
branch to master.

Change-Id: If03845d8ef9c9c494e13350e7a587c289306b94d

9 years agoFormat fixes in vp9_rd_pick_inter_mode_sb
Jingning Han [Fri, 12 Sep 2014 00:15:15 +0000 (17:15 -0700)]
Format fixes in vp9_rd_pick_inter_mode_sb

Change-Id: Ie45687405dcaa34ba465dce2aa14f76017d3a794

9 years ago[spatial svc] Output psnr for all layers in one packet.
Minghai Shang [Thu, 11 Sep 2014 18:28:03 +0000 (11:28 -0700)]
[spatial svc] Output psnr for all layers in one packet.

Change-Id: I97d0cf095e9cfefdfa0f65eb5e96d6848cc9ffca

9 years agoRemove unused best_inter_rd variable
Jingning Han [Thu, 11 Sep 2014 23:16:26 +0000 (16:16 -0700)]
Remove unused best_inter_rd variable

The variable best_inter_rd is effectively not in use in the rate-
distortion mode search loops of both regular block sizes and sub8x8
block sizes.

Change-Id: I178f909f8c9629772e13adc6257908653b2adf31

9 years agoMerge "Allow specifying opt dependencies"
Johann [Thu, 11 Sep 2014 23:02:41 +0000 (16:02 -0700)]
Merge "Allow specifying opt dependencies"

9 years agoRemove unused speed feature
Jingning Han [Thu, 11 Sep 2014 22:54:53 +0000 (15:54 -0700)]
Remove unused speed feature

The speed feature that skips compound inter prediction modes was
subsumed by other speed features and effectively was not in use.
This commit removes it.

Change-Id: I22b0c71a8ddd15d93b25d86fa63a1dce2ba6a1a9

9 years agoEnabling example code build for both VP8 and VP9.
Dmitry Kovalev [Thu, 11 Sep 2014 22:46:37 +0000 (15:46 -0700)]
Enabling example code build for both VP8 and VP9.

Change-Id: I1bf7e34e6735461e4e587b6b806c2abc3fe63013

9 years agoMerge "vp9_picklpf: search_filter_level: remove filt_err"
James Zern [Thu, 11 Sep 2014 22:39:19 +0000 (15:39 -0700)]
Merge "vp9_picklpf: search_filter_level: remove filt_err"

9 years agoMerge "[spatial svc] Remove handling frame and stats packets in the codec"
Minghai Shang [Thu, 11 Sep 2014 21:12:44 +0000 (14:12 -0700)]
Merge "[spatial svc] Remove handling frame and stats packets in the codec"

9 years agoAllow specifying opt dependencies
Johann [Wed, 10 Sep 2014 17:27:58 +0000 (10:27 -0700)]
Allow specifying opt dependencies

If optimizations use more than one cpu feature, allow
specifying them so that '--disable-X' still works

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

Change-Id: I3108ea37b397371a2be84dd5f2380b304db23f18

9 years agoMerge "Adding lossless encoding example."
Dmitry Kovalev [Thu, 11 Sep 2014 20:43:47 +0000 (13:43 -0700)]
Merge "Adding lossless encoding example."

9 years agoMerge "Remove inter_mode_mask from rate-distortion search loop"
Jingning Han [Thu, 11 Sep 2014 19:08:13 +0000 (12:08 -0700)]
Merge "Remove inter_mode_mask from rate-distortion search loop"

9 years agovp9_picklpf: search_filter_level: remove filt_err
James Zern [Sat, 6 Sep 2014 20:35:37 +0000 (13:35 -0700)]
vp9_picklpf: search_filter_level: remove filt_err

inspect ss_err[] directly, removes an unnecessary assignment

Change-Id: I14db5e8e567e7e541a57fce73389ffe7651d5614

9 years ago[spatial svc] Remove handling frame and stats packets in the codec
Minghai Shang [Thu, 11 Sep 2014 17:52:26 +0000 (10:52 -0700)]
[spatial svc] Remove handling frame and stats packets in the codec

1. svc_encodeframe.c will not handle frame or stats packets anymore.
   The app will process them.
2. Remove APIs that related to these packets.

Change-Id: Id0d7f8b458dc09c6f77064c0878fd4e572db001b

9 years agoAdding lossless encoding example.
Dmitry Kovalev [Wed, 10 Sep 2014 01:51:41 +0000 (18:51 -0700)]
Adding lossless encoding example.

Change-Id: Ib8498c3127c397b453beff140503b2aca0d11cfc

9 years agoMerge "Move intra block size skip outside mode search loop"
Jingning Han [Thu, 11 Sep 2014 18:15:35 +0000 (11:15 -0700)]
Merge "Move intra block size skip outside mode search loop"

9 years agoMerge "Fix format in vp9_rd_pick_inter_mode_sub8x8"
Jingning Han [Thu, 11 Sep 2014 18:15:25 +0000 (11:15 -0700)]
Merge "Fix format in vp9_rd_pick_inter_mode_sub8x8"

9 years agoMerge "Move overlay frame speed feature setting out of mode search loop"
Jingning Han [Thu, 11 Sep 2014 18:14:37 +0000 (11:14 -0700)]
Merge "Move overlay frame speed feature setting out of mode search loop"

9 years agoMerge "Refactor to remove speed feature dependency on mode search order"
Jingning Han [Thu, 11 Sep 2014 18:14:26 +0000 (11:14 -0700)]
Merge "Refactor to remove speed feature dependency on mode search order"

9 years agoAdd a note for enum values of MV_REFERENCE_FRAME
Jingning Han [Thu, 11 Sep 2014 17:54:37 +0000 (10:54 -0700)]
Add a note for enum values of MV_REFERENCE_FRAME

Change-Id: Ifaf6738f26e86ded6eb6ea1465bad7a229612999

9 years agoUnify intra mode mask into mode_skip_mask scheme
Jingning Han [Thu, 11 Sep 2014 17:34:37 +0000 (10:34 -0700)]
Unify intra mode mask into mode_skip_mask scheme

Integrate intra mode mask speed feature with the mode_skip_mask
scheme. Move it outside the mode search loop in the
vp9_rd_pick_inter_mode_sb function.

Change-Id: I7738fea749bfdc08ad05d7f2524feb8ff67568d9

9 years agoMerge "[spatial svc]Add golden frame to first pass rate control"
Minghai Shang [Thu, 11 Sep 2014 17:24:28 +0000 (10:24 -0700)]
Merge "[spatial svc]Add golden frame to first pass rate control"

9 years agoRemove inter_mode_mask from rate-distortion search loop
Jingning Han [Thu, 11 Sep 2014 17:17:12 +0000 (10:17 -0700)]
Remove inter_mode_mask from rate-distortion search loop

This speed feature is used in real-time setting only. Remove the
related condition check in the rate-distortion optimization search
loop.

Change-Id: Iaacc1e268214634e6f95c5048c28a60cec6c42fc

9 years agoMove intra block size skip outside mode search loop
Jingning Han [Thu, 11 Sep 2014 16:54:19 +0000 (09:54 -0700)]
Move intra block size skip outside mode search loop

Unify this speed feature in the ref_frame_skip_mask scheme.

Change-Id: I7ea5646da02d3ea643680c22d50dabd448d55a27

9 years agoFix format in vp9_rd_pick_inter_mode_sub8x8
Jingning Han [Thu, 11 Sep 2014 16:27:30 +0000 (09:27 -0700)]
Fix format in vp9_rd_pick_inter_mode_sub8x8

Change-Id: I0da29c858c6c1eb5ef07cee8f599329f5a002da9

9 years agoMove overlay frame speed feature setting out of mode search loop
Jingning Han [Thu, 11 Sep 2014 02:42:51 +0000 (19:42 -0700)]
Move overlay frame speed feature setting out of mode search loop

Refactor overlay frame speed-up related function. Make it unified
with the ref_frame_skip_mask system and Move it out of the mode
search loop.

Change-Id: I0dde9baf44354f6ba00b4679cba02fa6a30c7316

9 years agoMerge "Fix the bug which made VP8 denoiser not bit-exact between C code and SSE code."
JackyChen [Thu, 11 Sep 2014 01:08:59 +0000 (18:08 -0700)]
Merge "Fix the bug which made VP8 denoiser not bit-exact between C code and SSE code."

9 years ago[spatial svc]Add golden frame to first pass rate control
Minghai Shang [Fri, 5 Sep 2014 23:36:51 +0000 (16:36 -0700)]
[spatial svc]Add golden frame to first pass rate control

Change-Id: If3035f0e7dfcfe88c4bbf4eec66761e070476df0

9 years agoRefactor to remove speed feature dependency on mode search order
Jingning Han [Wed, 10 Sep 2014 01:43:27 +0000 (18:43 -0700)]
Refactor to remove speed feature dependency on mode search order

This commit refactor the rate-distortion optimization search for
regular block sizes to remove the speed feature dependency on mode
search order.

Change-Id: Ied033ee484c2957e17baa7b6450b720fe7dd0e7d

9 years agoMerge "vp9: wait for key/intra-only frame after corruption"
James Zern [Thu, 11 Sep 2014 00:02:37 +0000 (17:02 -0700)]
Merge "vp9: wait for key/intra-only frame after corruption"

9 years agoFix the bug which made VP8 denoiser not bit-exact between C code and SSE code.
JackyChen [Wed, 10 Sep 2014 20:19:42 +0000 (13:19 -0700)]
Fix the bug which made VP8 denoiser not bit-exact between C code and SSE code.

This issue is found when the denoising mode is set to kDenoiserOnYUVAggressive.
Updated the C code to make it the same with SSE version.

I also changed several lines in VP9 denoiser for the code style.

Change-Id: I640d48cf946fe8c6a400e6e252107501d1e226d3

9 years agoMerge "Fix a bug in vp9_rd_pick_inter_mode_sb"
Jingning Han [Wed, 10 Sep 2014 21:46:19 +0000 (14:46 -0700)]
Merge "Fix a bug in vp9_rd_pick_inter_mode_sb"

9 years agoMerge "Remove redundant ref frame pointer assignment"
Jingning Han [Wed, 10 Sep 2014 21:46:11 +0000 (14:46 -0700)]
Merge "Remove redundant ref frame pointer assignment"

9 years agoexamples/twopass_encoder: Use good quality.
Tom Finegan [Wed, 10 Sep 2014 18:10:29 +0000 (11:10 -0700)]
examples/twopass_encoder: Use good quality.

This speeds up the encode significantly. Also added a comment about using
best quality to keep new developers informed.

Change-Id: I04e8154d4b2c4cae07fe7cc9a71e707f649e9ed4

9 years agoMerge "LoopFilterWorkerData: remove misleading 'const'"
Jim Bankoski [Wed, 10 Sep 2014 13:33:51 +0000 (06:33 -0700)]
Merge "LoopFilterWorkerData: remove misleading 'const'"