platform/upstream/libvpx.git
10 years agoBug fix for svc first pass rate control.
Minghai Shang [Fri, 18 Apr 2014 17:59:15 +0000 (10:59 -0700)]
Bug fix for svc first pass rate control.

1. We didn't scale source image in lower layers so that
the stats are incorrect.
2. We didn't extend borders for re-constructed image.

Change-Id: Ia8d7bafbdb695ffa7f504e171f9449812e7bb0a3

10 years agoMerge "Adding get_pass() function."
Dmitry Kovalev [Fri, 18 Apr 2014 17:38:20 +0000 (10:38 -0700)]
Merge "Adding get_pass() function."

10 years agoMerge "Remove duplicate code in test/webm_video_source.h"
James Zern [Fri, 18 Apr 2014 17:32:11 +0000 (10:32 -0700)]
Merge "Remove duplicate code in test/webm_video_source.h"

10 years agoMerge "Fix broken encoding process at sub8x8 block size"
Jingning Han [Fri, 18 Apr 2014 15:46:53 +0000 (08:46 -0700)]
Merge "Fix broken encoding process at sub8x8 block size"

10 years agoRemove duplicate code in test/webm_video_source.h
Vignesh Venkatasubramanian [Mon, 14 Apr 2014 21:19:50 +0000 (14:19 -0700)]
Remove duplicate code in test/webm_video_source.h

Remove duplicate WebM parsing code in test/webm_video_source.h and linking it
against webmdec.c which does the exact same thing.

Change-Id: Ib7152eecde890fca58be42028cab18c9cb54221c

10 years agoRemove warn() call in webmdec.c
Vignesh Venkatasubramanian [Fri, 18 Apr 2014 06:41:24 +0000 (23:41 -0700)]
Remove warn() call in webmdec.c

Remove call to warn() in webmdec.c so that it does not depend on
tools_common.c for compilation.

Change-Id: I2790e837985ce1d84b35f5a20c783d0e6020a9f5

10 years agoMerge "Removing cq_target_quality from VP9_COMP."
Dmitry Kovalev [Fri, 18 Apr 2014 01:27:19 +0000 (18:27 -0700)]
Merge "Removing cq_target_quality from VP9_COMP."

10 years agoMerge "Adding is_best_mode() function."
Dmitry Kovalev [Fri, 18 Apr 2014 01:26:54 +0000 (18:26 -0700)]
Merge "Adding is_best_mode() function."

10 years agoMerge "rename labels2mode because it was a terrible name."
Jim Bankoski [Thu, 17 Apr 2014 22:42:41 +0000 (15:42 -0700)]
Merge "rename labels2mode because it was a terrible name."

10 years agoMerge "renamed pick_best_mbsegmentation and remove rd_check_segment_txsize"
Jim Bankoski [Thu, 17 Apr 2014 22:42:36 +0000 (15:42 -0700)]
Merge "renamed pick_best_mbsegmentation and remove rd_check_segment_txsize"

10 years agoMerge "rename mode_index to ref index in vp9_rd_pick_inter_mode_sub_8x8"
Jim Bankoski [Thu, 17 Apr 2014 22:42:27 +0000 (15:42 -0700)]
Merge "rename mode_index to ref index in vp9_rd_pick_inter_mode_sub_8x8"

10 years agoFix broken encoding process at sub8x8 block size
Jingning Han [Thu, 17 Apr 2014 21:44:02 +0000 (14:44 -0700)]
Fix broken encoding process at sub8x8 block size

Use the correct buffer to update the coding mode decision for
sub8x8 blocks.

Change-Id: I091ef27d2047eeb8b73ceb7c2c7c45b38ba8c6d5

10 years agoAdding get_pass() function.
Dmitry Kovalev [Thu, 17 Apr 2014 22:25:20 +0000 (15:25 -0700)]
Adding get_pass() function.

Change-Id: I43de248615b79828d5164b670e7358b8a520d075

