platform/upstream/libvpx.git
10 years agocosmetics: vp9_reconinter.h: make some variables const
James Zern [Thu, 26 Dec 2013 19:00:58 +0000 (14:00 -0500)]
cosmetics: vp9_reconinter.h: make some variables const

Change-Id: If5cd0a1487e97c8e9d13dc2e078c6dceaf79de4f

10 years agoMoving MAX_PROB constant to vp9_prob.h.
Dmitry Kovalev [Fri, 20 Dec 2013 23:56:59 +0000 (15:56 -0800)]
Moving MAX_PROB constant to vp9_prob.h.

Change-Id: I07470ad1b7a0344d088911428ffab8ba9a0d8708

10 years agoRenaming vp9_dboolhuff.{h, c} to vp9_reader.{h, c}.
Dmitry Kovalev [Fri, 20 Dec 2013 19:22:25 +0000 (11:22 -0800)]
Renaming vp9_dboolhuff.{h, c} to vp9_reader.{h, c}.

Change-Id: I50c009ff8108bda1c57427f23d63a79c04f7e776

10 years agoMerge "Renaming vp9_boolcoder.{h, c} to vp9_writer.{h, c}."
Dmitry Kovalev [Fri, 20 Dec 2013 20:51:37 +0000 (12:51 -0800)]
Merge "Renaming vp9_boolcoder.{h, c} to vp9_writer.{h, c}."

10 years agoMerge "Using single struct to represent scale factors."
Dmitry Kovalev [Fri, 20 Dec 2013 19:22:02 +0000 (11:22 -0800)]
Merge "Using single struct to represent scale factors."

10 years agoRenaming vp9_boolcoder.{h, c} to vp9_writer.{h, c}.
Dmitry Kovalev [Fri, 20 Dec 2013 19:10:24 +0000 (11:10 -0800)]
Renaming vp9_boolcoder.{h, c} to vp9_writer.{h, c}.

Change-Id: I9b9a5fcce8530284df0f270706ee060a0edc1517

10 years agoMerge "Reusing FRAME_COUNTS in the encoder."
Dmitry Kovalev [Fri, 20 Dec 2013 18:56:31 +0000 (10:56 -0800)]
Merge "Reusing FRAME_COUNTS in the encoder."

10 years agoMerge "Store the SSE of prediction residuals"
Jingning Han [Fri, 20 Dec 2013 18:37:20 +0000 (10:37 -0800)]
Merge "Store the SSE of prediction residuals"

10 years agoMerge "Initialize avg_frame_qindex to worst_allowed for 1 pass."
Marco Paniconi [Fri, 20 Dec 2013 18:28:09 +0000 (10:28 -0800)]
Merge "Initialize avg_frame_qindex to worst_allowed for 1 pass."

10 years agoMerge "Fix a bug"
Yaowu Xu [Fri, 20 Dec 2013 17:20:50 +0000 (09:20 -0800)]
Merge "Fix a bug"

10 years agoFix a bug
Yaowu Xu [Fri, 20 Dec 2013 16:52:35 +0000 (08:52 -0800)]
Fix a bug

The line was accidently removed in 4dbad63a7.

Change-Id: Ic1e18f209cead95cecc684f952ae667271b58a97

10 years agoMerge "Code clean up"
Yunqing Wang [Fri, 20 Dec 2013 16:46:11 +0000 (08:46 -0800)]
Merge "Code clean up"

10 years agoMerge "Adjust gf_group_error_left for arf groups."
Paul Wilkins [Fri, 20 Dec 2013 12:21:56 +0000 (04:21 -0800)]
Merge "Adjust gf_group_error_left for arf groups."

10 years agoMerge "test/partial_idct_test: fix msvc build"
James Zern [Fri, 20 Dec 2013 03:31:02 +0000 (19:31 -0800)]
Merge "test/partial_idct_test: fix msvc build"

10 years agoStore the SSE of prediction residuals
Jingning Han [Fri, 20 Dec 2013 02:41:29 +0000 (18:41 -0800)]
Store the SSE of prediction residuals

Buffer the SSE of prediction residuals in the rate-distortion
optimization loop of a given block. This information would be used
for later encoding control.

Change-Id: If4e63f3462490513c48be9407d3327c8dd438367

