Jingning Han
8e1c97cf73
Fix a unit test failure of sb8x8 on scaling ref
...
Disable the use of scaled reference frame for motion search in
SPLITMV mode. This fixes the unit test failure issue triggered
when merging sb8x8 from experimental list.
Change-Id: I02ac25fd8db8d5762f8fee29513b947189875fa0
2013-05-06 10:28:18 -07:00
Ronald S. Bultje
f7fa367094
Fix first-pass intra4x4 for sb8x8 experiment.
...
Change-Id: I1df17f45721c690d157800daa6a0b377e3d32bc2
2013-05-04 15:49:41 -07:00
Ronald S. Bultje
842c573e04
Merge "Fix overflow in RD error calculation code." into experimental
2013-05-03 18:03:06 -07:00
John Koleszar
acc9c125dd
Remove old_block_idx_4x4
...
Removes several instances where the old block numbering was
still in use.
Change-Id: Id35130591455a4abe6844613e45c0b70c1220c08
2013-05-03 17:19:13 -07:00
John Koleszar
6c622e2783
Merge "Separate transform and quant from vp9_encode_sb" into experimental
2013-05-03 17:19:01 -07:00
John Koleszar
4529c68b3b
Separate transform and quant from vp9_encode_sb
...
This allows removing a large number of transform size specific functions,
as well as supporting 444/alpha by routing all code through the
subsampling-aware path.
Change-Id: Ieb085cebe9f37f24fc24de179898b22abfda08a4
2013-05-03 12:14:50 -07:00
James Zern
15879fb457
Merge "vp9/count_segs: fix out of bounds read" into experimental
2013-05-03 11:27:45 -07:00
Ronald S. Bultje
ee808e52bd
Fix overflow in RD error calculation code.
...
Change-Id: I61ef1f198c876f9f79787ea7d7385a862cfbae19
2013-05-03 10:33:07 -07:00
John Koleszar
f07733010b
Merge "Create common vp9_encode_sb{,y}" into experimental
2013-05-03 10:26:53 -07:00
Adrian Grange
7aae782c37
Merge "Extend number of reference buffers to 8." into experimental
2013-05-03 09:59:54 -07:00
Adrian Grange
d7eea782f2
Extend number of reference buffers to 8.
...
The number of reference buffers is extended to 8 and
a reference sign-bias added for the LAST_FRAME.
Whilst the number of reference buffers used by an
individual frame remains unchanged at 3, these may
now be selected from 8 possible buffers.
Change-Id: I2d247b9c1c2b3a339d6c9fac125e81ba373f75a7
2013-05-03 09:17:18 -07:00
Scott LaVarnway
3041cf8c8b
Merge "Reduced y_dequant, uv_dequant size" into experimental
2013-05-03 07:30:31 -07:00
Ronald S. Bultje
034928843f
Fix use of wrong rate/distortion variables in 16x8 r/d check.
...
Change-Id: Ib5961b4c8ca84d54c84b2651a4e0317c72fe7da4
2013-05-02 21:03:38 -07:00
Dmitry Kovalev
183aeecd74
Merge "Removing MAXF macro and using MAX instead." into experimental
2013-05-02 20:48:36 -07:00
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
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
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
ef6007867f
Merge "Always initialize values in sb/mb_partitioning." into experimental
2013-05-02 10:53:51 -07: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
3e345cd4d8
Fix some more offset errors in sb8x8.
...
Change-Id: I83677227f7610fdf2db9f15f87fecd4d8e072427
2013-05-02 07:54:18 -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
f37d8400db
Store splitmv modes in context after 8x8 rd loop.
...
Change-Id: I07aa89a67e0ac5f99ef0c448553dbc46b0ed27f2
2013-05-01 17:13:23 -07:00
Johann
9b94f647cd
Merge "Remove unused quantize optimizations." into experimental
2013-05-01 15:13:42 -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
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
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
Dmitry Kovalev
aea29cd278
General code cleanup inside treewriter-related files.
...
Change-Id: Ifaa40612a9c054d96112ba350c6f4adb46b1bd5b
2013-04-30 16:39:07 -07:00
Ronald S. Bultje
d068d869b9
sb8x8 integration in rd loop.
...
Work-in-progress, not yet ready for review. TODO items:
- bitstream writing (encoder) and reading (decoder)
- decoder reconstruction
Change-Id: I5afb7284e7e0480847b47cd0097cb469433c9081
2013-04-30 16:13:20 -07:00
Dmitry Kovalev
b5364d4f3b
Using treed_read/treed_write functions for segment ids.
...
Changing the order of probabilities inside mb_segment_tree_probs in order
to use treed_read/treed_write function instead of custom code.
Change-Id: I843487d5057913b9358db73da270893eefecc6c8
2013-04-30 14:06:49 -07:00
Dmitry Kovalev
3f6c6ffc86
Adding vp9_get_qindex function.
...
Moving common code from encoder and decoder to vp9_get_qindex function.
Also moving quant-related constants from vp9_onyxc_int.h to
vp9_quant_common.h.
Change-Id: I70c5bfbaa1c8bf00fde0bfc459d077f88b6d46c8
2013-04-30 13:39:50 -07:00
Jingning Han
dc8cd7d9f4
Merge "Migrating SPLITMV_4X4 decoding into decode_atom" into experimental
2013-04-30 12:17:56 -07:00
Dmitry Kovalev
347ad7fff0
Merge "Adding vp9_update_frame_size function." into experimental
2013-04-30 12:00:35 -07:00
Dmitry Kovalev
15b5e465f2
Adding vp9_update_frame_size function.
...
Moving common code from encoder and decoder to vp9_update_frame_size.
Change-Id: I6ca758b7d05ffd52821bd3f7ad68089da11e4165
2013-04-30 11:14:27 -07:00
Dmitry Kovalev
be9cf215a3
Merge "General cleanup inside vp9_bitstream.c." into experimental
2013-04-30 11:07:05 -07:00