10 years agoMerge "Skip fetching original frame pointers for UV in background check"
Jingning Han [Thu, 17 Apr 2014 22:22:41 +0000 (15:22 -0700)]
Merge "Skip fetching original frame pointers for UV in background check"

10 years agoAdding is_best_mode() function.
Dmitry Kovalev [Thu, 17 Apr 2014 22:09:55 +0000 (15:09 -0700)]
Adding is_best_mode() function.

Change-Id: Idca7c1cd8a12df465c58b6ba064a99404b3b4bce

10 years agoMerge "examples: remove off_t overrides"
James Zern [Thu, 17 Apr 2014 21:58:55 +0000 (14:58 -0700)]
Merge "examples: remove off_t overrides"

10 years agoRemoving cq_target_quality from VP9_COMP.
Dmitry Kovalev [Thu, 17 Apr 2014 21:57:43 +0000 (14:57 -0700)]
Removing cq_target_quality from VP9_COMP.

Use cq_level (which is identical) from VP9_CONFIG instead.

Change-Id: I1aaf2fcef3d2dbd4577f613d27693ff8a68989fd

10 years agoMerge "Replacing cpu_used with speed in VP9_CONFIG."
Dmitry Kovalev [Thu, 17 Apr 2014 21:34:26 +0000 (14:34 -0700)]
Merge "Replacing cpu_used with speed in VP9_CONFIG."

10 years agorename labels2mode because it was a terrible name.
Jim Bankoski [Thu, 17 Apr 2014 20:48:54 +0000 (13:48 -0700)]
rename labels2mode because it was a terrible name.

Change-Id: I2d577d11966fcc5ffaaf0896bf51d18078ad1e9c

10 years agoMerge "Relax the threshold for datarate test by 5%"
Yaowu Xu [Thu, 17 Apr 2014 20:47:47 +0000 (13:47 -0700)]
Merge "Relax the threshold for datarate test by 5%"

10 years agoSkip fetching original frame pointers for UV in background check
Jingning Han [Wed, 16 Apr 2014 22:43:38 +0000 (15:43 -0700)]
Skip fetching original frame pointers for UV in background check

The background detection only tracks luma component. This commits
removes the frame buffer pointer retrieval for chroma components.

Change-Id: I098bd2950f5e5829ed5dc2b48568167248da7fad

10 years agoexamples: remove off_t overrides
James Zern [Thu, 17 Apr 2014 17:47:08 +0000 (10:47 -0700)]
examples: remove off_t overrides

this is error prone, int64 will suffice for all cases

Change-Id: I94883f93518cfc356ed57b14dc39d79aebccf47d

10 years agoMerge "Remove redundant buffer initialization and mode_info assignments"
Jingning Han [Thu, 17 Apr 2014 16:36:30 +0000 (09:36 -0700)]
Merge "Remove redundant buffer initialization and mode_info assignments"

10 years agorenamed pick_best_mbsegmentation and remove rd_check_segment_txsize
Jim Bankoski [Thu, 17 Apr 2014 16:11:23 +0000 (09:11 -0700)]
renamed pick_best_mbsegmentation and remove rd_check_segment_txsize

Change-Id: Ia7d33bc3eb595965bccf4b2231df1e3b2a0243c6

10 years agoRelax the threshold for datarate test by 5%
Yaowu Xu [Thu, 17 Apr 2014 15:45:00 +0000 (08:45 -0700)]
Relax the threshold for datarate test by 5%

Change-Id: Ibc770df77939a68f9f0d1d78c0edd737b0d398ad

10 years agorename mode_index to ref index in vp9_rd_pick_inter_mode_sub_8x8
Jim Bankoski [Thu, 17 Apr 2014 15:40:47 +0000 (08:40 -0700)]
rename mode_index to ref index in vp9_rd_pick_inter_mode_sub_8x8

Change-Id: I00bceb9de2009963c91e5102564c05c31ac1ad78

