James Zern
bc3c6d0a15
vp9/count_segs: fix out of bounds read
...
don't access mi until mi_{row,col} validation has been done
Change-Id: Ie1be052612cfccb2730dff9281c222bca28bf2c6
2013-05-02 19:11:28 -07:00
John Koleszar
74a43bdfec
Merge "superframe_test: use delete[] where appropriate" into experimental
2013-05-02 18:53:27 -07:00
James Zern
c0b44b3160
superframe_test: use delete[] where appropriate
...
Change-Id: Id374267c93a7e14e985b8079833364c8eff5248b
2013-05-02 18:19:22 -07:00
Ronald S. Bultje
1069c12cf4
Fix 16x16-iteration indexing bug in main encode_sb_row loop.
...
With this, encoder/decoder appear to match with sb8x8 experiment.
Needs some larger-scale testing.
Change-Id: I44d3cac37b3c98264985ed0a0fc763c30089aa64
2013-05-02 16:41:08 -07:00
Jingning Han
879a2f053d
Fix state update in sb8x8 rate-distortion loop
...
Update mode_info of 8x8 blocks within the scope of current block.
Change-Id: I110c599e60664a5acde6afd919b107cea8419a0d
2013-05-02 14:41:51 -07:00
Jingning Han
1e26cdc178
Merge "Cache splitmv motion vectors appropriately in decoder." into experimental
2013-05-02 14:32:57 -07:00
Dmitry Kovalev
20eef67573
Adding encode_loopfilter function.
...
Moving code from huge vp9_pack_bitstream to encode_loopfilter function.
Change-Id: Idceb836da5b346cd54fc33402283e7cfb6d9097d
2013-05-02 14:23:56 -07:00
John Koleszar
3f4e80634b
Create common vp9_encode_sb{,y}
...
Creates a common encode (subtract, transform, quantize, optimize,
inverse transform, reconstruct) function for all sb sizes, including
the old 16x16 path.
Change-Id: I964dff1ea7a0a5c378046a069ad83495f54df007
2013-05-02 14:02:03 -07:00
Ronald S. Bultje
c8de931e06
Merge "Fix i4x4 mode reading and writing in sb8x8 bitstream." into experimental
2013-05-02 13:56:06 -07:00
Ronald S. Bultje
168d313888
Cache splitmv motion vectors appropriately in decoder.
...
This fixes some problems in splitmv-related bitstream parsing in the
sb8x8 experiment.
Change-Id: Id168f9ec9c88626877d8f536e6f394b6f4f782e4
2013-05-02 13:55:35 -07:00
Ronald S. Bultje
e931dac733
Fix i4x4 mode reading and writing in sb8x8 bitstream.
...
Don't allow i4x4 except for sb8x8 recursion step. Read only 4 (not 16)
i4x4 submodes if we are i4x4.
Change-Id: Iaaaced1a134006b2c96eed66f014300eae41e0ed
2013-05-02 13:01:09 -07:00
Ronald S. Bultje
1cc0e67d85
Merge "Set transform size correctly for non-tx_select splitmv/i4x4_pred." into experimental
2013-05-02 12:35:59 -07:00
James Zern
b0e5775ebc
convolve_test: remove unnecessary memset
...
input_ is filled with random values just afterward.
the size was wrong anyway as input_ is allocated with memalign so
sizeof(input_)==sizeof(uint8_t*)
Change-Id: I014b832ac60960cd22b6f369dbc9fd648d4055b5
2013-05-02 12:32:13 -07:00
Johann
9ebc99fcac
Add __inline__ to INLINE definition.
...
When using 'always_inline' 'inline' should be specified as well.
Thanks to Digit for identifying this:
https://chromiumcodereview.appspot.com/14820003/
Change-Id: If1647fac91b85ecabe6d3cd04290d5c08c5a11ea
2013-05-02 12:32:02 -07:00
Ronald S. Bultje
06df1f82fb
Set transform size correctly for non-tx_select splitmv/i4x4_pred.
...
Fixes mismatch in keyframes with sb8x8 experiment enabled.
Change-Id: Id44c25e1cd32be5c6543ed8cd840a5b0c8e726f1
2013-05-02 12:26:40 -07:00
Dmitry Kovalev
7ab2d7bf55
Removing MAXF macro and using MAX instead.
...
Change-Id: I51c53692b1150005645bf362c5e5a8275178a8fd
2013-05-02 11:57:16 -07:00
Ronald S. Bultje
96f8171d09
Merge "Fix intra4x4 decoder reconstruction stride for sb8x8 experiment." into experimental
2013-05-02 11:10:07 -07:00
Ronald S. Bultje
6c8071b45c
Fix intra4x4 decoder reconstruction stride for sb8x8 experiment.
...
Change-Id: I5a886a6fa19086629a274f9ada7a862fd0ddf62f
2013-05-02 11:01:02 -07:00
Ronald S. Bultje
ef6007867f
Merge "Always initialize values in sb/mb_partitioning." into experimental
2013-05-02 10:53:51 -07:00
Scott LaVarnway
37c3144ed7
Removed is_inter_mode() check
...
If a reference frame is inter, the only valid modes would
be inter modes. This check is unnecessary.
Change-Id: Ib8433ab5a3418f94149ee4e3062d48d7740d225a
2013-05-02 13:44:33 -04:00
Dmitry Kovalev
519d9f3e16
Merge "Using treed_read/treed_write functions for segment ids." into experimental
2013-05-02 10:40:58 -07:00
Ronald S. Bultje
4aad30a3cf
Always initialize values in sb/mb_partitioning.
...
This doesn't affect the output, because in previous cases where the
values were uninitialized, this was because the mb_row/col is outside
the codable area, and thus encode_sb will test them for the next
decomposition-level, but return right after that on size-check. All
this does is prevent a warning in valgrind.
Change-Id: I90d8a29e6f8ebb2b0143684e08fe77ae3a0816b1
2013-05-02 10:40:53 -07:00
Ronald S. Bultje
704fb4866e
Fix right-edge availability for intra prediction in sb8x8.
...
Fixes valgrind uninitialized value use warnings.
Change-Id: Ie9314d684e2ad194f8aca5bde1729fb9b7c0221d
2013-05-02 10:16:48 -07:00
Ronald S. Bultje
ec6cf519d1
Merge "Fix some more offset errors in sb8x8." into experimental
2013-05-02 09:08:33 -07:00
Jingning Han
73a4824c34
Merge "Fix bug in sb8x8 partition context" into experimental
2013-05-02 09:04:28 -07:00
Ronald S. Bultje
3e345cd4d8
Fix some more offset errors in sb8x8.
...
Change-Id: I83677227f7610fdf2db9f15f87fecd4d8e072427
2013-05-02 07:54:18 -07:00
Ronald S. Bultje
dd1e6b8e6f
Merge "Fix block reconstruction with sb8x8 enabled." into experimental
2013-05-02 07:11:36 -07:00
Johann
a288c928ae
Merge "Add cpu detection for Android x86"
2013-05-01 22:58:41 -07:00
Jingning Han
ba24a28f69
Fix bug in sb8x8 partition context
...
Fix the issue that causes array bound excess in getting partition
context.
Change-Id: I66166f047f0bcaefebb0bcf441c5b1f777d8da44
2013-05-01 22:34:27 -07:00
Jingning Han
a427913864
Merge "Fix bugs in sb8x8 experiment/context prob update" into experimental
2013-05-01 20:52:07 -07:00
changjun.yang
c9a9905764
Add cpu detection for Android x86
...
Change-Id: I3fe24001cda08d7322b630f65c5e3fad881f8036
2013-05-02 10:38:19 +08:00
Ronald S. Bultje
ff37688a91
Fix block reconstruction with sb8x8 enabled.
...
The encoder reconstruction is now correct. Decoder to follow shortly.
Change-Id: Iedf98cdaebb4ca1256c7714cad7024a75853ad6a
2013-05-01 19:28:17 -07:00
Ronald S. Bultje
abb66ef0ba
Merge "Fix bug in sb8x8 bitstream decoding." into experimental
2013-05-01 19:26:26 -07:00
Ronald S. Bultje
31b842637f
Merge "Store splitmv modes in context after 8x8 rd loop." into experimental
2013-05-01 17:26:46 -07:00
Ronald S. Bultje
29492a5e14
Fix bug in sb8x8 bitstream decoding.
...
Change-Id: I7ac69a369851b09d9422f2e3c62b12b3fcd49a4c
2013-05-01 17:13:27 -07:00
Ronald S. Bultje
f37d8400db
Store splitmv modes in context after 8x8 rd loop.
...
Change-Id: I07aa89a67e0ac5f99ef0c448553dbc46b0ed27f2
2013-05-01 17:13:23 -07:00
Jingning Han
b8decb0313
Fix bugs in sb8x8 experiment/context prob update
...
Fix bugs occur in contextual partition probability update, when
sb8x8 is enabled.
Change-Id: I19e2cec8a54c2dafd2be2803bbfde7337a2ae45f
2013-05-01 15:16:50 -07:00
Johann
9b94f647cd
Merge "Remove unused quantize optimizations." into experimental
2013-05-01 15:13:42 -07:00
James Zern
451ce65e29
Merge "Change to fourcc to enable decoding of ffmpeg files." into experimental
2013-05-01 14:58:36 -07:00
Ronald S. Bultje
b6c2d872f0
Fix some crashes in sb8x8 experiment.
...
Change-Id: I390bb1cedc835f439fd5dd6cda6572b29cbb139c
2013-05-01 14:45:27 -07:00
Jingning Han
650e632400
Merge "Enable bit-stream support to SB8X8" into experimental
2013-05-01 13:48:14 -07:00
Scott LaVarnway
94ed11d89d
Reduced y_dequant, uv_dequant size
...
Currently, only two values are used. Removed the unused
values.
Change-Id: Idc5b8be354d84ffc68df39ea3e45f9f50d977b35
2013-05-01 16:25:10 -04:00
Martin Storsjo
2ce4783982
configure: arm: Check __ARM_PCS_VFP if the float ABI hasn't been defined
...
The support for detecting hardfp toolchains in af9dd50e is a
step in the right direction, but that particular switch case
isn't executed at all if the toolchain variable is set.
This fixes cross building from x86 ubuntu to armhf ubuntu,
in configurations such as
"CROSS=arm-linux-gnueabihf- ./configure --target=armv7-linux-gcc".
Change-Id: I6f141361e40374fbab564f9196d90e598fe9a0f6
2013-05-01 23:10:29 +03:00
Jingning Han
2bf1dc2e23
Enable bit-stream support to SB8X8
...
This commit enables bit-stream writing and reading for recursive
partition down to block 8x8.
Change-Id: I163cd48d191cc94ead49cbb7fc91374f6bf204e2
2013-05-01 13:03:54 -07:00
Dmitry Kovalev
6e4ed2f0fe
Merge "Adding vp9_get_qindex function." into experimental
2013-05-01 12:04:21 -07:00
John Koleszar
d139655b14
Merge "Make vp9_optimize_sb* common" into experimental
2013-04-30 21:43:26 -07:00
John Koleszar
1f80a568d2
Make vp9_optimize_sb* common
...
Unify the various vp9_optimize_sb functions into one that handles all
transform sizes.
Change-Id: I48b642fbfb3e72cc2e0bcf1d0317a80a80547882
2013-04-30 21:34:58 -07:00
Jingning Han
09aaf61e16
Migrating MB decoding into decode_sb/atom
...
The decode_mb only carries I8X8_PRED decoding, which will be covered
by the regular MB intra modes when SB8X8 is on. To be removed later.
Change-Id: I3b9ee55917a30b42518b81987bc10c22b1a19e7f
2013-04-30 20:48:52 -07:00
Johann
e43662e8e6
Remove unused quantize optimizations.
...
Files were copied from vp8 and never maintained.
Change-Id: I9659a8755985da73e8c19c3c984423b6666d8871
2013-04-30 18:42:05 -07:00
Dmitry Kovalev
79590f186c
Merge "Cleaning up encoder segmentation code." into experimental
2013-04-30 17:49:55 -07:00