10 years agoUsing single struct to represent scale factors.
Dmitry Kovalev [Fri, 20 Dec 2013 00:06:33 +0000 (16:06 -0800)]
Using single struct to represent scale factors.

Moving back to scale_factors struct. We don't need anymore x_offset_q4 and
y_offset_q4 because both values are calculated locally inside vp9_scale_mv
function.

Change-Id: I78a2122ba253c428a14558bda0e78ece738d2b5b

10 years agoMerge "vp9_encode_frame() cleanup."
Dmitry Kovalev [Thu, 19 Dec 2013 23:37:13 +0000 (15:37 -0800)]
Merge "vp9_encode_frame() cleanup."

10 years agoInitialize avg_frame_qindex to worst_allowed for 1 pass.
Marco Paniconi [Thu, 19 Dec 2013 22:26:46 +0000 (14:26 -0800)]
Initialize avg_frame_qindex to worst_allowed for 1 pass.

Change-Id: I535bde16c8fc4c2cd263bbbbaed46ead4c776090

10 years agoCall set_scaled_offsets() just before scale_mv() call.
Dmitry Kovalev [Thu, 19 Dec 2013 19:16:05 +0000 (11:16 -0800)]
Call set_scaled_offsets() just before scale_mv() call.

Before mv scaling it is required to calculate x_offset_q4/y_offset_q4
by calling set_scaled_offsets(). Now offset configuration can not be
missed because it happens just before scale_mv().

Change-Id: I7dd1a85b85811a6cc67c46c9b01e6ccbbb06ce3a

10 years agoMerge "Adding get_block_variance_fn() function."
Dmitry Kovalev [Thu, 19 Dec 2013 22:47:59 +0000 (14:47 -0800)]
Merge "Adding get_block_variance_fn() function."

10 years agoMerge "Replacing 1 << mi_{width, height}_log2() with lookup tables."
Dmitry Kovalev [Thu, 19 Dec 2013 22:28:58 +0000 (14:28 -0800)]
Merge "Replacing 1 << mi_{width, height}_log2() with lookup tables."

10 years agovp9_encode_frame() cleanup.
Dmitry Kovalev [Thu, 19 Dec 2013 22:28:42 +0000 (14:28 -0800)]
vp9_encode_frame() cleanup.

Change-Id: I82ecbe7fe0baa890ce251043f3c7159188c00665

10 years agoAdding get_block_variance_fn() function.
Dmitry Kovalev [Thu, 19 Dec 2013 22:07:03 +0000 (14:07 -0800)]
Adding get_block_variance_fn() function.

Change-Id: I67d934b6af899ffd4bcad2d913a650685fa64abd

10 years agoReplacing 1 << mi_{width, height}_log2() with lookup tables.
Dmitry Kovalev [Thu, 19 Dec 2013 21:43:45 +0000 (13:43 -0800)]
Replacing 1 << mi_{width, height}_log2() with lookup tables.

Change-Id: Iba91ff1e797a83517e2cd7c3ab86cba39f39415b

10 years agoMerge "Begin refactor of frame schedule in rate control"
Deb Mukherjee [Thu, 19 Dec 2013 19:37:06 +0000 (11:37 -0800)]
Merge "Begin refactor of frame schedule in rate control"

10 years agoCode clean up
Yunqing Wang [Thu, 19 Dec 2013 19:09:23 +0000 (11:09 -0800)]
Code clean up

Removed unused filter coefficients.

Change-Id: Ib395a51305e23ff41ab69c1808d56946d25961cd

10 years agoMerge "Converting vp9_treecoder.h to vp9_prob.{h, c}"
Dmitry Kovalev [Thu, 19 Dec 2013 19:03:30 +0000 (11:03 -0800)]
Merge "Converting vp9_treecoder.h to vp9_prob.{h, c}"

10 years agoMerge "Adding get_zbin_mode_boost() function."
Dmitry Kovalev [Thu, 19 Dec 2013 19:03:23 +0000 (11:03 -0800)]
Merge "Adding get_zbin_mode_boost() function."

10 years agoBegin refactor of frame schedule in rate control
Deb Mukherjee [Wed, 18 Dec 2013 18:26:27 +0000 (10:26 -0800)]
Begin refactor of frame schedule in rate control

Various cleanups and streamlining of interfaces as precursor
to further advancements in rate control.
Pre-encode parameter setting for different use cases:
One-pass, first of 2-pass, second of 2-pass, and Svc
are separated out.