10 years agoadd a context tree structure to encoder
Jim Bankoski [Thu, 17 Apr 2014 14:30:55 +0000 (07:30 -0700)]
add a context tree structure to encoder

This patch sets up a quad_tree structure (pc_tree) for holding all of
pick_mode_context data we use at any square block size during encoding
or picking modes.  That includes contexts for 2 horizontal and 2 vertical
splits, one none, and pointers to 4 sub pc_tree nodes corresponding
to split.  It also includes a pointer to the current chosen partitioning.

This replaces code that held an index for every level in the pick
modes array including:  sb_index, mb_index,
b_index, ab_index.

These were used as stateful indexes that pointed to the current pick mode
contexts you had at each level stored in the following arrays

array ab4x4_context[][][],
sb8x4_context[][][], sb4x8_context[][][], sb8x8_context[][][],
sb8x16_context[][][], sb16x8_context[][][], mb_context[][], sb32x16[][],
sb16x32[],  sb32_context[], sb32x64_context[], sb64x32_context[],
sb64_context

and the partitioning that had been stored in the following:
b_partitioning, mb_partitioning, sb_partitioning, and sb64_partitioning.

Prior to this patch before doing an encode you had to set the appropriate
index for your block size ( switch statement),  update it ( up to 3
lookups for the index array value) and then make your call into a recursive
function at which point you'd have to call get_context which then
had to do a switch statement based on the blocksize,  and then up to 3
lookups based upon the block size to find the context to use.

With the new code the context for the block size is passed around directly
avoiding the extraneous switch statements and multi dimensional array
look ups that were listed above.   At any level in the search all of the
contexts are local to the pc_tree you are working on (in?).

In addition in most places code that used to call sub functions and
then check if the block size was 4x4 and index was > 0 and return
now don't preferring instead to call the right none function on the inside.

Change-Id: I06e39318269d9af2ce37961b3f95e181b57f5ed9

10 years agoMerge "Cleaning up vp9_init_second_pass()."
Dmitry Kovalev [Thu, 17 Apr 2014 02:27:49 +0000 (19:27 -0700)]
Merge "Cleaning up vp9_init_second_pass()."

10 years agoReplacing cpu_used with speed in VP9_CONFIG.
Dmitry Kovalev [Thu, 17 Apr 2014 01:31:42 +0000 (18:31 -0700)]
Replacing cpu_used with speed in VP9_CONFIG.

Change-Id: I86b85b5c11388e84a48f8936330c0d920df5d1f0

10 years agoRemove redundant buffer initialization and mode_info assignments
Jingning Han [Wed, 16 Apr 2014 17:39:23 +0000 (10:39 -0700)]
Remove redundant buffer initialization and mode_info assignments

There is no need to initialize source/dst frame buffers at frame
level. These will be done at block coding stage. This commit hence
removes the redundant operations.

Change-Id: I11d9f2556058c6205c8e58ed53e31f78622c41b7

10 years agoMerge "Enable more precise background detection for partition decision"
Jingning Han [Thu, 17 Apr 2014 00:00:13 +0000 (17:00 -0700)]
Merge "Enable more precise background detection for partition decision"

10 years agoMerge "Prevent reading of uninitialized value"
Yaowu Xu [Wed, 16 Apr 2014 22:41:04 +0000 (15:41 -0700)]
Merge "Prevent reading of uninitialized value"

10 years agoCleaning up vp9_init_second_pass().
Dmitry Kovalev [Wed, 16 Apr 2014 22:17:53 +0000 (15:17 -0700)]
Cleaning up vp9_init_second_pass().

Change-Id: Ibf360fe0728e07de448e77e3841c49eb25d3ba2d

10 years agoMerge "Remove old activity masking code."
Paul Wilkins [Wed, 16 Apr 2014 21:24:25 +0000 (14:24 -0700)]
Merge "Remove old activity masking code."

