platform/upstream/libvpx.git
9 years agoRemove extra empty line
Jingning Han [Tue, 7 Oct 2014 21:06:37 +0000 (14:06 -0700)]
Remove extra empty line

Change-Id: I6f2865bb8ba9295f5c45a4cad065aecbe1e63c32

9 years agoRemove vp9_blockd.h from vp9_common_data.c
Jingning Han [Tue, 7 Oct 2014 20:02:54 +0000 (13:02 -0700)]
Remove vp9_blockd.h from vp9_common_data.c

The basic data defs should be above block operation level.

Change-Id: I7dd9836d01120ab75e0c472baac9f15495ed0db5

9 years agoReplace mi_width_log2() with mi_width_log2_lookup table
Jingning Han [Tue, 7 Oct 2014 19:45:25 +0000 (12:45 -0700)]
Replace mi_width_log2() with mi_width_log2_lookup table

Change-Id: If0ea98aa139d14d40cd924114e18396aff36b5a5

9 years agoTake out repeated block width/height lookup functions
Jingning Han [Tue, 7 Oct 2014 19:30:33 +0000 (12:30 -0700)]
Take out repeated block width/height lookup functions

The functions b_width_log2 and b_height_log2 only do direct
table fetch. This commit unifies such use cases by using the
table directly and removes these functions.

Change-Id: I3103fc6ba959c1182886a2799d21b8b77c8a7b6b

9 years agoMove inter filter defs to vp9_filter.h
Jingning Han [Tue, 7 Oct 2014 19:13:33 +0000 (12:13 -0700)]
Move inter filter defs to vp9_filter.h

Add comments on the use case of these definitions. Further reduce
the scope of header file in vp9_context_tree.h.

Change-Id: Ic4a7638e838d0ac441b64abfc56e57354c059d75

9 years agoReduce the scope of the header file used in vp9_context_tree.h
Jingning Han [Tue, 7 Oct 2014 18:01:05 +0000 (11:01 -0700)]
Reduce the scope of the header file used in vp9_context_tree.h

Change-Id: I264ee35044a5973c7725daba7af870968353a3c1

9 years agoRemove redundant header file from vp9_encoder.h
Jingning Han [Tue, 7 Oct 2014 17:49:43 +0000 (10:49 -0700)]
Remove redundant header file from vp9_encoder.h

Change-Id: Ia212390cf8d36db5436bb0f0e1b696f70066341a

9 years agoFix eobs buffer pointer mis-use
Jingning Han [Mon, 6 Oct 2014 22:53:27 +0000 (15:53 -0700)]
Fix eobs buffer pointer mis-use

This commit fixes a buffer pointer mis-use in store_coding_context.
The compression performance for stdhd set of speed 3 is improved by
0.097%. It fixes issue 869.

Change-Id: Idc59e22035eaf39f7133ca04174894374d647ff7

9 years agoAdd range check in inverse ADST 16x16
Jingning Han [Mon, 6 Oct 2014 17:18:17 +0000 (10:18 -0700)]
Add range check in inverse ADST 16x16

Bit-stream clarification related to Issue 868.

Change-Id: I92a7bc5b7782c9ea5c3f6cceec761742183c9514

9 years agoMerge "Change the y4m buffer allocation size"
Yaowu Xu [Mon, 6 Oct 2014 16:40:15 +0000 (09:40 -0700)]
Merge "Change the y4m buffer allocation size"

9 years agoMerge "Fix an IOC issue in vp9_rd_pick_inter_mode_sb"
Jingning Han [Mon, 6 Oct 2014 16:29:29 +0000 (09:29 -0700)]
Merge "Fix an IOC issue in vp9_rd_pick_inter_mode_sb"

9 years agoMerge "Properly initialize segmentID in nonrd coding path"
Yaowu Xu [Mon, 6 Oct 2014 14:57:36 +0000 (07:57 -0700)]
Merge "Properly initialize segmentID in nonrd coding path"

9 years agoFix an IOC issue in vp9_rd_pick_inter_mode_sb
Jingning Han [Sun, 5 Oct 2014 19:05:14 +0000 (12:05 -0700)]
Fix an IOC issue in vp9_rd_pick_inter_mode_sb

It is possible that the GOLDEN reference frame is not avaiable, in
which setting the predicted mv will be associated with a residual
value of INT_MAX. This commit checks this condition before
left shift and comparison with that of ALTREF frame, to avoid
overflow issue.

