John Koleszar
27331e1377
Merge remote branch 'internal/upstream' into HEAD
2011-05-20 00:05:16 -04:00
John Koleszar
048497720c
Remove unused members of VP8_COMP
...
Various members that were either completely unreferenced or written
and not read.
Change-Id: Ie41ebac0ff0364a76f287586e4fe09a68907806e
2011-05-19 15:49:09 -04:00
John Koleszar
a84177b432
Make activity masking functions static
...
These don't need extern linkage.
Change-Id: I21220ada926380a75ff654f24df84376ccc49323
2011-05-19 11:14:13 -04:00
John Koleszar
87254e0b7b
Move quantizer init functions to quantize.c
...
Group related functions together.
Change-Id: I92fd779225b75a7204650f1decb713142c655d71
2011-05-19 11:07:41 -04:00
John Koleszar
a741e0e3cb
Merge remote branch 'origin/master' into experimental
...
Change-Id: I2f9fd68d7fd52e0aebc57e561c77ebe99e9c33e4
2011-05-19 00:05:12 -04:00
John Koleszar
23d525a503
Merge remote branch 'internal/upstream' into HEAD
2011-05-19 00:05:12 -04:00
Yunqing Wang
00a1e2f8e4
Merge "Modify MVcount in pick_inter_mode to eliminate calling of vp8_find_near_mvs"
2011-05-18 12:53:27 -07:00
Yunqing Wang
f62b33f140
Modify MVcount in pick_inter_mode to eliminate calling of vp8_find_near_mvs
...
Moved MVcount modification in pick_inter_mode, and eliminated
calling of vp8_find_near_mvs.
Change-Id: Icd47448a1dfc8fdf526f86757d0e5a7f218cb5e8
2011-05-17 10:59:42 -04:00
John Koleszar
11b9b14691
Merge remote branch 'origin/master' into experimental
...
Conflicts:
vp8/encoder/rdopt.c
Change-Id: I85275aab07625bd30bbef16a752b08b18f4451ab
2011-05-16 09:11:37 -04:00
John Koleszar
a5074a8b8b
Merge remote branch 'internal/upstream' into HEAD
...
Conflicts:
vp8/encoder/encodeframe.c
vp8/encoder/rdopt.c
Change-Id: I3c66714e704b22569aff701cc5b9b2a5b70989f3
2011-05-16 09:09:36 -04:00
Paul Wilkins
0e86235265
Merge "Restructure of activity masking code."
2011-05-13 09:23:50 -07:00
John Koleszar
72913435cb
Merge remote branch 'internal/upstream' into HEAD
...
Conflicts:
vp8/common/blockd.h
vp8/decoder/decodemv.c
Change-Id: Ib97c226d5b33b1ac1675d9c96eac1986af4dd579
2011-05-13 10:16:37 -04:00
Paul Wilkins
ff52bf3691
Restructure of activity masking code.
...
This commit restructures the mb activity masking code
to better facilitate experimentation using different metrics
etc. and also allows for adjustment of the zero bin either
for encode only or both the encode and mode selection
stages
It also uses information from the current frame rather than
the previous frame and the default strength has been
reduced.
Change-Id: Id39b19eace37574dc429f25aae810c203709629b
2011-05-13 10:37:50 +01:00
John Koleszar
71a0eaf33c
Merge remote branch 'origin/master' into experimental
...
Change-Id: Idf2dead51d2936984eb9827dd6d2cb704817f4c8
2011-05-13 00:05:14 -04:00
Scott LaVarnway
6b25501bf1
Using int_mv instead of MV
...
The compiler produces better assembly when using int_mv
for assignments. The compiler shifts and ors the two 16bit
values when assigning MV.
Change-Id: I52ce4bc2bfbfaf3f1151204b2f21e1e0654f960f
2011-05-12 11:08:16 -04:00
John Koleszar
5c849a64d9
Merge remote branch 'origin/master' into experimental
...
Change-Id: I3149502b80e7c30decc125a2ddc5ad12b12b3667
2011-05-11 00:05:10 -04:00
John Koleszar
65b1648f35
Merge remote branch 'internal/upstream' into HEAD
2011-05-11 00:05:07 -04:00
Yaowu Xu
1bcf4e66bb
Merge "fix a bug related to gf_active_flags in multi-threaded encoder"
2011-05-10 19:59:52 -07:00
Yaowu Xu
89c6017cc0
fix a bug related to gf_active_flags in multi-threaded encoder
...
Paul pointed out that the pointer to the gf_active_flags is not being
properly incremented in multithreaded encoder. This commit fixes the
issue by making sure the gf_active_ptr points to the starting of next
group of mb rows.
Change-Id: I3246e657d23beabb614dfb880733a68a5fd7e34c
2011-05-06 09:00:44 -07:00
John Koleszar
518c551903
Merge remote branch 'origin/master' into experimental
...
Change-Id: I9c995f1fdb46c098b0c519bf333318dff651cb40
2011-04-30 00:05:06 -04:00
John Koleszar
8398449cbf
Merge remote branch 'internal/upstream' into HEAD
2011-04-30 00:05:05 -04:00
Scott LaVarnway
ccd6f7ed77
Consolidated build inter predictors
...
Code cleanup.
Change-Id: Ic8b0167851116c64ddf08e8a3d302fb09ab61146
2011-04-28 10:53:59 -04:00
John Koleszar
c26bb0fe8f
Merge remote branch 'origin/master' into experimental
...
Change-Id: I7d91efbc3662c86d6efa2d7495eb4689ccdb0ced
2011-04-28 00:05:07 -04:00
John Koleszar
e1b90ce862
Merge remote branch 'internal/upstream' into HEAD
2011-04-28 00:05:07 -04:00
Scott LaVarnway
2e102855f4
Removed unused code in reconinter
...
The skip flag is never set by the encoder for SPLITMV.
Change-Id: I5ae6457edb3a1193cb5b05a6d61772c13b1dc506
2011-04-27 15:25:32 -04:00
John Koleszar
0a77e59847
Merge remote branch 'origin/master' into experimental
...
Conflicts:
vp8/common/alloccommon.c
vp8/encoder/rdopt.c
Change-Id: I142167d31d1b9cffe143774f6915bca463df67f0
2011-04-26 08:28:51 -04:00
John Koleszar
bbc24a65c4
Merge remote branch 'internal/upstream' into HEAD
...
Conflicts:
vp8/common/alloccommon.c
vp8/encoder/rdopt.c
Change-Id: Ic34b33577423031e277235ffa6bcaff7b252e5cb
2011-04-26 08:27:39 -04:00
John Koleszar
308e31a3ef
Merge remote branch 'internal/upstream-experimental' into HEAD
...
Conflicts:
vp8/decoder/onyxd_int.h
Change-Id: Icf445b589c2bc61d93d8c977379bbd84387d0488
2011-04-25 09:13:41 -04:00
John Koleszar
5dfd6f51cb
Merge remote branch 'origin/master' into experimental
...
Change-Id: I6f77e7c10a54c54b26126b8acd5edd0a03358a41
2011-04-22 00:05:08 -04:00
Scott LaVarnway
3698c1f620
Removed dc_diff from MB_MODE_INFO
...
The dc_diff flag is used to skip loopfiltering. Instead
of setting this flag in the decoder/encoder, we now check
for this condition in the loopfilter.
Change-Id: Ie2b9cdf9e0f4e8b932bbd36e0878c05bffd28931
2011-04-21 14:38:36 -04:00
Scott LaVarnway
7a49accd0b
Removed force_no_skip
...
force_no_skip is always set to zero.
Change-Id: I89b61c5e0bee34627a9c07c05f3517e1db76af77
2011-04-20 15:45:12 -04:00
Scott LaVarnway
09c933ea80
Removed redundant checks of the mode_info_context flags
...
Code cleanup. The build inter predictor functions are
redundantly checking the mode_info_context for either
INTRA_FRAME or SPLITMV.
Change-Id: I4d58c3a5192a4c2cec5c24ab1caf608bf13aebfb
2011-04-20 14:06:40 -04:00
John Koleszar
a5d3febc13
Merge remote branch 'origin/master' into experimental
...
Change-Id: I920c3ed6af244ef9032b744675d9f664e5878d0e
2011-04-19 00:05:09 -04:00
Johann
70f30aa95d
store quant_shift as an unsigned char
...
in encodframe.c, quant_shift is set to 0 or 1 in vp8cx_invert_quant
only use 8 bits to store this, instead of 16. will allow saving an
xmm register in an updated version of the regular quantize
Change-Id: Ie88c47fe2aff5af0283dab1147fb2791e4b12f90
2011-04-13 13:50:12 -04:00
John Koleszar
cb3e0aaba3
Merge remote branch 'origin/master' into experimental
...
Change-Id: I231e4dd65adcf4f5c158e3749880a18b8c36cbe4
2011-04-13 00:05:09 -04:00
John Koleszar
8b20b578bf
Merge remote branch 'internal/upstream' into HEAD
2011-04-13 00:05:07 -04:00
John Koleszar
7ff5084f33
Merge remote branch 'origin/master' into experimental
...
Change-Id: Ib42656b05f2b099f17fd6c2033bbc3445421150c
2011-04-12 00:05:09 -04:00
John Koleszar
f809f4f93c
Merge remote branch 'internal/upstream' into HEAD
2011-04-12 00:05:08 -04:00
Yunqing Wang
4fd81a99f8
Set cpu_used range to [-16, 16] in real-time mode
...
Remove encoding speed limitation in real-time mode.
Change-Id: Ib5e35d8bb522b2a25f3e4ad5cfe2788ebebb3617
2011-04-11 15:55:04 -04:00
Yunqing Wang
d1abe62d1c
Define RDCOST only once
...
Clean up the code.
Change-Id: I7db048efa4d972b528d553a7921bc45979621129
2011-04-11 11:53:56 -04:00
John Koleszar
e33241bb13
Merge remote branch 'origin/master' into experimental
...
Change-Id: I1a58ce4643377bae4cc6bf9c89320251f724ca66
2011-04-09 00:05:08 -04:00
John Koleszar
f6360955f4
Merge remote branch 'internal/upstream' into HEAD
2011-04-09 00:05:08 -04:00
Paul Wilkins
de4e9e3b44
Error accumulator stats bug.
...
The error accumulator stats values cpi->prediction_error and
cpi->intra_error were being populated with rd values not
distortion values.
These are only "currently" used in a limited way for RT compress
key frame detection.
Change-Id: I2702ba1cab6e49ab8dc096ba75b6b34ab3573021
2011-04-08 14:21:36 +01:00
John Koleszar
a6be45c9ca
Merge remote branch 'origin/master' into experimental
...
Change-Id: I53be500dad1a98e21d0a28f9e07761d8d03fdcf6
2011-04-05 00:05:10 -04:00
John Koleszar
89bdcc211e
Merge remote branch 'internal/upstream' into HEAD
2011-04-05 00:05:07 -04:00
Yunqing Wang
3d6815817c
Use full-pixel MV in mvsadcost calculation
...
MV sad cost error is only used in full-pixel motion search,
which only need full-pixel resolution instead of quarter-pixel
resolution. This change reduced mvsadcost table size, and
removed unneccessary pamameter passing since this table is
constant once it is generated.
Change-Id: I9f931e55f6abc3c99011321f1dfb2f3562e6f6b0
2011-04-01 16:41:58 -04:00
John Koleszar
51bcf621c1
Merge remote branch 'internal/upstream' into HEAD
...
Conflicts:
vp8/decoder/decodemv.c
vp8/decoder/onyxd_if.c
vp8/encoder/ratectrl.c
vp8/encoder/rdopt.c
Change-Id: Ia1c1c5e589f4200822d12378c7749ba62bd17ae2
2011-03-23 00:27:52 -04:00
John Koleszar
5f6db3591c
Merge remote branch 'origin/master' into experimental
...
Conflicts:
vp8/encoder/ratectrl.c
vp8/encoder/rdopt.c
Change-Id: I4cc58acb432662d2c47aceda1680e52982adbc06
2011-03-23 00:24:25 -04:00
Attila Nagy
bfe803bda3
Fix multithreaded encoding for 1 MB wide frame
...
Thread synchronization was not correct when frame width was 1 MB.
Number of allocated encoding threads is limited by the sync_range.
There is no point having more because each thread lags sync_range MBs
behind the thread processing the row above.
http://code.google.com/p/webm/issues/detail?id=302
Change-Id: Icaf67a883beecc5ebf2f11e9be47b6997fdf6f26
2011-03-18 12:35:30 +02:00
John Koleszar
ba83622a00
Merge remote branch 'internal/upstream' into HEAD
...
Conflicts:
vp8/encoder/onyx_if.c
Change-Id: Ieef9a58a2effdc68cf52bc5f14d90c31a1dbc13a
2011-03-14 08:53:02 -04:00