10 years agoMerge "Renaming VP9D_CONFIG to VP9DecoderConfig."
Dmitry Kovalev [Wed, 16 Apr 2014 21:21:32 +0000 (14:21 -0700)]
Merge "Renaming VP9D_CONFIG to VP9DecoderConfig."

10 years agoMerge "Adding sad function generation macros."
Dmitry Kovalev [Wed, 16 Apr 2014 21:07:46 +0000 (14:07 -0700)]
Merge "Adding sad function generation macros."

10 years agoEnable more precise background detection for partition decision
Jingning Han [Tue, 15 Apr 2014 18:41:39 +0000 (11:41 -0700)]
Enable more precise background detection for partition decision

This commit compares the current original frame to the previous
original frame at 64x64 block level and decides if the entire
block belongs to background area. If it is in the background area,
skip non-RD partition search and copy the partition types of the
collocated block in the previous frame.

For vidyo1 in the rtc set, this makes the speed -5 coding speed
about 8% faster. The overall compression performance is down by
1.37% for rtc set.

Change-Id: Iccf920562fcc88f21d377fb6a44c547c8689b7ea

10 years agoPrevent reading of uninitialized value
Yaowu Xu [Wed, 16 Apr 2014 19:22:49 +0000 (12:22 -0700)]
Prevent reading of uninitialized value

This commit added a check of reference frame to make sure that pre
buffer pointers are initialized only when necessary and make them
to 0 if ref frame is intra, hence those buffer should never be used.

Change-Id: Ieb474fcd9feb759f02e2f9c282b7348a8fa31117

10 years agoMerge "Add consts in set_fixed_partitioning()"
Yaowu Xu [Wed, 16 Apr 2014 19:55:48 +0000 (12:55 -0700)]
Merge "Add consts in set_fixed_partitioning()"

10 years agoMerge "Refactor common code into a function"
Yaowu Xu [Wed, 16 Apr 2014 19:29:12 +0000 (12:29 -0700)]
Merge "Refactor common code into a function"

10 years agoRemove old activity masking code.
Paul Wilkins [Mon, 14 Apr 2014 19:38:57 +0000 (12:38 -0700)]
Remove old activity masking code.

Delete code relating to the old VP8_TUNE_SSIM flag
as this code does not currently work and is largely made
redundant in VP9 by the various AQ modes.

Change-Id: I71f28e1f680573d296422254489000678552b17b

10 years agoMerge "Fix rate control bug."
Paul Wilkins [Wed, 16 Apr 2014 19:07:42 +0000 (12:07 -0700)]
Merge "Fix rate control bug."

10 years agoUnfork rd_thresh sub8x8.
Alex Converse [Fri, 11 Apr 2014 19:42:13 +0000 (12:42 -0700)]
Unfork rd_thresh sub8x8.

Remove duplicate rd_thresh code introduced when vp9_rd_pick_inter_mode_sub8x8()
was forked from vp9_rd_pick_inter_mode_sb().

Change-Id: I3c9b7143d182e1f28b29c16518eaca81dc2ecfed

10 years agoFix rate control bug.
Paul Wilkins [Wed, 16 Apr 2014 02:15:43 +0000 (19:15 -0700)]
Fix rate control bug.

Fix rate control bug whereby the rate factor heuristics
were being updated on arf overlays causing a rate surge
for a few frames followed by a corrective drop.

This fix eliminates many of the overshoot problems that
we were seeing on hard clips (even without applying
stricter vbr rate control) and also helps quality on
almost all clips with some hard clips improving by >5%.

Overall quality results measured at speed 2.
Derf  +1.78% opsnr , +2.44% SSIM
Stdhd +2.41% opsnr, +2.85% SSIM

Change-Id: I2369df6295c2705963fa6307877f6acb304bcc39

10 years agoMerge "webmdec: Fix return values for webm_read_frame"
Vignesh Venkatasubramanian [Wed, 16 Apr 2014 16:47:24 +0000 (09:47 -0700)]
Merge "webmdec: Fix return values for webm_read_frame"