Change-Id: Ib98c3149dbdd016f2fe5beaafb13f67d469dd07c

9 years agoSome data type changes in vp9_idct.c
Deb Mukherjee [Sat, 4 Oct 2014 15:50:30 +0000 (08:50 -0700)]
Some data type changes in vp9_idct.c

Resolves a visual studio warning, and includes some cleanups.

Change-Id: I6a7576ef323c475b7d1c659800cd82c6cb1fd18d

9 years agoMerge "Remove experimental-bitstream flag for profiles>0"
Deb Mukherjee [Sat, 4 Oct 2014 00:10:02 +0000 (17:10 -0700)]
Merge "Remove experimental-bitstream flag for profiles>0"

9 years agoChange the y4m buffer allocation size
Yaowu Xu [Fri, 3 Oct 2014 23:14:49 +0000 (16:14 -0700)]
Change the y4m buffer allocation size

This attempts to fix issue #847

Change-Id: Ifa2f96b6b33624004272d83363e089b5b4dc5626

9 years agoRemove experimental-bitstream flag for profiles>0
Deb Mukherjee [Fri, 3 Oct 2014 22:41:50 +0000 (15:41 -0700)]
Remove experimental-bitstream flag for profiles>0

Profiles 1-3 are stable enough that we can remove the
experimental bitstream commandline option.

Change-Id: Id2a64a08192d7eac6c45384ee34196330351c6d8

9 years agoMerge "Fix indent in encode_rd_sb_row"
Jingning Han [Fri, 3 Oct 2014 22:24:02 +0000 (15:24 -0700)]
Merge "Fix indent in encode_rd_sb_row"

9 years agoMerge "Rework partition search skip scheme"
Jingning Han [Fri, 3 Oct 2014 22:23:54 +0000 (15:23 -0700)]
Merge "Rework partition search skip scheme"

9 years agoProperly initialize segmentID in nonrd coding path
Yaowu Xu [Fri, 3 Oct 2014 21:41:12 +0000 (14:41 -0700)]
Properly initialize segmentID in nonrd coding path

This commit adds proper initialization of segment id for variance AQ
mode in non-rd coding path. It fixes the enc/dec mismatch issue of
rt=7 with --aq-mode=1, as reported in issue #816

Change-Id: I02fa41b96345bf2e66077d5ea553f85ba800f7bb

9 years agoMerge "Incorporate WRAPLOW macro into non-highbitdepth tx"
Deb Mukherjee [Fri, 3 Oct 2014 19:45:39 +0000 (12:45 -0700)]
Merge "Incorporate WRAPLOW macro into non-highbitdepth tx"

9 years agoFix indent in encode_rd_sb_row
Jingning Han [Fri, 3 Oct 2014 17:14:05 +0000 (10:14 -0700)]
Fix indent in encode_rd_sb_row

Change-Id: Icbcfe7b56d88474f4398b4c5b52f6719d551ab4a

9 years agoRework partition search skip scheme
Jingning Han [Fri, 3 Oct 2014 00:49:00 +0000 (17:49 -0700)]
Rework partition search skip scheme

This commit enables the encoder to skip split partition search if
the bigger block size has all non-zero quantized coefficients in low
frequency area and the total rate cost is below a certain threshold.
It logarithmatically scales the rate threshold according to the
current block size. For speed 3, the compression performance loss:
derf  -0.093%
stdhd -0.066%

Local experiments show 4% - 20% encoding speed-up for speed 3.
blue_sky_1080p, 1500 kbps
51051 b/f, 35.891 dB, 67236 ms ->
50554 b/f, 35.857 dB, 59270 ms (12% speed-up)

old_town_cross_720p, 1500 kbps
14431 b/f, 36.249 dB, 57687 ms ->
14108 b/f, 36.172 dB, 46586 ms (19% speed-up)

pedestrian_area_1080p, 1500 kbps
50812 b/f, 40.124 dB, 100439 ms ->
50755 b/f, 40.118 dB,  96549 ms (4% speed-up)

mobile_calendar_720p, 1000 kbps
10352 b/f, 35.055 dB, 51837 ms ->
10172 b/f, 35.003 dB, 44076 ms (15% speed-up)

Change-Id: I412e34db49060775b3b89ba1738522317c3239c8

9 years agoIncorporate WRAPLOW macro into non-highbitdepth tx
Deb Mukherjee [Thu, 2 Oct 2014 22:43:27 +0000 (15:43 -0700)]
Incorporate WRAPLOW macro into non-highbitdepth tx