There is no change in output with this change.

Change-Id: Ied8ca7d84d610993776aa30ef263fe20452e0e3e

10 years agoMerge "test/decode_perf_test: fix msvc build"
Tom Finegan [Thu, 19 Dec 2013 18:35:41 +0000 (10:35 -0800)]
Merge "test/decode_perf_test: fix msvc build"

10 years agoAdjust gf_group_error_left for arf groups.
Paul Wilkins [Thu, 19 Dec 2013 11:38:04 +0000 (11:38 +0000)]
Adjust gf_group_error_left for arf groups.

Take account of the fact that the overlay frame is usually
very cheap so distribute target bits among the other frames.

Change-Id: I120685122e8cbbe75da8d07d02932f7877059867

10 years agoAllow arf just before kfs or end of sequence.
Paul Wilkins [Wed, 11 Dec 2013 15:03:04 +0000 (15:03 +0000)]
Allow arf just before kfs or end of sequence.

This will hurt metrics in some cases (particularly for static
clips at low data rates where there is extra overhead, but it
helps smooth transitions around forced key frames between
stitched kf sections.

Change-Id: I7e1026ae0de6c77bba863061e115136d7f283cc0

10 years agoFurther q estimate adjustment.
Paul Wilkins [Mon, 9 Dec 2013 17:48:35 +0000 (17:48 +0000)]
Further q estimate adjustment.

Slightly reduces the mean tendency to undershoot target
rate in vbr, especially when using the memory less mode
and when recodes are disabled.

The effect is primarily at low q.

Change-Id: I59a593b99522cc7da31b4134d1c8a65f5b7b7c53

10 years agoRemove unused code and data structure.
Paul Wilkins [Thu, 19 Dec 2013 15:27:44 +0000 (15:27 +0000)]
Remove unused code and data structure.

Remove modified_error_used and adjust_active_maxq().

Change-Id: I8915007128dc1a17e11693104cfb008a6d64e6a2

10 years agoReusing FRAME_COUNTS in the encoder.
Dmitry Kovalev [Thu, 19 Dec 2013 02:52:58 +0000 (18:52 -0800)]
Reusing FRAME_COUNTS in the encoder.

Replacing: intra_inter_count, y_mode_count, y_uv_mode_count.

Change-Id: I5d70f73288af6effe6176e26400138067a2ae2a3

10 years agotest/decode_perf_test: fix msvc build
Tom Finegan [Thu, 19 Dec 2013 02:32:59 +0000 (18:32 -0800)]
test/decode_perf_test: fix msvc build

Change-Id: I46590947dfde0bce727b20c12e3a0a8c27be8433

10 years agoMerge "test/partial_idct_test: fix formatting and a warning"
James Zern [Thu, 19 Dec 2013 02:33:49 +0000 (18:33 -0800)]
Merge "test/partial_idct_test: fix formatting and a warning"

10 years agoMerge "Reusing FRAME_COUNTS in the encoder."
Dmitry Kovalev [Thu, 19 Dec 2013 02:27:08 +0000 (18:27 -0800)]
Merge "Reusing FRAME_COUNTS in the encoder."

10 years agotest/partial_idct_test: fix msvc build
James Zern [Thu, 19 Dec 2013 00:38:41 +0000 (16:38 -0800)]
test/partial_idct_test: fix msvc build

Change-Id: I7fa72980d17f1ca997959e9c4f0f82501810d7c4

10 years agotest/partial_idct_test: fix formatting and a warning
James Zern [Wed, 18 Dec 2013 23:59:09 +0000 (15:59 -0800)]
test/partial_idct_test: fix formatting and a warning

test/partial_idct_test.cc:74:5: warning: variable 'size' is
used uninitialized whenever 'if' condition is true
[-Wsometimes-uninitialized]
    ASSERT_TRUE(0) << "Wrong Size!";

Change-Id: Ic2f880ae09268561c9f036b4d6de220fde6dc5c4

10 years agoCast away Windows warning
Johann [Wed, 18 Dec 2013 23:52:51 +0000 (15:52 -0800)]
Cast away Windows warning

Subtracting the pointers promoted to a signed type.

Change-Id: Ied0e822a1756ed7b2f514efafcb6dce4efb9b9d6

10 years agoMerge "Fix arnr for 4:4:4."
Alex Converse [Wed, 18 Dec 2013 22:58:03 +0000 (14:58 -0800)]
Merge "Fix arnr for 4:4:4."

10 years agoFix arnr for 4:4:4.
Alex Converse [Wed, 18 Dec 2013 19:57:40 +0000 (11:57 -0800)]
Fix arnr for 4:4:4.

Change-Id: I80a0cea96c65c0cfb530a71053616dba6edeb896

10 years agoMerge "Fix to overflow in asan test (for vp8 encoder)."
Marco Paniconi [Wed, 18 Dec 2013 22:18:58 +0000 (14:18 -0800)]
Merge "Fix to overflow in asan test (for vp8 encoder)."

10 years agoFix to overflow in asan test (for vp8 encoder).
Marco Paniconi [Wed, 18 Dec 2013 20:23:30 +0000 (12:23 -0800)]
Fix to overflow in asan test (for vp8 encoder).

Change-Id: Ie67339ab3a16ce7669b5366a743812df93c52711

10 years agoReplace cpi->common with cm in vp9_onyx_if
Jingning Han [Wed, 18 Dec 2013 18:32:51 +0000 (10:32 -0800)]
Replace cpi->common with cm in vp9_onyx_if

Replace repeated cpi->common fetching with cm variable in a few
places in vp9_onyx_if.c

Change-Id: Ifa16d617f37919b2e0baf8efb256130a647b5eb3

10 years agoMerge "Make rd_pred_filter update consistent in all bsizes"
Jingning Han [Wed, 18 Dec 2013 20:31:35 +0000 (12:31 -0800)]
Merge "Make rd_pred_filter update consistent in all bsizes"

10 years agoMake rd_pred_filter update consistent in all bsizes
Jingning Han [Tue, 17 Dec 2013 01:52:59 +0000 (17:52 -0800)]
Make rd_pred_filter update consistent in all bsizes

This commit reworks the prediction filter rate-distortion cost update
process consistent for all block sizes.

Change-Id: I5874349ab38df380240f96c2d4ef924072bab68d

10 years agoMerge "Added a test vector that exercises lpf deltas"
Yaowu Xu [Wed, 18 Dec 2013 19:41:56 +0000 (11:41 -0800)]
Merge "Added a test vector that exercises lpf deltas"

10 years agoAdding get_zbin_mode_boost() function.
Dmitry Kovalev [Wed, 18 Dec 2013 18:39:08 +0000 (10:39 -0800)]
Adding get_zbin_mode_boost() function.

Change-Id: Ia356178d6a3c40b512d3123390781ef94dec72d6

10 years agoMerge "Updates for 1-pass CBR rate control."
Marco Paniconi [Wed, 18 Dec 2013 18:28:33 +0000 (10:28 -0800)]
Merge "Updates for 1-pass CBR rate control."

10 years agoAdded a test vector that exercises lpf deltas
Yaowu Xu [Tue, 17 Dec 2013 22:44:33 +0000 (14:44 -0800)]
Added a test vector that exercises lpf deltas

From frame 2, the lpf deltas are all cleared for for even frames, and
a set of values are set and used for odd frames. The intention is to
exercise decoding code around lpf delta/update decoding.

Change-Id: Ic9ff1bc2c2a023f4805852f8573398f2ec2249d7

10 years agoUpdates for 1-pass CBR rate control.
Marco Paniconi [Tue, 17 Dec 2013 23:45:30 +0000 (15:45 -0800)]
Updates for 1-pass CBR rate control.

Adjustments based on buffer level, frame dropper.

Change-Id: Iaa85b570493526a60c4b9fb7ded4c0226b1b3a33

10 years agoMerge "Fix incorrect size reading"
Johann [Wed, 18 Dec 2013 05:26:50 +0000 (21:26 -0800)]
Merge "Fix incorrect size reading"

10 years agoMerge "Only exclude VP8 when it is included"
Johann [Wed, 18 Dec 2013 05:26:44 +0000 (21:26 -0800)]
Merge "Only exclude VP8 when it is included"

10 years agoMerge "Increase required number of external frame buffers"
Frank Galligan [Wed, 18 Dec 2013 05:20:34 +0000 (21:20 -0800)]
Merge "Increase required number of external frame buffers"

10 years agoMerge "rename loop filter functions"
Jim Bankoski [Wed, 18 Dec 2013 02:56:09 +0000 (18:56 -0800)]
Merge "rename loop filter functions"

10 years agoFix incorrect size reading
Johann [Wed, 18 Dec 2013 02:29:06 +0000 (18:29 -0800)]
Fix incorrect size reading

Guard against incorrect size values moving *data past data_end.

Check read length against the difference of the buffers.

Change-Id: Ie0b54e2db517fd41a0f3ceb23402ee44839a4739

10 years agoOnly exclude VP8 when it is included
Johann [Wed, 18 Dec 2013 02:27:04 +0000 (18:27 -0800)]
Only exclude VP8 when it is included

If configured with --disable-vp8 kVP8TestVectors is undefined.

Change-Id: I9d83e805923977ab057ab48042580ce0d817ba68

10 years agoMerge "Add external constants."
James Zern [Wed, 18 Dec 2013 02:20:31 +0000 (18:20 -0800)]
Merge "Add external constants."

10 years agoIncrease required number of external frame buffers
Frank Galligan [Wed, 18 Dec 2013 01:34:36 +0000 (17:34 -0800)]
Increase required number of external frame buffers

Make applications pass in VPX_MAXIMUM_WORK_BUFFERS as well as
VP9_MAXIMUM_REF_BUFFERS.

Change-Id: I9c07ce83fa19c90ed43227b801b2013690e81edd

10 years agorename loop filter functions
Jim Bankoski [Wed, 18 Dec 2013 01:34:34 +0000 (17:34 -0800)]
rename loop filter functions

This renames all the loop filter functions so that they no
longer refer to mb

Change-Id: I8a58a8c7fd253d835cb619bde13913e896ece90b

10 years agoAdd external constants.
Frank Galligan [Tue, 17 Dec 2013 19:59:46 +0000 (11:59 -0800)]
Add external constants.

Change-Id: I8d329513c87bd8622306aba27c83bf04ef170fa4

10 years agoMerge changes I5d28c2f5,Ib00b036f
Yaowu Xu [Wed, 18 Dec 2013 00:57:01 +0000 (16:57 -0800)]
Merge changes I5d28c2f5,Ib00b036f

* changes:
  Remove redundant function and calls
  Add test for partial inverse transforms

10 years agoMerge "Calling is_inter_block() only if mbmi is available."
Dmitry Kovalev [Wed, 18 Dec 2013 00:10:56 +0000 (16:10 -0800)]
Merge "Calling is_inter_block() only if mbmi is available."

10 years agoRemove redundant function and calls
Yaowu Xu [Tue, 17 Dec 2013 19:00:05 +0000 (11:00 -0800)]
Remove redundant function and calls

lf deltas are later setup in function vp9_setup_past_independence(),
so this commit removed the redundant copy. Also renamed a function
to better align the behavior of the funciton.

Change-Id: I5d28c2f5b12b3d31817e14296ed4605c1fd5c98c

10 years agoMerge "Converting mode_lf_lut struct member into static lookup table."
Dmitry Kovalev [Tue, 17 Dec 2013 23:20:05 +0000 (15:20 -0800)]
Merge "Converting mode_lf_lut struct member into static lookup table."

10 years agoAdd test for partial inverse transforms
Yaowu Xu [Fri, 13 Dec 2013 18:05:40 +0000 (10:05 -0800)]
Add test for partial inverse transforms

To make sure the results they produce to match their full versions

Change-Id: Ib00b036fecf43fe20af716acfc580af18ef87757

10 years agoReusing FRAME_COUNTS in the encoder.
Dmitry Kovalev [Tue, 17 Dec 2013 04:12:47 +0000 (20:12 -0800)]
Reusing FRAME_COUNTS in the encoder.

Change-Id: I6ab9fe2326ebbadf0dd10cca9f66cf8277e3f43b
Replacing: comp_inter_count, single_ref_count, comp_ref_count.

10 years ago{,vpx_scale}: normalize include guards
James Zern [Mon, 16 Dec 2013 02:40:23 +0000 (18:40 -0800)]
{,vpx_scale}: normalize include guards

Change-Id: Ib8aafeee30d59521ee256dc1801e0db6b4b8a371

10 years agovpx_ports: normalize include guards
James Zern [Mon, 16 Dec 2013 02:36:00 +0000 (18:36 -0800)]
vpx_ports: normalize include guards

Change-Id: I4e931aadecfe1761c720b080bdd67a1875794979

10 years agovpx_mem: normalize include guards
James Zern [Mon, 16 Dec 2013 02:32:02 +0000 (18:32 -0800)]
vpx_mem: normalize include guards

Change-Id: Iac433b5823c572cfa79e5b6b839cd40b49c0389c

10 years agovpx: normalize include guards
James Zern [Mon, 16 Dec 2013 02:26:15 +0000 (18:26 -0800)]
vpx: normalize include guards

Change-Id: Iee670353cffa1f9e97976ac507ad9519e5dda7f7

10 years agovp8/encoder: normalize include guards
James Zern [Mon, 16 Dec 2013 02:25:05 +0000 (18:25 -0800)]
vp8/encoder: normalize include guards

Change-Id: I82834550503a43ff7ec8422342dc65136453b287

10 years agovp8/decoder: normalize include guards
James Zern [Mon, 16 Dec 2013 02:21:07 +0000 (18:21 -0800)]
vp8/decoder: normalize include guards

Change-Id: Ifa7934927cc8461cd58ca0b05bf76533abd78cb6

10 years agovp8/common: normalize include guards
James Zern [Mon, 16 Dec 2013 02:20:21 +0000 (18:20 -0800)]
vp8/common: normalize include guards

Change-Id: Ia8789a8f864e0edc0bf94f00f6430846f86911c3

10 years agovp9: normalize include guards
James Zern [Mon, 16 Dec 2013 02:00:43 +0000 (18:00 -0800)]
vp9: normalize include guards

Change-Id: If4ddbdcfb3ab387cbca6910b42cf4df8111e6879

10 years agoMerge "Avoid mixed comparison"
Johann [Tue, 17 Dec 2013 03:17:57 +0000 (19:17 -0800)]
Merge "Avoid mixed comparison"

10 years agoMerge "Add const to match declaration"
Johann [Tue, 17 Dec 2013 03:17:43 +0000 (19:17 -0800)]
Merge "Add const to match declaration"

10 years agoMerge "Include files in the same directory directly"
Johann [Tue, 17 Dec 2013 03:17:33 +0000 (19:17 -0800)]
Merge "Include files in the same directory directly"

10 years agoMerge "Define POSITION to differentiate from MV"
Yaowu Xu [Tue, 17 Dec 2013 02:21:55 +0000 (18:21 -0800)]
Merge "Define POSITION to differentiate from MV"

10 years agoMerge "Move two functions to encoder"
Yaowu Xu [Tue, 17 Dec 2013 02:09:51 +0000 (18:09 -0800)]
Merge "Move two functions to encoder"

10 years agoMerge "Fix rd_filter_cache update in sub8x8 RD loop"
Jingning Han [Tue, 17 Dec 2013 01:57:02 +0000 (17:57 -0800)]
Merge "Fix rd_filter_cache update in sub8x8 RD loop"

10 years agoMerge "Remove redefinition in handle_inter_mode"
Jingning Han [Tue, 17 Dec 2013 01:56:41 +0000 (17:56 -0800)]
Merge "Remove redefinition in handle_inter_mode"

10 years agoMerge "Rate control changes on active_worst_quality"
Deb Mukherjee [Tue, 17 Dec 2013 01:40:30 +0000 (17:40 -0800)]
Merge "Rate control changes on active_worst_quality"

10 years agoDefine POSITION to differentiate from MV
Yaowu Xu [Mon, 16 Dec 2013 20:56:08 +0000 (12:56 -0800)]
Define POSITION to differentiate from MV

MV struct was ussed to indicate the postition of a MI_BLOCK with row
and col components. The expression was confusing, this commit added a
new stucture "POSITION" with row and col component to better describe
the position of a mi_block.

Change-Id: I59fdd4b45010fe7d85a8db22a55503265c4f5b2b

10 years agoMove two functions to encoder
Yaowu Xu [Mon, 16 Dec 2013 20:09:34 +0000 (12:09 -0800)]
Move two functions to encoder

As they are used by encoder only.

Change-Id: I7b1e6955b218aba66fe156523521a8121c9a84a4

10 years agoMerge "Added a test vector"
Yaowu Xu [Tue, 17 Dec 2013 01:27:37 +0000 (17:27 -0800)]
Merge "Added a test vector"

10 years agoRate control changes on active_worst_quality
Deb Mukherjee [Fri, 13 Dec 2013 17:32:05 +0000 (09:32 -0800)]
Rate control changes on active_worst_quality

Various cleanups and refactoring.
Removes feedback of active worst qaulity and uses last_q
instead to make the interface cleaner. Active worst quality
is now decided only once for a frame being coded in the
beginning based on last_q and other stats. Also, adds other
cleaups on last_q to store also the last_q for altref frames,
and reduces the altref interval a little.

The output does change a little.
derfraw300: +0.224% (global psnr)
stdhdraw250: +0.442% (global psnr)

Change-Id: Ie634cdc032697044c472dd0fe79c109b3e7f9767

10 years agoMerge "Using MV struct instead of int_mv union in encoder (2)."
Dmitry Kovalev [Tue, 17 Dec 2013 00:56:07 +0000 (16:56 -0800)]
Merge "Using MV struct instead of int_mv union in encoder (2)."

10 years agoAdded a test vector
Yaowu Xu [Mon, 16 Dec 2013 19:23:16 +0000 (11:23 -0800)]
Added a test vector

The added vector was encoded with aq mode on, with the intent to
exercise the decode code around segment feature.

Change-Id: Iedcb7261e87d3e11b25ecf031d3a69385271148e

10 years agoAvoid mixed comparison
Johann [Mon, 16 Dec 2013 23:16:15 +0000 (15:16 -0800)]
Avoid mixed comparison

Silences warning C4018: '>' : signed/unsigned mismatch

Change-Id: I07d34060043e8ada7d995ea6dc8276cb881c7d95

10 years agoAdd const to match declaration
Johann [Mon, 16 Dec 2013 22:37:07 +0000 (14:37 -0800)]
Add const to match declaration

The definition fell out of sync in
I7d2fda72de5fc27e86c6589543b41fa044681dbf

Change-Id: I3ce3f6ba96bb121f51efaa08f64a69ad9f731a9e

10 years agoInclude files in the same directory directly
Johann [Mon, 16 Dec 2013 21:15:26 +0000 (13:15 -0800)]
Include files in the same directory directly

Change-Id: I56706a8326d9356a6735d13eb5e0832d04221c91

10 years agoMerge "Getting rid of b_{width, height}_log2 calls in non-420 loop filter."
Dmitry Kovalev [Mon, 16 Dec 2013 23:10:25 +0000 (15:10 -0800)]
Merge "Getting rid of b_{width, height}_log2 calls in non-420 loop filter."

10 years agoCalling is_inter_block() only if mbmi is available.
Dmitry Kovalev [Mon, 16 Dec 2013 23:09:33 +0000 (15:09 -0800)]
Calling is_inter_block() only if mbmi is available.

Modifying vp9_get_intra_inter_context(), vp9_get_reference_mode_context(),
vp9_get_pred_context_single_ref_p1(), vp9_get_pred_context_single_ref_p2()
functions.

Change-Id: Ifaa2c3eb0c76a544ae8bd1fe3155aada266eae78

10 years agoFix rd_filter_cache update in sub8x8 RD loop
Jingning Han [Mon, 16 Dec 2013 22:38:45 +0000 (14:38 -0800)]
Fix rd_filter_cache update in sub8x8 RD loop

Properly handle the rd_filter_cache update, when early termination
or skip prediction filter type check is triggered.

Change-Id: Ie7b9a75fed3358f45ffd15817f2b36670c14eb2d

10 years agoMerge "Remove border extension in intra frame prediction."
hkuang [Mon, 16 Dec 2013 22:48:54 +0000 (14:48 -0800)]
Merge "Remove border extension in intra frame prediction."

10 years agoMerge "Yet another vp9_pred_common.c cleanup."
Dmitry Kovalev [Mon, 16 Dec 2013 22:10:52 +0000 (14:10 -0800)]
Merge "Yet another vp9_pred_common.c cleanup."

10 years agoMerge "Reusing nmv_frame_counts from FRAME_COUNTS in encoder."
Dmitry Kovalev [Mon, 16 Dec 2013 22:10:13 +0000 (14:10 -0800)]
Merge "Reusing nmv_frame_counts from FRAME_COUNTS in encoder."