10 years agoMerge "Renaming av_per_frame_bandwidth to avg_frame_bandwidth."
Dmitry Kovalev [Wed, 16 Apr 2014 06:00:16 +0000 (23:00 -0700)]
Merge "Renaming av_per_frame_bandwidth to avg_frame_bandwidth."

10 years agoMerge "Consistent mode names."
Dmitry Kovalev [Wed, 16 Apr 2014 05:59:37 +0000 (22:59 -0700)]
Merge "Consistent mode names."

10 years agoRenaming av_per_frame_bandwidth to avg_frame_bandwidth.
Dmitry Kovalev [Thu, 10 Apr 2014 18:28:29 +0000 (11:28 -0700)]
Renaming av_per_frame_bandwidth to avg_frame_bandwidth.

Just to be consistent with min_frame_bandwidth & max_frame_bandwidth names.

Change-Id: I36702c708cba9ad1a5c36393f37758a2edeadb90

10 years agoMerge "Adding scale_if_required() function."
Dmitry Kovalev [Wed, 16 Apr 2014 00:55:13 +0000 (17:55 -0700)]
Merge "Adding scale_if_required() function."

10 years agoAdding sad function generation macros.
Dmitry Kovalev [Wed, 16 Apr 2014 00:46:45 +0000 (17:46 -0700)]
Adding sad function generation macros.

Change-Id: If6f013835b69ae61b0a0c6006fe0955303f579a5

10 years agoMerge "Adding get_search_range() function."
Dmitry Kovalev [Tue, 15 Apr 2014 23:39:27 +0000 (16:39 -0700)]
Merge "Adding get_search_range() function."

10 years agoMerge "Cleaning up vp9_rc_compute_frame_size_bounds()."
Dmitry Kovalev [Tue, 15 Apr 2014 21:58:31 +0000 (14:58 -0700)]
Merge "Cleaning up vp9_rc_compute_frame_size_bounds()."

10 years agoMerge "Cleaning up vp9_twopass_worst_quality()."
Dmitry Kovalev [Tue, 15 Apr 2014 21:57:33 +0000 (14:57 -0700)]
Merge "Cleaning up vp9_twopass_worst_quality()."

10 years agoAdding scale_if_required() function.
Dmitry Kovalev [Tue, 15 Apr 2014 21:43:45 +0000 (14:43 -0700)]
Adding scale_if_required() function.

Change-Id: I87819fed5aebb6ffe2f4d4655df226235a3d21cb

10 years agoAdding get_search_range() function.
Dmitry Kovalev [Tue, 15 Apr 2014 21:40:40 +0000 (14:40 -0700)]
Adding get_search_range() function.

Change-Id: I988eea8f78f71135b914661420c5c75674e5c010

10 years agoMerge "More user friendly vpxenc help strings."
Dmitry Kovalev [Tue, 15 Apr 2014 19:00:23 +0000 (12:00 -0700)]
Merge "More user friendly vpxenc help strings."

10 years agowebmdec: Fix return values for webm_read_frame
Vignesh Venkatasubramanian [Mon, 14 Apr 2014 22:21:22 +0000 (15:21 -0700)]
webmdec: Fix return values for webm_read_frame

Fix return values for webm_read_frame so that we can distinguish between
error and end of stream. 0 - Success, 1 - End of stream, -1 error.

Change-Id: Ic35d0c7d7a166e027711a3d2300ecdda25a5d0cc

10 years agoAdd consts in set_fixed_partitioning()
Yaowu Xu [Tue, 15 Apr 2014 17:49:27 +0000 (10:49 -0700)]
Add consts in set_fixed_partitioning()

Change-Id: Ib8c1b3b0a5a5689d3261dc822a69e9d473b89be1

10 years agoMerge "Moving frame_frags field from VP9Common to VP9_COMP."
Dmitry Kovalev [Tue, 15 Apr 2014 17:39:31 +0000 (10:39 -0700)]
Merge "Moving frame_frags field from VP9Common to VP9_COMP."