Incorporates the WRAPLOW macro into the non-highbitdepth transforms
to aid hardware verification between a software C model and an
intended hardware implementation though the use of the configure
options: --enable-experimental --enable-emulate-hardware.
Note that to avoid further discrepancies between the sse/sse2
implementations of the transforms and the C implementation, when the
emulate hardware option is invoked, we also disable sse/sse2/etc.

Also incudes some minor cleanups/renaming etc.

Change-Id: Ib864d8493313927d429cce402982f1c8e45b3287

9 years agoMerge "Prevent negative cost for highbitdepth"
Deb Mukherjee [Fri, 3 Oct 2014 18:37:47 +0000 (11:37 -0700)]
Merge "Prevent negative cost for highbitdepth"

9 years agoPrevent negative cost for highbitdepth
Deb Mukherjee [Fri, 3 Oct 2014 17:22:21 +0000 (10:22 -0700)]
Prevent negative cost for highbitdepth

Adds proper scaling for highbitdepth in a rdopt cost.

Change-Id: I066694799a7f491b830945ef1c66eb202071c355

9 years agordmult data type change
Deb Mukherjee [Fri, 3 Oct 2014 07:09:41 +0000 (00:09 -0700)]
rdmult data type change

To fix a VS warning.

Change-Id: I4c530c0afe8d06acdb8cc78b7995aba57a25373d

9 years agoMerge "Adds highbitdepth support to svc examples"
Deb Mukherjee [Fri, 3 Oct 2014 03:06:04 +0000 (20:06 -0700)]
Merge "Adds highbitdepth support to svc examples"

9 years agoAdds highbitdepth support to svc examples
Deb Mukherjee [Thu, 2 Oct 2014 18:43:05 +0000 (11:43 -0700)]
Adds highbitdepth support to svc examples

Change-Id: I59946642cb5c370726da33f4448a3deaba7d3f11

9 years agoMerge "Make iscan and scan neighbor arrays static const."
Yaowu Xu [Thu, 2 Oct 2014 22:15:58 +0000 (15:15 -0700)]
Merge "Make iscan and scan neighbor arrays static const."

9 years agoMake iscan and scan neighbor arrays static const.
Yaowu Xu [Wed, 1 Oct 2014 22:39:46 +0000 (15:39 -0700)]
Make iscan and scan neighbor arrays static const.

This commit changes the tables to be read only, which fixes
issue #866

Change-Id: I85bbe03f9d344f50570f8c1c61699bdc5cee248f

9 years agoMerge "Add a 1x1 enc/dec test."
Alex Converse [Thu, 2 Oct 2014 20:52:15 +0000 (13:52 -0700)]
Merge "Add a 1x1 enc/dec test."

9 years agoMerge "Fix invalid memory access in inter prediction (issue 853)."
Debargha Mukherjee [Thu, 2 Oct 2014 20:51:38 +0000 (13:51 -0700)]
Merge "Fix invalid memory access in inter prediction (issue 853)."

9 years agoAdd a 1x1 enc/dec test.
Alex Converse [Wed, 1 Oct 2014 18:40:34 +0000 (11:40 -0700)]
Add a 1x1 enc/dec test.

Change-Id: I777f49a3c2c2aaa04ae23904396bd7254e1afd8c

9 years agoFix subsampling check for images 1 pixel wide/tall
Alex Converse [Wed, 1 Oct 2014 18:23:57 +0000 (11:23 -0700)]
Fix subsampling check for images 1 pixel wide/tall

Change-Id: I0e262ede7eb4a4ae0c86181922d744e542e93350

9 years agoMerge "Adds some missing I440 checks"
Deb Mukherjee [Thu, 2 Oct 2014 16:33:54 +0000 (09:33 -0700)]
Merge "Adds some missing I440 checks"

9 years agoAdds some missing I440 checks
Deb Mukherjee [Thu, 2 Oct 2014 14:56:23 +0000 (07:56 -0700)]
Adds some missing I440 checks

Change-Id: I034b73bb27e8023733aae63e6f8565f0a64c7267

9 years agoMerge "rdmult data type change to fix high bit-depth"
Deb Mukherjee [Thu, 2 Oct 2014 16:22:22 +0000 (09:22 -0700)]
Merge "rdmult data type change to fix high bit-depth"

9 years agoFix invalid memory access in inter prediction (issue 853).
Alexander Voronov [Thu, 2 Oct 2014 13:14:12 +0000 (17:14 +0400)]
Fix invalid memory access in inter prediction (issue 853).

