Dmitry Kovalev
b62ddd5f8b
General code cleanup.
...
Switching from mi_{width, height}_log2 and b_{width, height}_log2 to
num_8x8_blocks_{wide, high} and num_4x4_blocks_{wide, high}. Removing
redundant code, adding const.
Change-Id: Iaab2207590fd24d0b76999071778d1395dc5cd5d
2013-08-28 12:22:37 -07:00
Deb Mukherjee
e02dc84c1a
Adds a speed feature for fast 1-loop forw updates
...
Incorporates a speed feature for fast forward updates of
coefficients. This feature takes 3 values:
0 - use standard 2-loop version
1 - use a 1-loop version
2 - use a 1-loop version with reduced updates
Results: derfraw300 +0.007% (on speed 0) at feature value = 1
-0.160% (on speed 0) at feature value = 2
There is substantial speed up at speeds 2 and above for low
resolution sequences where the entropy updates are a big part
of the overall computations.
Change-Id: Ie96fc50777088a5bd441288bca6111e43d03bcae
2013-08-28 10:56:52 -07:00
Dmitry Kovalev
851a2fd72c
Renaming txfm_size to tx_size.
...
Change-Id: I752e374867d459960995b24d197301d65ad535e3
2013-08-27 19:47:53 -07:00
Jingning Han
eb7acb5524
Merge "Fix buf alignment in sub8x8 comp inter-inter pred"
2013-08-27 19:03:12 -07:00
Dmitry Kovalev
1d3f94efe2
Merge "Adding get_entropy_context function."
2013-08-27 17:02:36 -07:00
Frank Galligan
7d058ef86c
Merge "Fix winodws warning."
2013-08-27 15:39:58 -07:00
Frank Galligan
f1560ce035
Fix winodws warning.
...
Const is not needed on the function parameter.
Change-Id: I38c2a7317cb6f42f70bbddfde9a2cd18d65ceb1c
2013-08-27 15:19:55 -07:00
Dmitry Kovalev
a93992e725
Adding get_entropy_context function.
...
Moving common code from encoder and decoder to this function.
Change-Id: I60fa643fb1ddf7ebbff5e83b6c4710137b0195ef
2013-08-27 14:17:53 -07:00
hkuang
3a679e56b2
Add neon optimize vp9_short_idct16x16_1_add.
...
Change-Id: Ib9354c1d975d03e8081df20d50b6a77dfe2dc7e5
2013-08-27 14:00:27 -07:00
hkuang
ce04b1aa62
Merge "Add neon optimize vp9_short_idct8x8_1_add."
2013-08-27 12:10:07 -07:00
Dmitry Kovalev
7b95f9bf39
Renaming BLOCK_SIZE_TYPE to BLOCK_SIZE in the encoder.
...
Change-Id: I62bb07c377f947cb72fac68add7a6b199e42c6b9
2013-08-27 11:05:08 -07:00
Dmitry Kovalev
ba10aed86d
Merge "Using num_8x8_* lookup tables instead of mi_*_log2."
2013-08-27 10:49:36 -07:00
Dmitry Kovalev
12e5931a9a
Merge "Using existing functions instead of raw expressions."
2013-08-27 10:33:34 -07:00
Dmitry Kovalev
f77c6973a1
Merge "Cleaning up decode_block_intra function."
2013-08-27 10:17:56 -07:00
Dmitry Kovalev
f389ca2acc
Merge "Cleaning up model_rd_for_sb_y_tx."
2013-08-27 10:17:10 -07:00
Dmitry Kovalev
bfebe7e927
Merge "Renaming BLOCK_SIZE_TYPE to BLOCK_SIZE in the common/decoder."
2013-08-27 10:15:21 -07:00
Dmitry Kovalev
78e670fcf8
Merge "Renaming D27 to D207."
2013-08-27 10:03:57 -07:00
Jingning Han
2d6aadd7e2
Fix buf alignment in sub8x8 comp inter-inter pred
...
This commit resolved a mis-alignment issue in compound inter-inter
prediction of sub8x8. This patch follows solution from dkovalev@.
Change-Id: I3cc0cf7e55b84110e0c42ef4b2e6ca7ac3f8f932
2013-08-27 09:28:05 -07:00
Yaowu Xu
45125ee573
Merge "fixed the reading too many bytes"
2013-08-27 09:09:18 -07:00
Yaowu Xu
9482c07953
fixed the reading too many bytes
...
In subpel_avg_variance functions, code similar to the following
punpkldq m2, [addr]
actually reads 8 bytes. For functions that are supposed to work on
buffers only have less 8 bytes a line, this caused valgrind error
of reading uninitialized memory.
Change-Id: I2a4c079dbdbc747829bd9e2ed85f0018ad2a3a34
2013-08-27 08:39:20 -07:00
Jim Bankoski
3e43e49ffd
Merge "Add a test vector that tests color space 444"
2013-08-27 08:33:12 -07:00
Dmitry Kovalev
44b7854c84
Removing unnecessary call to vp9_setup_interp_filters.
...
vp9_setup_interp_filters before each inter block decoding, it is not
necessary to call it just before the whole frame decoding.
Change-Id: Id1b0ee62f987474e27eafba0013a4896b492c400
2013-08-26 17:25:49 -07:00
hkuang
36e9b82080
Add neon optimize vp9_short_idct8x8_1_add.
...
Change-Id: I0b15d5e3b0eb97abb9ab5ec08e88b61f8723aaf4
2013-08-26 16:28:57 -07:00
hkuang
ba8fc71979
Merge "Add neon optimize vp9_short_idct4x4_1_add."
2013-08-26 16:26:38 -07:00
Dmitry Kovalev
657ee2d719
Cleaning up model_rd_for_sb_y_tx.
...
Removing references to plane_block_width and plane_block_height (we are
going to delete the latter ones).
Change-Id: I7982da4d373aebb54d2209dc8886f6192df4d287
2013-08-26 16:18:28 -07:00
hkuang
69384f4fad
Add neon optimize vp9_short_idct4x4_1_add.
...
Change-Id: I6ecb5c4a1a472feb8e84e9f3352b536d5e28a4a5
2013-08-26 15:55:16 -07:00
Jim Bankoski
bbb490f6a3
Merge "Fix Chroma plane md5 check"
2013-08-26 15:27:14 -07:00
Jim Bankoski
a5cb05c45d
Add a test vector that tests color space 444
...
This adds a test vector for 444 color space.
Change-Id: I1e2ac3883211989a062cfafc0e58151b14d294b8
2013-08-26 15:24:35 -07:00
Dmitry Kovalev
242460cb66
Cleaning up decode_block_intra function.
...
Change-Id: Ia41ea5d526d15fcbc9b56d74079593cf8b2fdf66
2013-08-26 15:24:12 -07:00
Jim Bankoski
af13fbb70f
Fix Chroma plane md5 check
...
Chroma plane MD5 calculation was incorrect for 444 and 422
yuv color spaces.
Change-Id: If985396871a2f57db85108a4355172f9793d3007
2013-08-26 14:26:38 -07:00
Dmitry Kovalev
b25589c6bb
Using num_8x8_* lookup tables instead of mi_*_log2.
...
Change-Id: I8a246b3d056c98be614d05a90bc261e2441ffc10
2013-08-26 14:22:54 -07:00
Yaowu Xu
4505e8accb
Merge "Fix the reading of too many input pixels"
2013-08-26 14:01:50 -07:00
Paul Wilkins
aa823f8667
Merge "Changes to adaptive inter rd thresholds."
2013-08-26 12:48:11 -07:00
Yaowu Xu
6c5433c836
Fix the reading of too many input pixels
...
in VP9_get4x4var_mmx
Change-Id: I4b4a8f45f25ebdfad281f169cc87aba5e2d6f227
2013-08-26 12:35:27 -07:00
Paul Wilkins
642696b678
Merge "Limit Key frame Intra modes checks."
2013-08-26 12:34:56 -07:00
Dmitry Kovalev
45870619f3
Renaming BLOCK_SIZE_TYPE to BLOCK_SIZE in the common/decoder.
...
Adding temporary "typedef BLOCK_SIZE BLOCK_SIZE_TYPE" which will go away
after encoder's patch.
Change-Id: I06ec6a6f079401439843ec981d1496234fd7775c
2013-08-26 11:33:16 -07:00
Jingning Han
4681197a58
Merge "Temporarily disable SSSE3 quant_32x32"
2013-08-26 11:19:53 -07:00
Dmitry Kovalev
5eed6e2224
Merge "Removing redundant calls to clamp_mv2."
2013-08-26 10:48:37 -07:00
Jingning Han
166dc85bed
Temporarily disable SSSE3 quant_32x32
...
Make the current head working properly, while working on fixing an
issue in the SSSE3 implementation of 32x32 quantization.
Change-Id: Ic029da3fd7f1f5e58bc641341cbd226ec49a16bc
2013-08-26 10:45:59 -07:00
James Zern
66ccf5ddcf
Merge "cosmetics: yv12extend add some const"
2013-08-24 18:13:41 -07:00
James Zern
8b970da40d
cosmetics: yv12extend add some const
...
Change-Id: I87f1ce2ceca80d3869dd72ba862329a98eb3e0c2
2013-08-24 12:09:01 -07:00
James Zern
b19babe5e6
Merge "cosmetics: strip 'VP9_' from defines in vp9 only code"
2013-08-23 19:59:16 -07:00
James Zern
55b5a68d72
Merge "yv12extend: name variables consistently"
2013-08-23 19:40:03 -07:00
James Zern
c8ba8c513c
cosmetics: strip 'VP9_' from defines in vp9 only code
...
Change-Id: I481d9bb2fa3ec72b6a83d5f04d545ad8013f295c
2013-08-23 19:16:49 -07:00
James Zern
2c6ba737f8
Merge "vp9: remove unnecessary wait w/threaded loopfilter"
2013-08-23 18:52:10 -07:00
James Zern
5724b7e292
yv12extend: name variables consistently
...
- s|source -> src
- dest -> dst
- use verbose names in extend_plane dropping the redundant comments
+ light cosmetics:
- join a few lines / assignments
- drop some unnecessary comments & includes
Change-Id: I6d979a85a0223a0a79a22f79a6d9c7512fd04532
2013-08-23 18:45:11 -07:00
Dmitry Kovalev
50ee61db4c
Renaming D27 to D207.
...
I've already renamed d27_predictor to d207_predictor but forgot about the
corresponding constant.
Change-Id: Id312aa80fc5b5a1ab8a709a33418a029552a6857
2013-08-23 17:33:48 -07:00
Dmitry Kovalev
480dd8ffbe
Using existing functions instead of raw expressions.
...
Change-Id: Ifa50b04bac1a6ff2abef989073cbf1f37a89eb50
2013-08-23 17:26:53 -07:00
Dmitry Kovalev
e6c435b506
Merge "Cleanup in mvref_common.{h, c}."
2013-08-23 17:09:49 -07:00
Dmitry Kovalev
7194da2167
Merge "Fixing display size setting problem."
2013-08-23 17:08:51 -07:00