10 years agoMerge "Using anonymous enum instead of macros."
Dmitry Kovalev [Tue, 15 Apr 2014 17:25:14 +0000 (10:25 -0700)]
Merge "Using anonymous enum instead of macros."

10 years agoMerge "Adding get_skip_encode_frame()."
Dmitry Kovalev [Tue, 15 Apr 2014 17:24:59 +0000 (10:24 -0700)]
Merge "Adding get_skip_encode_frame()."

10 years agoRefactor common code into a function
Yaowu Xu [Tue, 15 Apr 2014 17:02:33 +0000 (10:02 -0700)]
Refactor common code into a function

Change-Id: Id156af5662ebe6fbe1cab636564f5f4bedb85ab0

10 years agoMerge "Remove fatal() call in webmdec.c"
Vignesh Venkatasubramanian [Tue, 15 Apr 2014 16:54:01 +0000 (09:54 -0700)]
Merge "Remove fatal() call in webmdec.c"

10 years agoMerge "Removing unused vp9_mcomp_x86.h file."
Dmitry Kovalev [Tue, 15 Apr 2014 00:05:15 +0000 (17:05 -0700)]
Merge "Removing unused vp9_mcomp_x86.h file."

10 years agoMerge "Replacing int_mv with MV."
Dmitry Kovalev [Tue, 15 Apr 2014 00:05:04 +0000 (17:05 -0700)]
Merge "Replacing int_mv with MV."

10 years agoMerge "Remove vp9_ prefix on static inline function."
Paul Wilkins [Mon, 14 Apr 2014 23:41:09 +0000 (16:41 -0700)]
Merge "Remove vp9_ prefix on static inline function."

10 years agoAdding get_skip_encode_frame().
Dmitry Kovalev [Mon, 14 Apr 2014 22:19:43 +0000 (15:19 -0700)]
Adding get_skip_encode_frame().

Change-Id: Id687aa617650a859463e7ae63dd4c0dc4f3e4779

10 years agoUsing anonymous enum instead of macros.
Dmitry Kovalev [Mon, 14 Apr 2014 22:11:13 +0000 (15:11 -0700)]
Using anonymous enum instead of macros.

Change-Id: I5ed360585dae2c9fea6c32058dbfb8ec07700677

10 years agoMerge "Reduce code duplication"
Yaowu Xu [Mon, 14 Apr 2014 21:39:50 +0000 (14:39 -0700)]
Merge "Reduce code duplication"

10 years agoMerge "Enable vpxenc to specify internal coded frame size"
Adrian Grange [Mon, 14 Apr 2014 21:39:46 +0000 (14:39 -0700)]
Merge "Enable vpxenc to specify internal coded frame size"

10 years agoRemove fatal() call in webmdec.c
Vignesh Venkatasubramanian [Mon, 14 Apr 2014 21:21:47 +0000 (14:21 -0700)]
Remove fatal() call in webmdec.c

Remove call to fatal() in webmdec.c so that it does not depend on
tools_common.c for compilation.

Change-Id: I3eec483afe6fae72436993c72b26d61d14a7f2bf

10 years agoConsistent mode names.
Dmitry Kovalev [Mon, 14 Apr 2014 21:09:39 +0000 (14:09 -0700)]
Consistent mode names.

Change-Id: Icb4851d98c951506fe5d73d8d5a8ac7e53fecfd0

10 years agoMore user friendly vpxenc help strings.
Dmitry Kovalev [Mon, 14 Apr 2014 19:12:50 +0000 (12:12 -0700)]
More user friendly vpxenc help strings.

Change-Id: I257fb32673c47848258dc7e6e22147d0beb49f86

10 years agoMerge "Speed 2 alternative balance."
Paul Wilkins [Mon, 14 Apr 2014 19:08:42 +0000 (12:08 -0700)]
Merge "Speed 2 alternative balance."