Change-Id: I5a566d6ade720f212a60c0ad5d6f1ee1d1d37f2e

9 years agordmult data type change to fix high bit-depth
Deb Mukherjee [Thu, 2 Oct 2014 14:37:26 +0000 (07:37 -0700)]
rdmult data type change to fix high bit-depth

Fixes an intermittent assert failure for highbitdepth.

Change-Id: If8cad0209a94f1184b69c7b3f1d587934f857d9b

9 years agoMerge "Fix iphonesimulator and armv6-darwin build targets."
Tom Finegan [Thu, 2 Oct 2014 04:05:25 +0000 (21:05 -0700)]
Merge "Fix iphonesimulator and armv6-darwin build targets."

9 years agoMerge "Adds support of 440 content."
Deb Mukherjee [Thu, 2 Oct 2014 02:54:46 +0000 (19:54 -0700)]
Merge "Adds support of 440 content."

9 years agoMerge "Remove redundant header file from vp9_idct.h"
Jingning Han [Thu, 2 Oct 2014 00:05:36 +0000 (17:05 -0700)]
Merge "Remove redundant header file from vp9_idct.h"

9 years agoMerge "Remove unused header files from vp9_encodemb.h"
Jingning Han [Thu, 2 Oct 2014 00:05:25 +0000 (17:05 -0700)]
Merge "Remove unused header files from vp9_encodemb.h"

9 years agoAdds support of 440 content.
Deb Mukherjee [Wed, 1 Oct 2014 19:17:37 +0000 (12:17 -0700)]
Adds support of 440 content.

Adds enums and corresponding vpx level code.

Change-Id: Ia402d47490a4466988d7edc6b7e3e5163f20a381

9 years agoMerge "High-bitdepth bugfixes"
Deb Mukherjee [Wed, 1 Oct 2014 23:47:43 +0000 (16:47 -0700)]
Merge "High-bitdepth bugfixes"

9 years agoMerge "Modify block transform skipping check"
Yunqing Wang [Wed, 1 Oct 2014 23:19:56 +0000 (16:19 -0700)]
Merge "Modify block transform skipping check"

9 years agoMerge "Remove repeated header files from vp9_block.h"
Jingning Han [Wed, 1 Oct 2014 23:17:44 +0000 (16:17 -0700)]
Merge "Remove repeated header files from vp9_block.h"

9 years agoMerge "Remove repeated vpx_integer.h from vp9_prob.h"
Jingning Han [Wed, 1 Oct 2014 23:17:33 +0000 (16:17 -0700)]
Merge "Remove repeated vpx_integer.h from vp9_prob.h"

9 years agoMerge "Use precise header files in vp9_entropymv.h"
Jingning Han [Wed, 1 Oct 2014 23:17:18 +0000 (16:17 -0700)]
Merge "Use precise header files in vp9_entropymv.h"

9 years agoRemove redundant header file from vp9_idct.h
Jingning Han [Wed, 1 Oct 2014 21:57:56 +0000 (14:57 -0700)]
Remove redundant header file from vp9_idct.h

Change-Id: Id92544762e7b96d3c729dfc8e04ecff91cbcc7f9

9 years agoRemove unused header files from vp9_encodemb.h
Jingning Han [Wed, 1 Oct 2014 21:50:24 +0000 (14:50 -0700)]
Remove unused header files from vp9_encodemb.h

Change-Id: Icfc3fb62cc0b05e435814035bfe1f2e2870442b4

9 years agoHigh-bitdepth bugfixes
Deb Mukherjee [Wed, 1 Oct 2014 04:56:33 +0000 (21:56 -0700)]
High-bitdepth bugfixes

Miscellaneous bug-fixes for high bitdepth functionality.
With this patch, high bit-depth profiles become mostly functional,
except for an intermittent assert failure issue that is being
tracked.

Change-Id: I6a7fcbdcf1e5b09842e88535f8442d2e1230748c

9 years agoFix iphonesimulator and armv6-darwin build targets.
Tom Finegan [Wed, 1 Oct 2014 20:33:34 +0000 (13:33 -0700)]
Fix iphonesimulator and armv6-darwin build targets.

- iphonesimulator: IOS_VERSION_MIN was declared in the wrong place.
- armv6: linking via ld instead of CXX is basically required.

Change-Id: Iad187691f633dcf2bc3e3590e88084bb926edb76

