Dmitry Kovalev
431aaefbec
Replacing 1 << mi_{width, height}_log2() with lookup tables.
...
Change-Id: Iba91ff1e797a83517e2cd7c3ab86cba39f39415b
2013-12-19 13:43:45 -08:00
Dmitry Kovalev
c67ee5ea24
Merge "Converting vp9_treecoder.h to vp9_prob.{h, c}"
2013-12-19 11:03:30 -08:00
Dmitry Kovalev
e4b85c9ed8
Merge "Adding get_zbin_mode_boost() function."
2013-12-19 11:03:23 -08:00
Paul Wilkins
cb8659981d
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
2013-12-19 16:52:38 +00:00
Paul Wilkins
e1312c3696
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
2013-12-19 15:32:50 +00:00
Paul Wilkins
d99e890840
Remove unused code and data structure.
...
Remove modified_error_used and adjust_active_maxq().
Change-Id: I8915007128dc1a17e11693104cfb008a6d64e6a2
2013-12-19 15:27:44 +00:00
Dmitry Kovalev
829ec56b47
Merge "Reusing FRAME_COUNTS in the encoder."
2013-12-18 18:27:08 -08:00
Johann
dc2c62eba8
Cast away Windows warning
...
Subtracting the pointers promoted to a signed type.
Change-Id: Ied0e822a1756ed7b2f514efafcb6dce4efb9b9d6
2013-12-18 15:52:51 -08:00
Alex Converse
69384a2510
Merge "Fix arnr for 4:4:4."
2013-12-18 14:58:03 -08:00
Alex Converse
7e731b6cea
Fix arnr for 4:4:4.
...
Change-Id: I80a0cea96c65c0cfb530a71053616dba6edeb896
2013-12-18 14:33:29 -08:00
Jingning Han
89b6d40690
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
2013-12-18 12:31:41 -08:00
Jingning Han
ae0e383d35
Merge "Make rd_pred_filter update consistent in all bsizes"
2013-12-18 12:31:35 -08:00
Jingning Han
d8557a052c
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
2013-12-18 11:54:31 -08:00
Dmitry Kovalev
de49895804
Adding get_zbin_mode_boost() function.
...
Change-Id: Ia356178d6a3c40b512d3123390781ef94dec72d6
2013-12-18 10:39:08 -08:00
Marco Paniconi
02d5ebcfdc
Merge "Updates for 1-pass CBR rate control."
2013-12-18 10:28:33 -08:00
Marco Paniconi
1b8b8b0d0d
Updates for 1-pass CBR rate control.
...
Adjustments based on buffer level, frame dropper.
Change-Id: Iaa85b570493526a60c4b9fb7ded4c0226b1b3a33
2013-12-18 09:24:24 -08:00
Johann
bb12bbaefb
Merge "Fix incorrect size reading"
2013-12-17 21:26:50 -08:00
Frank Galligan
05d5332407
Merge "Increase required number of external frame buffers"
2013-12-17 21:20:34 -08:00
Jim Bankoski
9d754dcca8
Merge "rename loop filter functions"
2013-12-17 18:56:09 -08:00
Johann
85770264ac
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
2013-12-17 18:48:55 -08:00
Frank Galligan
9e41d569d7
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
2013-12-17 17:34:36 -08:00
Jim Bankoski
b720ba165f
rename loop filter functions
...
This renames all the loop filter functions so that they no
longer refer to mb
Change-Id: I8a58a8c7fd253d835cb619bde13913e896ece90b
2013-12-17 17:34:34 -08:00
Yaowu Xu
ede392d765
Merge changes I5d28c2f5,Ib00b036f
...
* changes:
Remove redundant function and calls
Add test for partial inverse transforms
2013-12-17 16:57:01 -08:00
Dmitry Kovalev
c6a1ff223b
Merge "Calling is_inter_block() only if mbmi is available."
2013-12-17 16:10:56 -08:00
Yaowu Xu
ed90a176af
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
2013-12-17 15:44:25 -08:00
Dmitry Kovalev
eb0c73b6e0
Merge "Converting mode_lf_lut struct member into static lookup table."
2013-12-17 15:20:05 -08:00
Dmitry Kovalev
1d23a6594b
Reusing FRAME_COUNTS in the encoder.
...
Change-Id: I6ab9fe2326ebbadf0dd10cca9f66cf8277e3f43b
Replacing: comp_inter_count, single_ref_count, comp_ref_count.
2013-12-16 20:12:47 -08:00
James Zern
bd9a388a06
vp9: normalize include guards
...
Change-Id: If4ddbdcfb3ab387cbca6910b42cf4df8111e6879
2013-12-16 19:40:49 -08:00
Johann
83baed0b6b
Merge "Add const to match declaration"
2013-12-16 19:17:43 -08:00
Yaowu Xu
1f919cf27d
Merge "Define POSITION to differentiate from MV"
2013-12-16 18:21:55 -08:00
Yaowu Xu
36c4e27454
Merge "Move two functions to encoder"
2013-12-16 18:09:51 -08:00
Jingning Han
07a28c77e3
Merge "Fix rd_filter_cache update in sub8x8 RD loop"
2013-12-16 17:57:02 -08:00
Jingning Han
ef838c349c
Merge "Remove redefinition in handle_inter_mode"
2013-12-16 17:56:41 -08:00
Yaowu Xu
3cce464342
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
2013-12-16 17:28:00 -08:00
Yaowu Xu
50ec6311e6
Move two functions to encoder
...
As they are used by encoder only.
Change-Id: I7b1e6955b218aba66fe156523521a8121c9a84a4
2013-12-16 17:27:48 -08:00
Deb Mukherjee
1e59cbf23b
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
2013-12-16 17:08:16 -08:00
Dmitry Kovalev
3755be94ed
Merge "Using MV struct instead of int_mv union in encoder (2)."
2013-12-16 16:56:07 -08:00
Johann
5894e7ef50
Add const to match declaration
...
The definition fell out of sync in
I7d2fda72de5fc27e86c6589543b41fa044681dbf
Change-Id: I3ce3f6ba96bb121f51efaa08f64a69ad9f731a9e
2013-12-16 15:46:11 -08:00
Dmitry Kovalev
bb7b4bad6d
Merge "Getting rid of b_{width, height}_log2 calls in non-420 loop filter."
2013-12-16 15:10:25 -08:00
Dmitry Kovalev
865d5b83f2
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
2013-12-16 15:09:33 -08:00
Jingning Han
75cfadbd1f
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
2013-12-16 14:52:20 -08:00
hkuang
fb53409d2a
Merge "Remove border extension in intra frame prediction."
2013-12-16 14:48:54 -08:00
Dmitry Kovalev
b1d821704b
Merge "Yet another vp9_pred_common.c cleanup."
2013-12-16 14:10:52 -08:00
Dmitry Kovalev
4f0a381b49
Merge "Reusing nmv_frame_counts from FRAME_COUNTS in encoder."
2013-12-16 14:10:13 -08:00
hkuang
25e5552630
Remove border extension in intra frame prediction.
...
Change-Id: Id677df4d3dbbed6fdf7319ca6464f19cf32c8176
2013-12-16 14:05:58 -08:00
Dmitry Kovalev
b5c9261832
Converting vp9_treecoder.h to vp9_prob.{h, c}
...
Moving vp9_norm probability table from vp9_entropy.c to vp9_prob.c
Change-Id: Ie757b73860c6f43130790c332b292e2a1a81b788
2013-12-16 12:53:09 -08:00
Dmitry Kovalev
1a23a34419
Merge "Cleaning up encode_sb() and encode_b() functions."
2013-12-16 12:21:38 -08:00
Dmitry Kovalev
f00d4e0198
Merge "Removing unnecessary assert(delta != 0) from encode_loopfilter()."
2013-12-16 11:41:36 -08:00
Frank Galligan
fbada948fa
Add frame buffer lru cache.
...
Add an option for libvpx to return the least recently used
frame buffer.
Change-Id: I886a96ffb94984f1c42de53086e0131922df3260
2013-12-15 19:57:42 -08:00
Frank Galligan
d0ee1fd797
Merge "Add support to pass in external frame buffers."
2013-12-15 19:18:25 -08:00