10 years agoReplacing int_mv with MV.
Dmitry Kovalev [Mon, 14 Apr 2014 18:42:56 +0000 (11:42 -0700)]
Replacing int_mv with MV.

Change-Id: I35b9d1856d7951b8df7c933df6936dfc52a28451

10 years agoRemoving unused vp9_mcomp_x86.h file.
Dmitry Kovalev [Mon, 14 Apr 2014 18:32:58 +0000 (11:32 -0700)]
Removing unused vp9_mcomp_x86.h file.

We don't use declarations from this file. The real declarations
(differently named) are in vp9_rtcd_defs.pl, e.g. vp9_full_search_sad.

Change-Id: I73cbf064305710ba20747233cfdbe67366f069a0

10 years agoReduce code duplication
Yaowu Xu [Mon, 14 Apr 2014 18:23:19 +0000 (11:23 -0700)]
Reduce code duplication

Change-Id: I6ea1c335da9ca5b65f6a11466b417ad196fd0d65

10 years agoEnable vpxenc to specify internal coded frame size
Adrian Grange [Wed, 9 Apr 2014 21:51:29 +0000 (14:51 -0700)]
Enable vpxenc to specify internal coded frame size

Added command line flags "resize-width" & "resize-height"
to allow the user to specify the frame size to encode at.

These two flags are ignored if the "resize-allowed" switch
is not set to 1.

All frames in the clip are then encoded at this size, which
must be smaller than the raw frame size.

Change-Id: I3d64bd9303d5c0bd678461a866a1ea621700d744

10 years agoMerge "Cleaning up check_best_zero_mv()."
Dmitry Kovalev [Mon, 14 Apr 2014 17:33:43 +0000 (10:33 -0700)]
Merge "Cleaning up check_best_zero_mv()."

10 years agoMerge "Cleaning up optimize_b()."
Dmitry Kovalev [Mon, 14 Apr 2014 17:32:58 +0000 (10:32 -0700)]
Merge "Cleaning up optimize_b()."

10 years agoMerge "Removing redundant mvsadcost local variables."
Dmitry Kovalev [Mon, 14 Apr 2014 17:30:38 +0000 (10:30 -0700)]
Merge "Removing redundant mvsadcost local variables."

10 years agoMerge "Removing redundant checks from vp9_change_config()."
Dmitry Kovalev [Mon, 14 Apr 2014 17:29:22 +0000 (10:29 -0700)]
Merge "Removing redundant checks from vp9_change_config()."

10 years agoRemove vp9_ prefix on static inline function.
Paul Wilkins [Mon, 14 Apr 2014 17:04:35 +0000 (10:04 -0700)]
Remove vp9_ prefix on static inline function.

This prefix reserved for global scope functions etc.

Change-Id: I671cda2a63e01a40aae3d7407dd1bb4d338d709c

10 years agoSpeed 2 alternative balance.
Paul Wilkins [Fri, 28 Mar 2014 15:21:26 +0000 (15:21 +0000)]
Speed 2 alternative balance.

A previous path improved speed 2 quality a little but
more extensive testing showed that it slowed encode
by a few %.

The change will have a similar effect for speed 3 but
should not impact speeds 4+;

This experiment should reverse that and give a speed
up at the cost of a small quality loss.

Borg results pending.

Change-Id: I4493fc1541aaf44587f1a41ff219f7088da9252c

10 years agoMerge "Add a few "const""
Yaowu Xu [Mon, 14 Apr 2014 03:21:54 +0000 (20:21 -0700)]
Merge "Add a few "const""

10 years agoMerge "Adding consts in vp9_picklpf.c."
Dmitry Kovalev [Sat, 12 Apr 2014 04:28:56 +0000 (21:28 -0700)]
Merge "Adding consts in vp9_picklpf.c."

10 years agoMerge "Fixing error found by ioc."
Dmitry Kovalev [Sat, 12 Apr 2014 04:26:59 +0000 (21:26 -0700)]
Merge "Fixing error found by ioc."