9 years agoRemove repeated header files from vp9_block.h
Jingning Han [Wed, 1 Oct 2014 19:59:09 +0000 (12:59 -0700)]
Remove repeated header files from vp9_block.h

This commit removes unused header file vp9_onyxc_int.h and repeatedly
included file vpx_ports/mem.h from vp9_block.h

Change-Id: I400b210bd1da48f1880bd50a8f4a6e2c690e15a1

9 years agoModify block transform skipping check
Yunqing Wang [Wed, 1 Oct 2014 18:31:34 +0000 (11:31 -0700)]
Modify block transform skipping check

Block transform skipping was implemented based on DCT's energy
conservation property. Modified the thresholds using zero bin
parameters. AC and DC coefficients were checked separately to
allow better identifying of skippable blocks.

Borg test at speed 3 showed:
stdhd set: psnr gain: 0.153%, ssim gain: 0.051%;
derf set: psnr gain: 0.023%, ssim gain: 0.036%

For most test clips, the encoding speedup is 1% - 2%.
parkrun(720p): 7.5% speedup, park_joy(1080p): 3.5% speedup.

Change-Id: If28eb81113a077414f5ca7b021c14f9069b373bb

9 years agoRemove repeated vpx_integer.h from vp9_prob.h
Jingning Han [Wed, 1 Oct 2014 19:45:52 +0000 (12:45 -0700)]
Remove repeated vpx_integer.h from vp9_prob.h

The file vpx_integer.h has been included and used in the parent
file vp9_common.h.

Change-Id: I9c65f08353576f9ef1e5ea17244fc5ca964ec002

9 years agoUse precise header files in vp9_entropymv.h
Jingning Han [Wed, 1 Oct 2014 19:36:07 +0000 (12:36 -0700)]
Use precise header files in vp9_entropymv.h

The commit cleans up the header files in vp9_entropymv.h. This
file should only depend on vp9_mv.h and vp9_prob.h. Remove the
giant vp9_blockd.h from header file list.

Change-Id: I44cd26d2cfd10a16a9325778347dd53f888a874c

9 years agoDrop the very slow BEST encoding from the lossless test.
Alex Converse [Wed, 1 Oct 2014 18:57:47 +0000 (11:57 -0700)]
Drop the very slow BEST encoding from the lossless test.

BEST is used in very few tests.

Change-Id: I71880534fe5a44721e7bac8be49b5f71766c1e5f

9 years agoMerge "Conditionally skip reference frame check"
Jingning Han [Wed, 1 Oct 2014 18:19:10 +0000 (11:19 -0700)]
Merge "Conditionally skip reference frame check"

9 years agoConditionally skip reference frame check
Jingning Han [Mon, 29 Sep 2014 19:42:07 +0000 (12:42 -0700)]
Conditionally skip reference frame check

For regular inter frames, if the distance from GOLDEN_FRAME is larger
than 2 and if the predicted motion vector of LAST_FRAME gives lower
sse than that of GOLDEN_FRAME, skip the GOLDE_FRAME mode checking in
the rate-distortion optimization. It provides about 5% speed-up at
expense of -0.137% and -0.230% performance down for speed 3. Local
experiment results:

pedestrian 1080p 2000 kbps
66712 b/f, 40.908 dB, 113688 ms ->
66768 b/f, 40.911 dB, 108752 ms

blue_sky 1080p 2000 kbps
51054 b/f, 35.894 dB, 70406 ms ->
51051 b/f, 35.891 dB, 67236 ms

old_town_cross 720p 1500 kbps
14412 b/f, 36.252 dB, 60690 ms ->
14431 b/f, 36.249 dB, 57346 ms

Change-Id: Idfcafe7f63da7a4896602fc60bd7093f0f0d82ca

9 years agoMerge "Moves transform type defines to vp9_common"
Deb Mukherjee [Wed, 1 Oct 2014 04:37:27 +0000 (21:37 -0700)]
Merge "Moves transform type defines to vp9_common"

9 years agoMerge "iOS build configuration updates."
Tom Finegan [Wed, 1 Oct 2014 04:12:04 +0000 (21:12 -0700)]
Merge "iOS build configuration updates."

9 years agoiOS build configuration updates.
Tom Finegan [Wed, 1 Oct 2014 03:12:56 +0000 (20:12 -0700)]
iOS build configuration updates.

Commit message longer than commit edition.

Simulator and devices:
  Add a common minimum iOS version that can be shared by iOS and iOS
  simulator targets.

