Dmitry Kovalev
617a367c54
Merge "Consistent mode names."
2014-04-15 22:59:37 -07:00
Dmitry Kovalev
4e9529cb24
Renaming av_per_frame_bandwidth to avg_frame_bandwidth.
...
Just to be consistent with min_frame_bandwidth & max_frame_bandwidth names.
Change-Id: I36702c708cba9ad1a5c36393f37758a2edeadb90
2014-04-15 18:36:01 -07:00
Dmitry Kovalev
003376fc8b
Merge "Adding scale_if_required() function."
2014-04-15 17:55:13 -07:00
Dmitry Kovalev
7a85ba8ac3
Adding sad function generation macros.
...
Change-Id: If6f013835b69ae61b0a0c6006fe0955303f579a5
2014-04-15 17:46:45 -07:00
Dmitry Kovalev
cb9550eea0
Merge "Adding get_search_range() function."
2014-04-15 16:39:27 -07:00
Dmitry Kovalev
0391790f24
Merge "Cleaning up vp9_rc_compute_frame_size_bounds()."
2014-04-15 14:58:31 -07:00
Dmitry Kovalev
6fe75c6397
Merge "Cleaning up vp9_twopass_worst_quality()."
2014-04-15 14:57:33 -07:00
Dmitry Kovalev
2f86279124
Adding scale_if_required() function.
...
Change-Id: I87819fed5aebb6ffe2f4d4655df226235a3d21cb
2014-04-15 14:43:45 -07:00
Dmitry Kovalev
0739cab86c
Adding get_search_range() function.
...
Change-Id: I988eea8f78f71135b914661420c5c75674e5c010
2014-04-15 14:40:40 -07:00
Yaowu Xu
8f6f6ab244
Add consts in set_fixed_partitioning()
...
Change-Id: Ib8c1b3b0a5a5689d3261dc822a69e9d473b89be1
2014-04-15 11:49:49 -07:00
Dmitry Kovalev
55977e4a4f
Merge "Moving frame_frags field from VP9Common to VP9_COMP."
2014-04-15 10:39:31 -07:00
Dmitry Kovalev
e58ea39fd0
Merge "Using anonymous enum instead of macros."
2014-04-15 10:25:14 -07:00
Dmitry Kovalev
398de52f92
Merge "Adding get_skip_encode_frame()."
2014-04-15 10:24:59 -07:00
Yaowu Xu
1cda057261
Refactor common code into a function
...
Change-Id: Id156af5662ebe6fbe1cab636564f5f4bedb85ab0
2014-04-15 10:10:23 -07:00
Dmitry Kovalev
14331a84bd
Merge "Removing unused vp9_mcomp_x86.h file."
2014-04-14 17:05:15 -07:00
Dmitry Kovalev
78228f30f7
Merge "Replacing int_mv with MV."
2014-04-14 17:05:04 -07:00
Paul Wilkins
fd5a2066d5
Merge "Remove vp9_ prefix on static inline function."
2014-04-14 16:41:09 -07:00
Dmitry Kovalev
41a4b88a04
Adding get_skip_encode_frame().
...
Change-Id: Id687aa617650a859463e7ae63dd4c0dc4f3e4779
2014-04-14 15:19:43 -07:00
Dmitry Kovalev
c1981bdda0
Using anonymous enum instead of macros.
...
Change-Id: I5ed360585dae2c9fea6c32058dbfb8ec07700677
2014-04-14 15:11:13 -07:00
Yaowu Xu
d810fe5a92
Merge "Reduce code duplication"
2014-04-14 14:39:50 -07:00
Adrian Grange
48f5066553
Merge "Enable vpxenc to specify internal coded frame size"
2014-04-14 14:39:46 -07:00
Dmitry Kovalev
f3739f9052
Consistent mode names.
...
Change-Id: Icb4851d98c951506fe5d73d8d5a8ac7e53fecfd0
2014-04-14 14:09:39 -07:00
Paul Wilkins
096b44f43b
Merge "Speed 2 alternative balance."
2014-04-14 12:08:42 -07:00
Dmitry Kovalev
60db131567
Replacing int_mv with MV.
...
Change-Id: I35b9d1856d7951b8df7c933df6936dfc52a28451
2014-04-14 11:42:56 -07:00
Dmitry Kovalev
2fc3a18653
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
2014-04-14 11:32:58 -07:00
Yaowu Xu
54306b5861
Reduce code duplication
...
Change-Id: I6ea1c335da9ca5b65f6a11466b417ad196fd0d65
2014-04-14 11:23:19 -07:00
Dmitry Kovalev
6733ad19e1
Cleaning up vp9_full_search_sadx3().
...
Change-Id: Ia63fee65c827fd33080119184e6cf3167421807c
2014-04-14 11:13:33 -07:00
Adrian Grange
f7bd1274e3
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
2014-04-14 10:54:19 -07:00
Dmitry Kovalev
07dddfa3fd
Merge "Cleaning up check_best_zero_mv()."
2014-04-14 10:33:43 -07:00
Dmitry Kovalev
2543525700
Merge "Cleaning up optimize_b()."
2014-04-14 10:32:58 -07:00
Dmitry Kovalev
908e1218cd
Merge "Removing redundant mvsadcost local variables."
2014-04-14 10:30:38 -07:00
Dmitry Kovalev
07dd705498
Merge "Removing redundant checks from vp9_change_config()."
2014-04-14 10:29:22 -07:00
Paul Wilkins
19536d692e
Remove vp9_ prefix on static inline function.
...
This prefix reserved for global scope functions etc.
Change-Id: I671cda2a63e01a40aae3d7407dd1bb4d338d709c
2014-04-14 10:08:04 -07:00
Paul Wilkins
0639b5cff5
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
2014-04-14 17:55:19 +01:00
Yaowu Xu
e5930d5b77
Merge "Add a few "const""
2014-04-13 20:21:54 -07:00
Dmitry Kovalev
ebaca9e024
Merge "Adding consts in vp9_picklpf.c."
2014-04-11 21:28:56 -07:00
Dmitry Kovalev
490c5fe074
Merge "Fixing error found by ioc."
2014-04-11 21:26:59 -07:00
Dmitry Kovalev
16efb54939
Merge "Adding vp9_rc_update_framerate() function."
2014-04-11 18:27:34 -07:00
Dmitry Kovalev
1f58f9d092
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
2014-04-11 17:14:15 -07:00
hkuang
78417211e2
Merge "Fix the VP9 encoding unit test failure on ARM."
2014-04-11 16:46:14 -07:00
Dmitry Kovalev
603500055e
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
2014-04-11 15:57:39 -07:00
Yaowu Xu
9168f18069
Add a few "const"
...
Change-Id: I258351fc1fff70ff2e9fa4845e575b0bb6a423d1
2014-04-11 15:50:16 -07:00
Yaowu Xu
eb0c52baca
Merge "Replace the call to set_offsets()"
2014-04-11 15:50:02 -07:00
Dmitry Kovalev
3766ccd37a
Adding consts in vp9_picklpf.c.
...
Change-Id: I84af62cc52954fc2eaf0b737245be76551fc8005
2014-04-11 15:33:50 -07:00
Dmitry Kovalev
ab3d8e6fc5
Renaming VP9D_CONFIG to VP9DecoderConfig.
...
Change-Id: I9677aab1c7bb0ca9e989cb21348a3a2c926d8f5a
2014-04-11 14:50:11 -07:00
Dmitry Kovalev
35a63b7c0f
Cleaning up check_best_zero_mv().
...
Change-Id: I5c450a4932fb4f20449487596932458ee3b48ae0
2014-04-11 14:32:07 -07:00
Dmitry Kovalev
335a18ad12
Adding vp9_rc_update_framerate() function.
...
Change-Id: Ie0c905b6f32a37e4360bbb44ceeae77c42ad1dc5
2014-04-11 14:23:13 -07:00
Dmitry Kovalev
58c40986e0
Removing redundant mvsadcost local variables.
...
Change-Id: I19a197b9525172579f253702c77fa76af88f6565
2014-04-11 14:10:37 -07:00
Dmitry Kovalev
145b24719a
Merge "Removing offset argument of mvcomp macros."
2014-04-11 14:09:17 -07:00
Dmitry Kovalev
6653bf7178
Merge "Adding RD_OPT struct."
2014-04-11 14:08:16 -07:00
Dmitry Kovalev
bec3e3e380
Merge "Removing unused cost arguments from mcomp functions."
2014-04-11 13:50:44 -07:00
Dmitry Kovalev
cfae027056
Merge "Renaming zz_motion_search() to get_block_variance()."
2014-04-11 13:46:54 -07:00
Dmitry Kovalev
36d12b6e93
Merge "Adding temp variable q to vp9_cyclic_refresh_setup()."
2014-04-11 13:45:53 -07:00
Yaowu Xu
1243d265cf
Replace the call to set_offsets()
...
With a more approriate one vp9_setup_src_planes() as only src buffer
pointers need to be initialized here.
Change-Id: I40fac4d8b2d39eb7d0c65b9b6afab45138a13936
2014-04-11 13:03:28 -07:00
Dmitry Kovalev
79dd5e7a5a
Renaming zz_motion_search() to get_block_variance().
...
Change-Id: Ibec06411c8cd843c2ca33b528a511a656e551983
2014-04-11 11:03:56 -07:00
Dmitry Kovalev
1ff4aa33de
Adding RD_OPT struct.
...
Change-Id: I2d1b5c1481aefe226082e1f096ca9edd340d4d31
2014-04-11 10:58:37 -07:00
Dmitry Kovalev
93169f8bf8
vp9_rc_postencode_update() cleanup.
...
Change-Id: Idb1289aa0eadff8f75dcf995547ab3a1b9e27375
2014-04-11 10:36:10 -07:00
Dmitry Kovalev
591e383df5
Adding temp variable q to vp9_cyclic_refresh_setup().
...
Change-Id: If0e9c811c8ae78c0914d615bad0067a5b57e4a71
2014-04-11 10:31:54 -07:00
Dmitry Kovalev
63fa722179
Removing unused cost arguments from mcomp functions.
...
Change-Id: Id81a76d18be6b2de69f81bb563d74c3bb356d434
2014-04-11 10:24:36 -07:00
Dmitry Kovalev
59fd74229e
Merge "Removing unused initial_{width, height} from VP9Decoder."
2014-04-11 10:23:35 -07:00
Dmitry Kovalev
6d291b700e
Merge "Removing unnecessary typedef."
2014-04-11 10:23:23 -07:00
Dmitry Kovalev
1fcce4a1f1
Merge "Replacing int_mv with MV."
2014-04-11 10:23:18 -07:00
Paul Wilkins
1d9755436d
Adjust active minQ calculation for normal frames.
...
This increases the range of Q values available to
normal inter frames to allow encoder a better chance
to hit the target rate.
Change-Id: I33cd96469a46577fdcea631e26d3355710909e6d
2014-04-11 15:02:15 +01:00
Paul Wilkins
d83f6f0632
Change Qlimit for arf kf.
...
The limits applied under the flag
"LIMIT_QRANGE_FOR_ALTREF_AND_KEY"
behaved in an undesirable way if the gap between
active_worst_quality and active_best_quality was
changed.
In this patch, the adjustment is made using the
vp9_compute_qdelta_by_rate() function and fixed
rate multiplier values. Hence it is not impacted by
the relative value of active_best_quality.
Change-Id: I93b3308e04ade1e4eb5af63edf64f91cd3700249
2014-04-11 15:00:06 +01:00
Dmitry Kovalev
73aa5b7656
Replacing int_mv with MV.
...
Change-Id: I1020dec1ac2e9404a8efcc04681a050417b8b065
2014-04-10 23:48:09 -07:00
Dmitry Kovalev
5939ca9c6a
Removing unnecessary typedef.
...
Change-Id: Ie584128e0120c2d849e8809c4128a759b85e210c
2014-04-10 23:31:45 -07:00
Dmitry Kovalev
b5bf64668e
Merge "Cleaning up vp9_dthread.{c, h}."
2014-04-10 21:44:33 -07:00
Dmitry Kovalev
c01e86cc94
Merge "Removing output_framerate field from VP9_COMP."
2014-04-10 20:51:45 -07:00
Dmitry Kovalev
8e4d5e41a8
Merge "Moving last_frame_type update out from vp9_rc_postencode_update."
2014-04-10 20:51:27 -07:00
Dmitry Kovalev
c8406c6559
Merge "Fixing invalid ref buffer in vp9_diamond_search_sad_c()."
2014-04-10 18:18:41 -07:00
Dmitry Kovalev
a4c3e2e4f2
Cleaning up optimize_b().
...
Change-Id: I81eb1e931e00acfcb65f824e394bbe7795d6deaa
2014-04-10 17:45:07 -07:00
hkuang
31c7a9b174
Fix the VP9 encoding unit test failure on ARM.
...
The cause is because VP9 encoding use vp8_vpxyv12_extendframeborders_neon
on arm which only extend boarder size 32. But VP9's border size is 160
Change-Id: I1ff7e945344a658af862beb1197925e677e8ff57
2014-04-10 17:37:48 -07:00
Dmitry Kovalev
5053845a70
Merge "Cleaning up optimize_b()."
2014-04-10 17:15:19 -07:00
Dmitry Kovalev
a286ff8077
Moving last_frame_type update out from vp9_rc_postencode_update.
...
Change-Id: Ib00a694b9cf8e0c276dfefddab8cb36b8693e022
2014-04-10 16:35:10 -07:00
Dmitry Kovalev
01c4b5ddd7
Merge "Removing unnecessary vp9_zero() call."
2014-04-10 16:27:45 -07:00
Dmitry Kovalev
4d2523bfda
Removing output_framerate field from VP9_COMP.
...
Change-Id: Id755813fd5e78039bc9e76a046b33c8cafbc36dc
2014-04-10 16:21:39 -07:00
Dmitry Kovalev
69c6671ead
Cleaning up vp9_dthread.{c, h}.
...
Change-Id: If33087462293605f79d9281af133091fff33a876
2014-04-10 16:17:49 -07:00
Dmitry Kovalev
d3127382fd
Removing offset argument of mvcomp macros.
...
Change-Id: I8bb72b790a0783720833f27b7cf41055bee6becd
2014-04-10 16:07:41 -07:00
Yunqing Wang
c3e08e4aeb
Merge "Define var threshold as unsigned int to match the type"
2014-04-10 15:59:05 -07:00
Marco Paniconi
65d4f6916e
Merge "Remove the unneeded output_framerate from svc."
2014-04-10 15:26:59 -07:00
John Koleszar
a5ce28a15a
Merge "Fix onyx_if.c to not to redefine M_LOG2_E if it's already defined."
2014-04-10 15:24:25 -07:00
Dmitry Kovalev
c8167f5ba7
Fixing invalid ref buffer in vp9_diamond_search_sad_c().
...
Problem has been introduced recently with the cleanup patch
I0816ec12ec0a6f21d0f25f10c214b5fd327afc6c
Change-Id: Iaacb956a6039eb5826b82618dc03be32053fb892
2014-04-10 15:16:48 -07:00
Marco Paniconi
a39b201344
Remove the unneeded output_framerate from svc.
...
And change a parameter setting in vpx_temporal_scalable_patterns.
Change-Id: I7c208296ebcecbc8f73de032f6cdb26a1fc1442b
2014-04-10 13:49:25 -07:00
Dmitry Kovalev
72fbccb52a
Cleaning up vp9_rc_compute_frame_size_bounds().
...
Change-Id: Ibc040bee99908e4dc5793d7a9f6e8bf2d15610e7
2014-04-10 11:44:35 -07:00
Dmitry Kovalev
11eb6075ca
Removing unnecessary vp9_zero() call.
...
Change-Id: I9886f52a0fb19b4250c4c9444c3348897c84c9e2
2014-04-10 11:35:36 -07:00
Dmitry Kovalev
9cf7a0f0da
Cleaning up optimize_b().
...
Change-Id: I5c62fabd380492740c1c2c0d71861e64ee1b05e8
2014-04-10 11:19:38 -07:00
Dmitry Kovalev
35c18baa26
Merge "Regrouping code in rd_pick_sb_modes()."
2014-04-10 11:14:59 -07:00
Dmitry Kovalev
91ff90760a
Merge "Cleaning up get_sby_perpixel_{, diff_}variance()."
2014-04-10 11:14:24 -07:00
Alex Converse
67affd9ec9
Merge "Remove vestiges of large tx sizes in sub8x8 code."
2014-04-10 11:13:50 -07:00
Alex Converse
6a9b44c281
Merge "Cleanup table declarations in vp9_rdopt."
2014-04-10 11:13:44 -07:00
Yunqing Wang
eb505a3f3f
Define var threshold as unsigned int to match the type
...
Minor change to use matching type in comparison.
Change-Id: I670cae2d584918c67c1af791a797629f392f599e
2014-04-10 09:48:33 -07:00
Yunqing Wang
23ccf71924
Merge "Fix encoder uninitialized read errors reported by drmemory"
2014-04-10 09:45:08 -07:00
Jingning Han
4b8ad4a847
Merge "Fix coding format in vp9_rc_regulate_q"
2014-04-10 09:30:03 -07:00
Yaowu Xu
675d95f9d9
Merge "Prevent the usage of invalid best_mode_index"
2014-04-10 09:04:10 -07:00
Yaowu Xu
9034094b80
Merge "Remove duplicate code"
2014-04-10 09:04:04 -07:00
Sergey Ulanov
409f8da265
Fix onyx_if.c to not to redefine M_LOG2_E if it's already defined.
...
This fixes warning when compiling libvpx for PNaCl. PNaCl's version
of math.h defines M_LOG2_E.
Change-Id: Iba9450441538e9f82447ad2936bea94d21bafdf1
2014-04-10 08:54:30 -07:00
Yunqing Wang
81056e2d5e
Merge "Minor code cleanup"
2014-04-10 08:25:10 -07:00
Dmitry Kovalev
95f14d7f27
Adding setup_frame() function.
...
Change-Id: I074db38a71ca0d241323fa63f400680fb1e90a21
2014-04-09 21:22:19 -07:00
Dmitry Kovalev
c3de569bb9
Cleaning up vp9_twopass_worst_quality().
...
Change-Id: Ie144e9ece57f2d59c230704a2f166bda1042adeb
2014-04-09 21:06:11 -07:00
Dmitry Kovalev
1d5ed021fb
Moving frame_frags field from VP9Common to VP9_COMP.
...
Change-Id: I0f4a5c50561a2653d22c366c214a937272ecfa2c
2014-04-09 20:56:06 -07:00
Dmitry Kovalev
65e650e0c0
Merge "Revert "Converting set_prev_mi() to get_prev_mi().""
2014-04-09 20:44:30 -07:00
Dmitry Kovalev
3dff8aa36b
Merge "Moving q_trans[] table to vp9_quantize.{c, h}."
2014-04-09 20:18:24 -07:00
Dmitry Kovalev
f10c173b40
Merge "Removing unused code from vp9_onyx_if.c."
2014-04-09 20:18:07 -07:00
Alex Converse
dad9e4abaa
Remove vestiges of large tx sizes in sub8x8 code.
...
Change-Id: I27015ed57b4c4390cfde3d0eecd82c3e76fd3786
2014-04-09 18:43:29 -07:00
Yaowu Xu
1dcc1aa942
Prevent the usage of invalid best_mode_index
...
This commit changed the initialization of best_mode_index to -1 to make
sure it is not mistakenly used for mode masking.
Change-Id: I75b05db51466070dd23c4ee57a4d4b40764dc019
2014-04-09 17:56:06 -07:00
Dmitry Kovalev
41ea9ef955
Merge "Removing redundant assignments."
2014-04-09 16:56:25 -07:00
Alex Converse
71ffc7d7ff
Merge "Remove unused tile arguments from vp_rdopt."
2014-04-09 16:45:46 -07:00
Alex Converse
1eee13c0ab
Merge "Cleanup vp9_rd_pick_inter_mode_sub8x8()."
2014-04-09 16:45:41 -07:00
Dmitry Kovalev
46a20d67cb
Removing unused initial_{width, height} from VP9Decoder.
...
Change-Id: I039474b34863bc3db9c6cda82485c32826a1b5d1
2014-04-09 16:18:29 -07:00
Jingning Han
2255085584
Fix coding format in vp9_rc_regulate_q
...
Change-Id: I08aa0c213df34c084eb7a3c51b6b3306e49c7757
2014-04-09 15:41:39 -07:00
Dmitry Kovalev
60def47f21
Revert "Converting set_prev_mi() to get_prev_mi()."
...
This reverts commit 22a3e30790
Change-Id: I460d905edf5fb2006da58c18fbe02c04d0c631bb
2014-04-09 15:23:16 -07:00
Yaowu Xu
2dc92482d0
Merge "Fix the setting of mode_skip_mask"
2014-04-09 14:29:23 -07:00
Alex Converse
666ecf21df
Cleanup table declarations in vp9_rdopt.
...
Change-Id: Ia4bef41a6b0252593ad84612a2a143c724fd03ea
2014-04-09 14:22:39 -07:00
Dmitry Kovalev
b60d23f308
Removing unused code from vp9_onyx_if.c.
...
Change-Id: I0462bf1ca1b4e5a1c06259979b4daff949b8a2c6
2014-04-09 13:42:26 -07:00
Dmitry Kovalev
d1a396d8b9
Moving q_trans[] table to vp9_quantize.{c, h}.
...
Change-Id: I1324c339815a47004ddccdaf651d24c60382b92f
2014-04-09 13:35:39 -07:00
Tom Finegan
4fffefe189
Merge "Fix avx builds on macosx with clang 5.0."
2014-04-09 13:03:26 -07:00
Dmitry Kovalev
876059f7c2
Regrouping code in rd_pick_sb_modes().
...
Change-Id: I51c71dd4aee6592fb90feebcf864bccc87dacec6
2014-04-09 13:00:02 -07:00
Yaowu Xu
585e01bfe2
Remove duplicate code
...
Change-Id: Ie26b6ca8de733a527f820b16148e7a2231073f0f
2014-04-09 12:58:10 -07:00
Dmitry Kovalev
7cc78c06e0
Merge "Adding vp9_inc_frame_in_layer() function."
2014-04-09 12:50:25 -07:00
Yunqing Wang
7c891ed2e0
Minor code cleanup
...
Cleanup.
Change-Id: I54d989e24b35323cda7290654e425565d5c9ea2d
2014-04-09 12:08:07 -07:00
Alex Converse
3ab4d57196
Remove unused tile arguments from vp_rdopt.
...
Change-Id: I721ff26e3d5dbef80b8cd2dd562adae3748f6687
2014-04-09 11:48:30 -07:00
Alex Converse
dcb5157608
Cleanup vp9_rd_pick_inter_mode_sub8x8().
...
Change-Id: I9be2e4e9aeda0fae6dc946deae2999be51daebe0
2014-04-09 11:48:24 -07:00
Alex Converse
6e943cabdc
Merge "Fixing broken build."
2014-04-09 11:47:23 -07:00
Yaowu Xu
4f95a7fe3e
Fix the setting of mode_skip_mask
...
In mode selection loop, once mode_index pass mode_skip_start, all
modes with a different reference frame from current best mode are
masked out using mode_skip_mask.
However, the setting of mode_skip_mask may use an invalid mode if
there is no mode tested yet. This commit fixes the issue by making
sure a mode has been tested and selected. Otherwise, no mode will be
masked out because of their reference frame.
Change-Id: Ib0009e8a96836a65cf5347440fff8a2e1a67f29f
2014-04-09 11:42:28 -07:00
James Zern
db8af0b0b3
Merge "Fix TODO typo"
2014-04-09 11:29:44 -07:00
Dmitry Kovalev
0ba14e600c
Fixing broken build.
...
Change-Id: I9b8f9a3f4fa9d48695149dd68ecb5e8d84accafe
2014-04-09 10:46:54 -07:00
Dmitry Kovalev
5ed83c3220
Merge "Converting set_prev_mi() to get_prev_mi()."
2014-04-09 10:27:05 -07:00
Yunqing Wang
2e7d327789
Merge "Use source frame difference to make partition decision"
2014-04-09 10:26:42 -07:00
Dmitry Kovalev
51b3035fc3
Adding vp9_inc_frame_in_layer() function.
...
Change-Id: Idf612c772440158cd1645623241c51ab0d57405c
2014-04-09 10:26:32 -07:00
Dmitry Kovalev
a30ff3458d
Merge "Applying q_trans[] inside set_encoder_config()."
2014-04-09 10:25:59 -07:00
Yunqing Wang
3a6670fcf8
Fix encoder uninitialized read errors reported by drmemory
...
This patch fixed the uninitialized read errors in Issue 748:
"dr memory VP9 encode errors". In vp9_convolve_avg_sse2,
when width is 4, pavgb reads 8 bytes from dst buffer that is
out of range. An error is reported although the data is not
actually used later. This issue was resolved by preventing
uninitialized reads.
Change-Id: I109a54910aa47139cb13119de86f2062cff207df
2014-04-09 09:59:15 -07:00
Jingning Han
ae6485663a
Merge "Select prediction filter type in non-RD mode decision"
2014-04-09 09:07:45 -07:00
Frank Galligan
bbf8971a28
Fix TODO typo
...
Change-Id: I7a5230852cb24ce22bfe85ea2608cdb4619b5200
2014-04-09 08:48:44 -07:00
Deb Mukherjee
0cca5dd8d7
Merge "High-level hooks for Profile 2 (10/12 bit)"
2014-04-08 22:19:38 -07:00
Dmitry Kovalev
5db5154029
Applying q_trans[] inside set_encoder_config().
...
Change-Id: Ib64edeb58b3e25488fb85bbe85c9decb15b4d0a1
2014-04-08 19:43:08 -07:00
Dmitry Kovalev
191dfa8dc7
Cleaning up get_sby_perpixel_{, diff_}variance().
...
Change-Id: Icbfeb04647d654253866d290abd4775a877b4f61
2014-04-08 19:00:12 -07:00
Tom Finegan
f600b50a6e
Fix avx builds on macosx with clang 5.0.
...
The macosx release of clang v5.0 identifies itself as:
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
This version of clang uses the older _mm_broadcastsi128_si256, like
v3.3, as given away in the LLVM svn version above.
Change-Id: I4d6d59d5454efd57d2ae9e75f5eb7486af7cbd0c
2014-04-08 18:56:03 -07:00
Dmitry Kovalev
4b1c4420e7
Removing redundant assignments.
...
Change-Id: I3ced24f2c3b9cc483278c0f0d60512e7d2efa4f4
2014-04-08 18:52:25 -07:00
Dmitry Kovalev
c27bdb9bc1
Merge "Cleaning up encode_frame_internal()."
2014-04-08 18:23:15 -07:00
Dmitry Kovalev
755433927c
Merge "Cleaning up vp9_firstpass.c"
2014-04-08 18:22:34 -07:00
Dmitry Kovalev
c800e3c816
Merge "Adding vp9_ssim.h file."
2014-04-08 18:19:21 -07:00
Frank Galligan
9893fb9859
Merge "Fix decoder resolution change with tiles"
2014-04-08 17:13:33 -07:00
Yunqing Wang
4e66293fcb
Use source frame difference to make partition decision
...
Calculate the difference variance between last source frame and
current source frame. The variance is calculated at 16x16 block
level. The variances are compared to several thresholds to decide
final partition sizes.
An adaptive strategy is implemented to decide using
SOURCE_VAR_BASED_PARTITION or FIXED_PARTITION based on motions
in the video. The switching test is done once every
search_type_check_frequency frames.
The selection of source_var_thresh needs to be investigated
further later.
RTC set Borg test showed 0.424% overall psnr gain, and 0.357%
ssim gain. For clips with large enough static area, the
encoding speedup is around 2% to 15%.
Change-Id: Id7d268f1d8cbca7fb8026aa4a53b3c77459dc156
2014-04-08 17:03:02 -07:00
Jingning Han
06ec873f2c
Select prediction filter type in non-RD mode decision
...
This commit allows the non-RD mode decision flow to select
prediction filter type in NEWMV mode. It provides 8.14% compression
performance gains in both settings of AQ=0 and 3. The current speed
impact is about 5% to 10% slower.
Change-Id: Id66ecebf77abd8f90fb3f6a066c0e8dfb4bf1c42
2014-04-08 16:47:42 -07:00
Deb Mukherjee
d35df2d8ea
High-level hooks for Profile 2 (10/12 bit)
...
Adds some high-level hooks for profile 2 before further
progress on the implementation.
According to the definitiion in this patch:
1. Profile 2 only supports 10 or 12 bit color but not 8
2. Profile 2 supports all color sampling modes: 444, 422 and 420,
and alpha plane.
3. Profile 3 is currently undefined.
Please consider the definition carefully and suggest modifications
to the definition as needed.
Change-Id: I5b284fc679e54ac5aee171af72fa7994cfd28995
2014-04-08 16:18:34 -07:00
Dmitry Kovalev
129cb23c14
Adding vp9_ssim.h file.
...
Change-Id: Ib3b3864a6018c62ac1ea18e30795af74464596cd
2014-04-08 16:08:39 -07:00
Dmitry Kovalev
231ef057c4
Cleaning up vp9_firstpass.c
...
Change-Id: Ie5723690f7c0bfa29a7ccef5da0c6c6326600ee6
2014-04-08 15:21:30 -07:00
Frank Galligan
6ae58931d6
Fix decoder resolution change with tiles
...
There was a bug with the decoder that if you started the decoder
with more threads than the first frame had tile columns. Afterwards
tried to decode a frame with more tile columns than the first frame,
the decoder would hang. E.g. run vpxdec --threads=4. The first frame
had two tile columns, then the next key frame had 4 tile columns, the
decoder would hang. If you started with 4 tiles and switched to 2
tiles the decoder would be fine. The issue is that the worker the thread
loop is using is stale.
I added a test vector "vp90-2-14-resize-848x480-1280x720.webm" that
exhibited the bug.
Change-Id: I7bdd47241a52ac0fe1c693a609bc779257e94229
2014-04-08 15:16:11 -07:00
Dmitry Kovalev
e8e380f994
Merge "Cleaning up vp9_ratectrl.c file."
2014-04-08 15:06:29 -07:00
Dmitry Kovalev
7e7c95a291
Merge "Cleaning up vp9_diamond_search_sad_c() function."
2014-04-08 13:47:41 -07:00
Dmitry Kovalev
e9fb970af1
Merge "Moving init_rate_control() to vp9_ratectrl.{c, h}."
2014-04-08 12:45:49 -07:00
Dmitry Kovalev
92380695f6
Cleaning up vp9_ratectrl.c file.
...
Change-Id: If8044d9c71afe02ed1e6c94487344e143bdfcd74
2014-04-08 11:59:41 -07:00
Dmitry Kovalev
56c2f41ccb
Renaming VP9D_COMP & VP9Decompressor to VP9Decoder.
...
Change-Id: Ieb9b455b8aaef9884391021b7f640ef24c554687
2014-04-08 11:41:12 -07:00
Yaowu Xu
e2ab65ab7d
Merge "vp9_ratectrl: change ARF overlays rate correction factor"
2014-04-08 07:17:38 -07:00
Yaowu Xu
8f68468917
Merge "Replace imprecise 32 bits calculations by 64 bits calculations"
2014-04-08 07:14:21 -07:00
Yaowu Xu
2914bcfd9b
Merge "vp9_firstpass: Get rid of magic number in bits per MB calculation"
2014-04-08 07:13:49 -07:00
Dmitry Kovalev
6769143cef
Merge "Moving compute_qdelta functions into vp9_ratectrl.{h, c}."
2014-04-07 22:39:38 -07:00
Marco Paniconi
b03e7757d1
Merge "Add constrained-copy partition to speed features."
2014-04-07 18:31:56 -07:00
Dmitry Kovalev
91dbac178f
Moving compute_qdelta functions into vp9_ratectrl.{h, c}.
...
Change-Id: I512f2a287dd8765879a2d1144e2f028dc65f71ff
2014-04-07 16:57:53 -07:00
Dmitry Kovalev
9243edc737
Cleaning up vp9_diamond_search_sad_c() function.
...
Change-Id: I0816ec12ec0a6f21d0f25f10c214b5fd327afc6c
2014-04-07 16:28:35 -07:00
Dmitry Kovalev
8eec5cad50
Merge "Fixing memory leak introduced in previous commit."
2014-04-07 16:13:04 -07:00
Dmitry Kovalev
22a3e30790
Converting set_prev_mi() to get_prev_mi().
...
Change-Id: Iad4002d7aecaae0e25d88e286bacde7e6cd7264f
2014-04-07 16:01:34 -07:00
Dmitry Kovalev
8204140891
Cleaning up encode_frame_internal().
...
Change-Id: I9c5f7edc2d5d1ec5aee396b87bdfc99ee21c435a
2014-04-07 15:51:48 -07:00
Marco Paniconi
181949948e
Add constrained-copy partition to speed features.
...
Copy up to a certain bsize, otherwise set to a fixed bsize.
This helsp to reduce artifact near moving boundary caused by full partition
copy without checking motion of super-block.
This artifact can occur at speeds 3,4 in real-time mode.
Issue: https://code.google.com/p/webm/issues/detail?id=738 .
Change-Id: I05812521fd38816a467f72eb6a951cae4c227931
2014-04-07 14:58:28 -07:00
Dmitry Kovalev
e8c1c95cde
Merge "Rewriting calc_plane_error() function."
2014-04-07 14:41:42 -07:00
Dmitry Kovalev
bbffaf627b
Merge "General vp9_encodeframe.c cleanup."
2014-04-07 14:35:54 -07:00
Dmitry Kovalev
e7e426b274
Moving init_rate_control() to vp9_ratectrl.{c, h}.
...
Change-Id: Iab3effc39064f265426c82b455ef38d37dcce5a8
2014-04-07 14:34:46 -07:00
Dmitry Kovalev
579504b2ef
Fixing memory leak introduced in previous commit.
...
Commit introduced the leak: "Removing XMA legacy from VP9 code."
I5e9dfc50b6312848df8c3b8276f6b4d0c7ff9cf9
Change-Id: Ia1f91bb8403bef340de9f089fa78b3fccc3e9917
2014-04-07 14:21:43 -07:00
Dmitry Kovalev
3f48418472
Merge "Cleaning up vp9_speed_features.c."
2014-04-07 14:18:02 -07:00
Dmitry Kovalev
0cb65fe5cc
Merge "Removing unused seg0_* vars."
2014-04-07 13:16:06 -07:00
Dmitry Kovalev
acf39c8568
Merge "Moving {restore, save}_coding_context to vp9_onyx_if.c"
2014-04-07 13:15:58 -07:00
Dmitry Kovalev
1e96d3a50e
Merge "Cleaning up vp9_{cx, dx}_iface.c files."
2014-04-07 13:06:01 -07:00
Dmitry Kovalev
233b581cef
Cleaning up vp9_speed_features.c.
...
Change-Id: I7b2b690d2d51d55daa642be4131e5febd78cbe0a
2014-04-07 12:54:11 -07:00
Dmitry Kovalev
7169a0b114
Adding temp svc variable.
...
Change-Id: Ic68caec1bcb8a88f443c3e40ce9770eade5bd320
2014-04-07 11:31:26 -07:00
Dmitry Kovalev
b5e12dda52
Cleaning up vp9_{cx, dx}_iface.c files.
...
Change-Id: Ib4e31ba74c4b882bd93942ef743f4a189892738d
2014-04-07 10:38:51 -07:00
Dmitry Kovalev
22580c462b
Moving {restore, save}_coding_context to vp9_onyx_if.c
...
These functions do nothing about rate control.
Change-Id: I714e80b1c1f4f9aa157a56df705247fce6db138d
2014-04-07 10:32:15 -07:00
Guillaume Martres
4664b219a2
vp9_ratectrl: change ARF overlays rate correction factor
...
ARF overlays now use the same rate correction factor as regular inter
frames, further testing would be needed to see if it makes sense to use
a completely separate rate correction factor for ARF overlays.
$ vpxenc --cpu-used=5 --fps=50/1 --target-bitrate=2000
parkjoy.y4m -o out.webm
=> Before: 3356 kb/s
=> After: 2271 kb/s
Change-Id: I73e4defa615ba7a8a2bdb845864f4b1721cbbffe
2014-04-07 18:22:11 +02:00
Guillaume Martres
0ec5919d42
Replace imprecise 32 bits calculations by 64 bits calculations
...
Change-Id: If1b0a2d6603ce24f5dd99855e8dfe459e7a2835a
2014-04-07 18:22:08 +02:00
Guillaume Martres
ded9e19144
vp9_firstpass: Get rid of magic number in bits per MB calculation
...
Change-Id: Ib3886cb7cafc211581f4f9e7f76782d9d1984434
2014-04-07 18:21:40 +02:00
Dmitry Kovalev
f9c7e2c304
Merge "Cleaning up vp9_refining_search_sadx4() function."
2014-04-07 01:49:21 -07:00
Dmitry Kovalev
c6708cd524
Merge "Moving all RATE_CONTROL initialization to init_rate_control()."
2014-04-07 01:46:28 -07:00
Jingning Han
d8f68c2454
Merge "Set up early RD cost check for NEWMV in non-RD mode decision flow"
2014-04-06 11:13:32 -07:00
Jingning Han
516d0b1180
Set up early RD cost check for NEWMV in non-RD mode decision flow
...
This commit estimates the motion vector rate cost right after full
pixel motion search. It combines this and the mode cost and compares
the corresponding rate-distortion cost. If it is already above the
current best one, skip the rest sub-pixel motion search and modeling
process. For pedestrian_area 1080p at 4000 kpbs, the speed -5 runtime
goes down from 39425 ms -> 38399 ms.
Change-Id: If4cd7119fd6c266798d5cf1d19d19ab425e52a26
2014-04-04 16:08:51 -07:00
Dmitry Kovalev
bda5352bae
Merge "Refactoring decode_one() function."
2014-04-04 15:47:34 -07:00
Dmitry Kovalev
a368036731
Moving all RATE_CONTROL initialization to init_rate_control().
...
Change-Id: I4685706b816dd1c45500e1387c9f63edb2fa1962
2014-04-04 15:46:55 -07:00
hkuang
0678104164
Merge "Code clean up."
2014-04-04 15:32:14 -07:00
Dmitry Kovalev
c48f2bd807
General vp9_encodeframe.c cleanup.
...
Change-Id: Ie364fe837002de96923da2c1c0ff8bb4b8d469a7
2014-04-04 10:44:58 -07:00
Dmitry Kovalev
439c66b291
Refactoring decode_one() function.
...
Change-Id: Ic3ee3b1fb04691e8c7d16020b56e034ab8888525
2014-04-04 10:43:52 -07:00
Dmitry Kovalev
107929dc6b
Adding FAST_COEFF_UPDATE enum.
...
Change-Id: I75ad328c6d719df81cc24f3ae21c152af4ebdacc
2014-04-04 10:31:34 -07:00
Paul Wilkins
1259cd7bce
Merge "Reinstating the DISABLE_RC_LONG_TERM_MEM macro"
2014-04-04 06:30:40 -07:00
Dmitry Kovalev
0e8f35de85
Merge "Removing interp_kernel from MACROBLOCKD."
2014-04-03 16:58:21 -07:00
Marco Paniconi
2a2e8a9d72
Merge "Add codec control function for enabling frame_periodic_boost."
2014-04-03 16:57:44 -07:00
Yaowu Xu
6ca6073b6d
Merge "Fix complexity Aq mode."
2014-04-03 16:51:49 -07:00
hkuang
272e030f70
Code clean up.
...
No need to check pbi->common.frame_to_show again.
Change-Id: I572ea4afd0d8b6000c0bb7575b7023d75cad5a4e
2014-04-03 16:20:26 -07:00
Dmitry Kovalev
30a15633f8
Merge "Replacing magic constants with expressions."
2014-04-03 15:54:49 -07:00
Marco Paniconi
0eb88c9064
Add codec control function for enabling frame_periodic_boost.
...
Change-Id: I6371ef7301c6bc3138552bd349e9bd154dee3e08
2014-04-03 15:49:03 -07:00
Jingning Han
690678fc42
Merge "Adjust key frame quantization index for rtc coding"
2014-04-03 15:35:48 -07:00
Dmitry Kovalev
a9f324fa7f
Removing interp_kernel from MACROBLOCKD.
...
Now interp_kernel is obtained when it is really required (based on
mbmi->interp_filter value).
Change-Id: I4c7a93c179d1045eba16e7526c293d02c9b8b47e
2014-04-03 15:28:42 -07:00
Alex Converse
825908218a
Remove full scale duplicates of bsize.
...
Change-Id: I28e45870a0e3b0de3b9e40fb044789ae1209c0f7
2014-04-03 11:51:21 -07:00
Dmitry Kovalev
1e00f6c3c4
Merge "Removing XMA legacy from VP9 code."
2014-04-03 11:13:31 -07:00
Deb Mukherjee
be8d2b054e
Reinstating the DISABLE_RC_LONG_TERM_MEM macro
...
Reinstates this macro and truns it on in order to avoid issues
due to some frames at the end starving in harder videos.
A more acceptable solution is in the works.
Change-Id: I3c46148e86fa6114e3fed245246fb3686a9e6700
2014-04-03 10:22:58 -07:00
Dmitry Kovalev
edd457a4d1
Merge "Making frame_branch_ct a local array."
2014-04-03 09:59:10 -07:00
Paul Wilkins
009ee2b737
Fix complexity Aq mode.
...
This was broken by change
Icc4b66f3935fad5ec4516a4d57e843d12c365e64
Change-Id: I49e3fc525664eb7a433f55f76b8f8628fe251eab
2014-04-03 14:34:43 +01:00
Dmitry Kovalev
94e082993c
Merge "Fixing typo in cal_nmvjointsadcost()."
2014-04-03 01:41:46 -07:00
Jingning Han
2536a89a4f
Adjust key frame quantization index for rtc coding
...
This commit slightly increases the bit allocation for key frame. This
improves speed -5 coding performance by 2.77% with aq-mode=0 and by
2.78% with aq-mode=3.
Change-Id: Iaa3e777f80b9706306606af06e89852bac146659
2014-04-02 22:52:22 -07:00
Dmitry Kovalev
db85ea2184
Making frame_branch_ct a local array.
...
Change-Id: Id79ed3b87fd6055e96738af53eb964addd0b918b
2014-04-02 19:07:51 -07:00
Dmitry Kovalev
484679e401
Removing XMA legacy from VP9 code.
...
Change-Id: I5e9dfc50b6312848df8c3b8276f6b4d0c7ff9cf9
2014-04-02 19:05:59 -07:00
Dmitry Kovalev
1ea18dc258
Cleaning up vp9_refining_search_sadx4() function.
...
Change-Id: I47a7148bf746f61d0c4947f9b22624a8c071359f
2014-04-02 18:59:21 -07:00
Dmitry Kovalev
5c185a0587
Merge "Cleaning up vp9_pattern_search() function."
2014-04-02 18:28:47 -07:00
Marco Paniconi
24c0635655
Merge "Set min_block_size for aq_mode=3 to 8x8."
2014-04-02 14:11:49 -07:00
Marco Paniconi
36f61aa836
Set min_block_size for aq_mode=3 to 8x8.
...
For real-time mode under cbr, this increases the gain (5-10%)
for speed 5 (none/little change for 6), on vc-clips.
Change-Id: I9b38beeb3c820de22c43a0ba53a9456168dd24ba
2014-04-02 14:09:38 -07:00
Deb Mukherjee
d6f7bfc34e
Merge "Rate ctrl changes to track target bitrates closer"
2014-04-02 13:29:34 -07:00
Dmitry Kovalev
bb518e64d0
Merge "Cleaning up vp9_get_mvpred_{av_,}var() functions."
2014-04-02 13:05:21 -07:00
Jingning Han
c42e8f1429
Merge "Make frame level quantization change a parameter"
2014-04-02 12:48:05 -07:00
Jingning Han
409f48ec52
Merge "Adjust rate allocation in non-RD coding mode"
2014-04-02 12:47:50 -07:00
Paul Wilkins
32eb8c7955
Merge "Add speed feature for recode tolerance."
2014-04-02 12:22:33 -07:00
Dmitry Kovalev
6a2fb54484
Removing unused seg0_* vars.
...
Change-Id: I87b0668e23c54429a06bba85437606c4780be9ba
2014-04-02 12:00:11 -07:00
Deb Mukherjee
97f4fb7b5f
Rate ctrl changes to track target bitrates closer
...
Turns off the DISABLE_RC_LONG_TERM_MEM macro and makes other changes
in the way the bits are updated, to make 2-pass rate control track
target bitrates closer.
Change-Id: I5f3be4b11c2908e6a9a9a1dd4fcf4e65531c44d8
2014-04-02 11:16:20 -07:00
Dmitry Kovalev
8b8606a737
Merge "Cleaning up vp9_mvref_common.c."
2014-04-02 11:03:36 -07:00
Dmitry Kovalev
1942f9e158
Merge "Cleaning up vp9_cx_iface.c file."
2014-04-02 11:01:16 -07:00
Dmitry Kovalev
68027a0b8a
Merge "Grouping members in MB_MODE_INFO struct."
2014-04-02 11:00:58 -07:00
Dmitry Kovalev
09e4be88f9
Merge "Adding return value to set_offsets() function."
2014-04-02 11:00:32 -07:00
Dmitry Kovalev
3ae5804f7f
Merge "Clearing all encoder counts with single vp9_zero() call."
2014-04-02 10:59:13 -07:00
Dmitry Kovalev
67304d10ad
Merge "Adding local pointer variables referencing REATE_CONTROL struct."
2014-04-02 10:58:49 -07:00
Marco Paniconi
eb0ab20700
Merge "Remove the q division by 3 for first frame."
2014-04-02 10:21:52 -07:00
Jingning Han
d8b8d87eb7
Make frame level quantization change a parameter
...
Parameterize the frame level quantization index used in non-RD
coding flow with cbr.
Change-Id: I79cfbd9c32c0d0fc33ad720d2180432e910baf7a
2014-04-02 09:51:22 -07:00
Jingning Han
751d002f2f
Adjust rate allocation in non-RD coding mode
...
This commit reduces the frequency of frames using finer quantizer
in non-RD coding flow, and slightly tune up the quantizer resolution
when used. It provides 1.7% compression gains in speed -5 at no speed
difference.
Change-Id: I430249a51260a841a0402666e5ec1566e4f7d5a6
2014-04-02 09:51:22 -07:00
Paul Wilkins
769cd78ff2
Add speed feature for recode tolerance.
...
The new tolerance is a little higher than before (especially
for kf/gf/arf) so this change gives an encode speed up
for some clips up for speeds 0-2.
Change-Id: I63f7d6c9cc11c7f58742f41e250dcd3eab1741eb
2014-04-02 12:18:05 +01:00
Paul Wilkins
88690475ea
Merge "Speed setting correction to max q estimate."
2014-04-02 04:08:18 -07:00
Dmitry Kovalev
21b8fc4ce4
Adding local pointer variables referencing REATE_CONTROL struct.
...
Change-Id: I1d8c312a599db505a023e5cd0cc4ba2b8f696a2e
2014-04-01 20:11:41 -07:00
Dmitry Kovalev
4f8a440083
Clearing all encoder counts with single vp9_zero() call.
...
Change-Id: I4341d16ef83acd1cc9e55f7c5eff4af921bf57d4
2014-04-01 20:09:35 -07:00
Dmitry Kovalev
5f8dd6c9ec
Adding return value to set_offsets() function.
...
Change-Id: I88e018442c527cf21eac791f0768e805dda244f1
2014-04-01 20:06:47 -07:00
Marco Paniconi
939f0e7444
Remove the q division by 3 for first frame.
...
This code/setting was actually not used (since speed features were not set on first frame,
until a recent change) and should be removed.
In CBR mode, the q value for the first frame can be controlled by setting
the target size via the parameters rc_buf_initial_sz (and max_intra_size_pct).
Change-Id: I65afc64972b36c449bd5a8c25800e65da5389066
2014-04-01 18:42:05 -07:00
Dmitry Kovalev
86f44a91f4
Renaming two members in MACROBLOCKD struct.
...
Renames:
mi_8x8 -> mi
mode_info_stride -> mi_stride
Change-Id: I66f3e5fd1e7b7f46f108af5bb711c5fd9493c1be
2014-04-01 17:46:40 -07:00
Dmitry Kovalev
5f3773d0f7
Replacing magic constants with expressions.
...
Change-Id: I434682bbd4cb2089cd213d77ed5a5e06256dc45d
2014-04-01 17:42:14 -07:00
Dmitry Kovalev
7c7fc719c9
Merge "Moving encoder quantization parameters into separate struct."
2014-04-01 17:15:11 -07:00
Dmitry Kovalev
79b168f388
Cleaning up vp9_cx_iface.c file.
...
Change-Id: I4de07d3ef81ebba759a983207d9ca768a65220a6
2014-04-01 17:14:55 -07:00
Dmitry Kovalev
06159fcd18
Merge "Common configuration for MACROBLOCKD struct."
2014-04-01 15:54:34 -07:00
Yunqing Wang
2b99fcbc58
Merge "Make last frame source available in current frame encoding"
2014-04-01 15:54:13 -07:00
Yunqing Wang
4a9928e5eb
Make last frame source available in current frame encoding
...
While encoding a frame, its last frame source can be used to give
acurate motion information. This patch prevents last frame to be
overwritten so that it is available during current frame encoding.
The last source is scaled when it is necessary. cpi->Last_Source
points to the last source frame.
Change-Id: I0e1ef5e9e1d2badf9d0c7a1a44a7ed5b24c09425
2014-04-01 15:01:38 -07:00
Alex Converse
d0a2988dbd
Merge "Propagate active map state."
2014-04-01 13:49:26 -07:00
Dmitry Kovalev
d42976c515
Common configuration for MACROBLOCKD struct.
...
Change-Id: Ie2ea9dd8bd338cc9fe12ca9033df64f7644c68b3
2014-04-01 10:57:59 -07:00
Paul Wilkins
992c41d2fd
Speed setting correction to max q estimate.
...
Use a crude correction factor to correct for
lower compression efficiency at higher encode
speeds when estimating the max Q for the
clip.
Change-Id: I5ae377647f4adf5e91d700a8791fb3b8f70efc73
2014-04-01 17:03:04 +01:00
Alex Converse
12dd53d06a
Propagate active map state.
...
This fixes active map for non-rd realtime speeds.
Change-Id: I1bf416de3f7ef2e5dd2eabde052cce3c0683a52c
2014-03-31 16:55:39 -07:00
Jingning Han
99893f2410
Apply finer quantizer to partition search frames in non-RD flow
...
This commit optimizes the bit allocation for the non-RD coding flow.
It applies slightly better quantizer to the frames, where all blocks
run a non-RD partition search. Such frames typically have better
rate-distortion trade off, thus improving the reconstruction quality
for next few frames reference at reasonably low increment in rate
cost.
The coding performance for rtc set at speed -5 with error-resilient
tuned on and rate control set as cbr is improved by 19.58%. It improved
the coding speed by about 10% for a portion of local test clips.
Change-Id: I9d56696cd4359dc8136ca10aff10fff05aaa2686
2014-03-31 09:33:11 -07:00
Yaowu Xu
6618b73b5e
Merge "[BITSTREAM]Fix the scaling calculation"
2014-03-31 07:08:40 -07:00
Yaowu Xu
8a099deb60
Merge "Adjust rt speed steps."
2014-03-31 07:08:31 -07:00
Dmitry Kovalev
20d868f05d
Grouping members in MB_MODE_INFO struct.
...
Change-Id: Ia6d7e7a08810e0c3401da4d10266828d560e6851
2014-03-28 17:44:13 -07:00
James Zern
1bc32afd3c
Merge "[svc] Fix SvcTest.SecondPassEncode failure"
2014-03-28 17:09:31 -07:00
Dmitry Kovalev
7bcfa31750
Moving encoder quantization parameters into separate struct.
...
Change-Id: I2a169535489aeda3943fb5a46ab53e7a12abaa36
2014-03-28 16:46:41 -07:00