10 years agoMerge "Adding vp9_rc_update_framerate() function."
Dmitry Kovalev [Sat, 12 Apr 2014 01:27:34 +0000 (18:27 -0700)]
Merge "Adding vp9_rc_update_framerate() function."

10 years agoFixing error found by ioc.
Dmitry Kovalev [Sat, 12 Apr 2014 00:14:15 +0000 (17:14 -0700)]
Fixing error found by ioc.

vp9/encoder/vp9_rdopt.c:3913:44: runtime error: index -1 out of bounds for
type 'RefBuffer [3]'.

Change-Id: Ic0ec755328853b359e3a1ee84d319589183e38b7

10 years agoMerge "Fix the VP9 encoding unit test failure on ARM."
hkuang [Fri, 11 Apr 2014 23:46:14 +0000 (16:46 -0700)]
Merge "Fix the VP9 encoding unit test failure on ARM."

10 years agoRemoving redundant checks from vp9_change_config().
Dmitry Kovalev [Fri, 11 Apr 2014 22:57:39 +0000 (15:57 -0700)]
Removing redundant checks from vp9_change_config().

Both values are already checked as command line arguments:
RANGE_CHECK_HI(cfg, g_lag_in_frames, MAX_LAG_BUFFERS);
RANGE_CHECK_HI(extra_cfg, sharpness, 7);

Change-Id: I584798d587152d88dfd517c210054b466f4e5f8a

10 years agoAdd a few "const"
Yaowu Xu [Thu, 10 Apr 2014 23:22:52 +0000 (16:22 -0700)]
Add a few "const"

Change-Id: I258351fc1fff70ff2e9fa4845e575b0bb6a423d1

10 years agoMerge "Replace the call to set_offsets()"
Yaowu Xu [Fri, 11 Apr 2014 22:50:02 +0000 (15:50 -0700)]
Merge "Replace the call to set_offsets()"

10 years agoAdding consts in vp9_picklpf.c.
Dmitry Kovalev [Fri, 11 Apr 2014 22:33:50 +0000 (15:33 -0700)]
Adding consts in vp9_picklpf.c.

Change-Id: I84af62cc52954fc2eaf0b737245be76551fc8005

10 years agoRenaming VP9D_CONFIG to VP9DecoderConfig.
Dmitry Kovalev [Fri, 11 Apr 2014 21:50:11 +0000 (14:50 -0700)]
Renaming VP9D_CONFIG to VP9DecoderConfig.

Change-Id: I9677aab1c7bb0ca9e989cb21348a3a2c926d8f5a

10 years agoCleaning up check_best_zero_mv().
Dmitry Kovalev [Fri, 11 Apr 2014 21:32:07 +0000 (14:32 -0700)]
Cleaning up check_best_zero_mv().

Change-Id: I5c450a4932fb4f20449487596932458ee3b48ae0

10 years agoAdding vp9_rc_update_framerate() function.
Dmitry Kovalev [Fri, 11 Apr 2014 21:23:13 +0000 (14:23 -0700)]
Adding vp9_rc_update_framerate() function.

Change-Id: Ie0c905b6f32a37e4360bbb44ceeae77c42ad1dc5

10 years agoMerge "rename README.webm -> README.libvpx"
James Zern [Fri, 11 Apr 2014 21:23:11 +0000 (14:23 -0700)]
Merge "rename README.webm -> README.libvpx"

10 years agoRemoving redundant mvsadcost local variables.
Dmitry Kovalev [Fri, 11 Apr 2014 21:02:17 +0000 (14:02 -0700)]
Removing redundant mvsadcost local variables.

Change-Id: I19a197b9525172579f253702c77fa76af88f6565

10 years agoMerge "Removing offset argument of mvcomp macros."
Dmitry Kovalev [Fri, 11 Apr 2014 21:09:17 +0000 (14:09 -0700)]
Merge "Removing offset argument of mvcomp macros."