Fix --enable-debug (for device targets; sim was fine):
  Allow for successful configuration and build with --enable-debug when
  CXX is available by:

  - Using CXX as LD (when CXX is available).
  - Passing the correct form of the iOS minimum version parameter based on
    whether LD is CXX or really is ld.

  Note: ld -g still won't work on macosx with this patch, so if CXX is not
  available, configuration will still fail reporting that the toolchain
  cannot link executables when attempting to pass --enable-debug (because
  ld returns an error code since the one included with xcode doesn't
  support the -g argument).

Change-Id: Ia488aed167cc2ca82ee9e980589fb76dddce634f

9 years agoMoves transform type defines to vp9_common
Deb Mukherjee [Tue, 30 Sep 2014 21:29:34 +0000 (14:29 -0700)]
Moves transform type defines to vp9_common

Moves transform type defines to vp9_common.h from vp9_idct.h
so that they can be included in vp9_rtcd_defs.pl safely.

Change-Id: Id5106227bee5934f7ce8b06f2eb9fa8a9a2e0ddb

9 years agovpx_integer.h: define __STDC_LIMIT_MACROS
James Zern [Tue, 30 Sep 2014 23:06:23 +0000 (16:06 -0700)]
vpx_integer.h: define __STDC_LIMIT_MACROS

fixes --enable-coefficient-range-checking --enable-debug
vp9_idct.h has references to INT16_MIN/MAX; this header is included in
c++ source so needs to request the macros

Change-Id: I2e643eb973c2d84729fa3cf2f4c4d8bf65cfdff0

9 years agoRevert "Fix compiling error in vp9_idct.h"
James Zern [Tue, 30 Sep 2014 22:29:36 +0000 (15:29 -0700)]
Revert "Fix compiling error in vp9_idct.h"

This reverts commit eafc8c9c40d712aabe234bed5269a02c62fa0bfc.

tran_low_t/tran_high_t don't belong in a public header, they're private.
Similarly the public headers shouldn't rely on config defines,
vpx_config.h isn't installed.

Change-Id: I194ec273598da418df8dd727b6c0e78a556740ad

9 years agoMerge "examples/simple_decoder: Correct comments/remove unnecessary include."
Tom Finegan [Tue, 30 Sep 2014 22:09:00 +0000 (15:09 -0700)]
Merge "examples/simple_decoder: Correct comments/remove unnecessary include."

9 years agoexamples/simple_decoder: Correct comments/remove unnecessary include.
Tom Finegan [Tue, 30 Sep 2014 18:21:56 +0000 (11:21 -0700)]
examples/simple_decoder: Correct comments/remove unnecessary include.

Change-Id: Iad3db3ca7601529ae32637f859ac8d552da94c87

9 years agoMerge "Skip the partition search for still frames"
Yunqing Wang [Tue, 30 Sep 2014 18:59:05 +0000 (11:59 -0700)]
Merge "Skip the partition search for still frames"

9 years agoMerge "Refactor encode_rd_sb_row function"
Yunqing Wang [Tue, 30 Sep 2014 18:58:39 +0000 (11:58 -0700)]
Merge "Refactor encode_rd_sb_row function"

9 years agoMerge "Misc. high-bit-depth fixes"
Deb Mukherjee [Tue, 30 Sep 2014 18:40:36 +0000 (11:40 -0700)]
Merge "Misc. high-bit-depth fixes"

9 years agoMerge "Remove redundant header file declaration"
Jingning Han [Tue, 30 Sep 2014 18:28:33 +0000 (11:28 -0700)]
Merge "Remove redundant header file declaration"

9 years agoMisc. high-bit-depth fixes
Deb Mukherjee [Tue, 30 Sep 2014 04:59:09 +0000 (21:59 -0700)]
Misc. high-bit-depth fixes

Change-Id: Ie9fb6a4078eb6a3fb7c4ff1453831ab9afe23121

9 years agoMerge "Fix compiling error in vp9_idct.h"
Jingning Han [Tue, 30 Sep 2014 17:27:33 +0000 (10:27 -0700)]
Merge "Fix compiling error in vp9_idct.h"

9 years agoRemove redundant header file declaration
Jingning Han [Mon, 29 Sep 2014 22:02:31 +0000 (15:02 -0700)]
Remove redundant header file declaration

Some header file in vp9_idct.c has been included in vp9_idct.h.
This commit removes these redundant declarations.

Change-Id: I0238c27e4efff5c981eb437022c6bc6970c4e445

9 years agoFix compiling error in vp9_idct.h
Jingning Han [Mon, 29 Sep 2014 21:53:05 +0000 (14:53 -0700)]
Fix compiling error in vp9_idct.h

This commit fixes a compiling error in vp9_idct.h, where the codec
checks that the intermediate steps of transformation fit within
16-bit length. The issue was due to broken file dependency.

Change-Id: Ib22bba13a1e6df28489cb23d6774c561969f1fdc

9 years agoMerge "Adds two new subpel search methods"
Deb Mukherjee [Tue, 30 Sep 2014 03:11:04 +0000 (20:11 -0700)]
Merge "Adds two new subpel search methods"

9 years agoMerge "Fix a bug in calculating delta in VP9 denoiser."
JackyChen [Mon, 29 Sep 2014 23:56:16 +0000 (16:56 -0700)]
Merge "Fix a bug in calculating delta in VP9 denoiser."

9 years agoFix a bug in calculating delta in VP9 denoiser.
JackyChen [Mon, 29 Sep 2014 18:30:17 +0000 (11:30 -0700)]
Fix a bug in calculating delta in VP9 denoiser.

When calculating delta in VP8 denoiser, since the block size is fixed to 16x16,
the divisor is 256, which is the number of the pixel.
But in VP9, the block size varies, the divisor should correspond to the block
size.

Change-Id: Ibdc1e5d23ba8c788b0d0dc6d406bcdfc34c1b142

9 years agoAdds two new subpel search methods
Deb Mukherjee [Wed, 24 Sep 2014 20:25:34 +0000 (13:25 -0700)]
Adds two new subpel search methods

One is a more aggressive version of the pruned subpel tree
search where only a single halfpel candidate is searched.
The search candidate is based on a surface fit result.
The other is a method to obtain the subpel position at one
shot based on the same surface fit.

The methods have not been deployed in any speed setting yet.

Change-Id: I34fef3f2e34f11396c9d1ba97f4be8c4ffca62d3

9 years agoMiscellaneous decoder changes for high bitdepth
Deb Mukherjee [Thu, 25 Sep 2014 22:46:50 +0000 (15:46 -0700)]
Miscellaneous decoder changes for high bitdepth

Also includes yv12 config changes.

Change-Id: Iacf40d8bf486815b54c32a127ce3cd4516b7e44f

9 years agoMerge "Skip certain ALTREF inter modes in ARF coding"
Jingning Han [Mon, 29 Sep 2014 17:43:45 +0000 (10:43 -0700)]
Merge "Skip certain ALTREF inter modes in ARF coding"

9 years agoFix a bug introduced in a previous patch on highbd
Deb Mukherjee [Fri, 26 Sep 2014 22:43:55 +0000 (15:43 -0700)]
Fix a bug introduced in a previous patch on highbd

Change-Id: Ice692334f75157446a44a6e81503cada977934f4

9 years agoSkip certain ALTREF inter modes in ARF coding
Jingning Han [Fri, 26 Sep 2014 19:43:14 +0000 (12:43 -0700)]
Skip certain ALTREF inter modes in ARF coding

This commit enables the encoder to skip checking ALTREF inter modes
in ARF coding, if the predicted motion vectors suggest that the
GOLDEN_FRAME provides higher prediction accuracy than ALTREF_FRAME.

It improves the speed 3 encoding speed by about 5%, at the expense
of compression performance loss -0.041% and -0.225% for derf and
stdhd, respectively.

pedestrian_area 1080p 2000 kbps
66705 b/f, 40.909 dB, 118738 ms ->
66732 b/f, 40.908 dB, 113688 ms

old_town_cross 720p 1500 kbps
14427 b/f, 36.256 dB, 62746 ms ->
14412 b/f, 36.252 dB, 60690 ms

blue_sky 1080p 1500 kbps
51026 b/f, 35.897 dB, 73310 ms ->
50921 b/f, 35.893 dB, 70406 ms

bus CIF 1000 kbps
21301 b/f, 34.841 dB, 7326 ms ->
21248 b/f, 34.837 dB, 7196 ms

Change-Id: I76cf88b4d655e1ee3c0cb03c8a5745493040e8d2

9 years agoMerge "iphonesimulator: make iOS 6 the minimum requirement"
James Zern [Fri, 26 Sep 2014 18:24:41 +0000 (11:24 -0700)]
Merge "iphonesimulator: make iOS 6 the minimum requirement"

9 years agoSkip the partition search for still frames
Yunqing Wang [Wed, 24 Sep 2014 19:12:25 +0000 (12:12 -0700)]
Skip the partition search for still frames

This patch re-enabled the feature in Pengchong's patch
(commit 12861260732a4fd5f6b667ce9d5105dc9b606eda). Originally, it
was turned on while use_lastframe_partitioning > 0(not used anymore).
Now it was added as a feature, and turned on while speed >= 2.
As described in the original patch, this feature helps speed up the
slideshows in YouTube.

Change-Id: I1b0f18d65da1ee1c8d1e117dabba910c5207c471

9 years agoiphonesimulator: make iOS 6 the minimum requirement
James Zern [Fri, 26 Sep 2014 01:53:23 +0000 (18:53 -0700)]
iphonesimulator: make iOS 6 the minimum requirement

iOS 5 support isn't available in the Xcode 6 install; iOS 6 covers
phones starting at the 3GS, so should be a reasonable base line

Change-Id: I15572ec0dd73f1ffc88c58120c706384a01f2478

9 years agoMerge "Avoid calling vp9_is_scaled two times in a function."
hkuang [Thu, 25 Sep 2014 20:58:54 +0000 (13:58 -0700)]
Merge "Avoid calling vp9_is_scaled two times in a function."

9 years agoMerge "Adds various high bit-depth encode functions"
Deb Mukherjee [Thu, 25 Sep 2014 20:48:05 +0000 (13:48 -0700)]
Merge "Adds various high bit-depth encode functions"

9 years agoFix build failure with Android NDK
Johann [Thu, 25 Sep 2014 16:33:44 +0000 (09:33 -0700)]
Fix build failure with Android NDK

The version of gcc4.6 included with the Android NDK through r10b
fails to compile this function. Replace it with C code.

BUG=860

Change-Id: Ifcc0476664071aec46a171cdd5ad17305930986a

9 years agoMerge "Clarify GCC version check"
Johann [Thu, 25 Sep 2014 19:12:56 +0000 (12:12 -0700)]
Merge "Clarify GCC version check"

9 years agoMerge "Fix IOCs"
Yaowu Xu [Thu, 25 Sep 2014 19:01:07 +0000 (12:01 -0700)]
Merge "Fix IOCs"

9 years agoClarify GCC version check
Johann [Thu, 25 Sep 2014 16:30:28 +0000 (09:30 -0700)]
Clarify GCC version check

The version check was incorrectly matching some versions of clang
which reported as gcc 4.2

Change-Id: I686d3576e71883fe1463206b56ab5e2aa9bb68a8

9 years agoAvoid calling vp9_is_scaled two times in a function.
hkuang [Thu, 25 Sep 2014 18:47:29 +0000 (11:47 -0700)]
Avoid calling vp9_is_scaled two times in a function.

Use a local variable to hold the result of vp9_is_scaled.

Change-Id: I5e203909805923e20eefef596bc84424da47dbe2

9 years agoFix IOCs
Yaowu Xu [Thu, 25 Sep 2014 15:58:57 +0000 (08:58 -0700)]
Fix IOCs

A left shift of negative value causes IOC runtime warnings, this
commit converts two such left shifts to multiply to avoid IOCs.

Change-Id: I8811428768d7135e6e16af4b3094d0341589a995

9 years agoFix a couple of comments
Yaowu Xu [Wed, 24 Sep 2014 17:46:52 +0000 (10:46 -0700)]
Fix a couple of comments

The first comment is obselete given the way is now normative in VP9
bitstream. The second comment line was too long.

Change-Id: I6546585babf60d466485ddcf2daa6d2fa79e999a

9 years agoAdds various high bit-depth encode functions
Deb Mukherjee [Wed, 24 Sep 2014 13:36:34 +0000 (06:36 -0700)]
Adds various high bit-depth encode functions

Change-Id: I6f67b171022bbc8199c6d674190b57f6bab1b62f

9 years agoRemove unused variable in handle_inter_mode
Jingning Han [Thu, 25 Sep 2014 01:27:44 +0000 (18:27 -0700)]
Remove unused variable in handle_inter_mode

Change-Id: Id757d2c940756ce1b0ead2ea24af9ac0a493de05

9 years agoMerge "Correct the condition for border extension"
Yaowu Xu [Wed, 24 Sep 2014 21:09:45 +0000 (14:09 -0700)]
Merge "Correct the condition for border extension"