Yunqing Wang
c634ec6a56
Merge "Rewrite loop_filter_info_n struct"
2013-10-29 09:49:36 -07:00
Dmitry Kovalev
19cf72eddc
Adding {read, write}_partition() instead of check_bsize_coverage().
...
Making partition read/write logic more clear.
Change-Id: I1981e90327257d37095567c62d72a103cda1da33
2013-10-28 15:14:45 -07:00
James Zern
58a0f6dbdd
vp9: add TileInfo
...
replaces use of cur_tile_mi_(row|col)_(start|end) by VP9_COMMON, making
it less stateful and more reusable for parallel tile decoding
Change-Id: I1df09382b4567a0e5f4434825d47c79afe2399be
2013-10-28 20:54:43 +01:00
James Zern
3ffa41aae3
Merge changes If9b16f7d,I75aab21c,I9cbb768c,If5cea3d3,I96940657,I025595d8,Ie0bc3935,I3ebb172d
...
* changes:
vp9: remove partition+entropy contexts from common
vp9: add above/left_context to MACROBLOCKD
vp9: add above/left_seg_context to MACROBLOCKD
vp9: add above/left_context to encoder
vp9: add above/left_seg_context to encoder
vp9: pass entropy context directly to set_skip_context
vp9: pass context directly to partition functions
vp9/decode: add alloc_tile_storage()
2013-10-28 12:45:11 -07:00
Dmitry Kovalev
ded951793c
Merge "Replacing is_inter_mode with is_inter_block."
2013-10-28 10:07:06 -07:00
James Zern
7b9ca3caa7
vp9: remove partition+entropy contexts from common
...
these are now handled separately by the encoder and decoder
Change-Id: If9b16f7d734e992fb94a510a6d88f2690d7fb7cb
2013-10-28 11:34:20 +01:00
James Zern
e571d3badc
vp9: add above/left_context to MACROBLOCKD
...
Change-Id: I75aab21c1692cbad717564cbb436578fddbc348d
2013-10-28 11:34:18 +01:00
James Zern
d9a317c8b2
vp9: add above/left_seg_context to MACROBLOCKD
...
Change-Id: I9cbb768c5f857a096cf6c29d6755d0e5e6728435
2013-10-28 11:32:16 +01:00
Dmitry Kovalev
07502f1963
Merge "Adding get_frame_new_buffer() function to replace duplicated code."
2013-10-25 15:25:13 -07:00
Dmitry Kovalev
ddfc87c6f3
Merge "Making input pointer constant for all fdct/fht functions."
2013-10-25 15:14:49 -07:00
Yunqing Wang
00dbd369c7
Rewrite loop_filter_info_n struct
...
Restructured the storing of loopfilter information. Deleted
loop_filter_info struct and reduced copying happened in every
superblock.
Tests showed a 0.5% ~ 0.8% decoder speed gain.
Change-Id: Ie6a8e46bae71dc3a3cd8c6054f5de540b8e0ef5e
2013-10-25 14:56:28 -07:00
James Zern
d2bf696ee0
vp9: pass entropy context directly to set_skip_context
...
this will allow for separate storage to be used in tile decoding
Change-Id: I025595d83118bdc82a545dae69bc6602e8d2a6e3
2013-10-25 22:01:13 +02:00
James Zern
88d79eabdc
vp9: pass context directly to partition functions
...
update_partition_context / partition_plane_context: this will allow for
separate storage to be used in tile decoding
Change-Id: Ie0bc393531ab7e9d2ce35c95111849b294aad4ed
2013-10-25 22:01:13 +02:00
Dmitry Kovalev
d5ac877f7f
Adding COLOR_SPACE enum.
...
Change-Id: If5711eb166609cce0a88b3cb5b56b3afeebc4fb0
2013-10-25 12:35:20 -07:00
Yunqing Wang
47665452f0
Merge "Add 32x32 idct function for eob<=34 case"
2013-10-25 09:34:46 -07:00
Yunqing Wang
f88315cb29
Add 32x32 idct function for eob<=34 case
...
When only upper-left 8x8 area has non-zero dct coefficients, we
could skip 1D IDCT for 9th to 32th rows to save operations. This
function is called when eob <= 34.
Change-Id: I9684b75947bdde346cfe3720f08a953aa7a13fb5
2013-10-24 16:13:21 -07:00
Johann
35c4437bf5
Merge "mips dsp-ase r2 vp9 decoder idct module optimizations (rebase)"
2013-10-24 15:49:31 -07:00
Dmitry Kovalev
237ce8724a
Adding get_frame_new_buffer() function to replace duplicated code.
...
Change-Id: I6e0e19231a48364c1de7dfab730b121ab227f111
2013-10-24 12:20:35 -07:00
Dmitry Kovalev
600a3860a4
Making input pointer constant for all fdct/fht functions.
...
Change-Id: I78f7012f967a777ddd39bae6671eb501df6bbfe8
2013-10-24 11:48:25 -07:00
Dmitry Kovalev
7bb48e5e8e
Replacing is_inter_mode with is_inter_block.
...
It should be only a check based on the block type (inter vs intra), not on
the mode value.
Change-Id: I0378cb4ba7c9a1631c1e870a537187b8650fa30a
2013-10-24 11:22:06 -07:00
Dmitry Kovalev
dfc7945d1e
Adding get_frame_ref_buffer() function + cleanup.
...
Change-Id: Ib9ead216fc54b2df6f6f1fe82d2ea137197beebd
2013-10-24 11:05:35 -07:00
Dmitry Kovalev
8001ed71ed
Merge "Renaming vp9_short_fdct4x4 and vp9_short_walsh4x4."
2013-10-24 10:08:42 -07:00
Dmitry Kovalev
710ca1fe36
Merge changes I1868fb75,I9ff504c6
...
* changes:
Renaming INTERPOLATIONFILTERTYPE to INTERPOLATION_TYPE.
Adding VP9_FRAME_MARKER constant.
2013-10-24 10:08:19 -07:00
Dmitry Kovalev
153d70ca9b
Merge "Cleaning up {above, left}_block_mode functions."
2013-10-24 10:07:51 -07:00
Yunqing Wang
93ec31dff6
Merge "Improve scale_factors struct"
2013-10-24 09:13:41 -07:00
James Zern
eec622d178
Merge "vp9/extend_for_intra: avoid crossing tile boundary"
2013-10-24 06:04:10 -07:00
James Zern
3c038b6c40
vp9/extend_for_intra: avoid crossing tile boundary
...
Change-Id: I0d8a71778aa3c73b8b1673e14053074bb866548b
2013-10-24 14:21:24 +02:00
Parag Salasakar
1699eb0bf6
mips dsp-ase r2 vp9 decoder idct module optimizations (rebase)
...
Change-Id: Iedcdb8867084f328f4fce2fadb968e0984217308
2013-10-24 11:29:04 +05:30
Dmitry Kovalev
5d28b63687
Cleaning up {above, left}_block_mode functions.
...
Making {above, left}_block_mode more clear and symmetric.
Change-Id: Ie348a950fb9a5cf52861d0cba838a58010ff56ad
2013-10-23 17:54:13 -07:00
Dmitry Kovalev
ad867fe237
Renaming INTERPOLATIONFILTERTYPE to INTERPOLATION_TYPE.
...
Change-Id: I1868fb75ed88bfa65c1c2ca24677d65f2894d713
2013-10-23 17:45:52 -07:00
Dmitry Kovalev
a53075f7c5
Adding VP9_FRAME_MARKER constant.
...
Also renaming SYNC_CODE_* to VP9_SYNC_CODE_*.
Change-Id: I9ff504c6ebce6cd6673d7df2085d597b818f5960
2013-10-23 17:24:17 -07:00
Dmitry Kovalev
fd724f13b0
Renaming vp9_short_fdct4x4 and vp9_short_walsh4x4.
...
For consistency with idct function names. Renames:
vp9_short_fdct4x4 -> vp9_fdct4x4
vp9_short_walsh4x4 -> vp9_fwht4x4
Change-Id: Id15497cc1270acca626447d846f0ce9199770f58
2013-10-23 14:28:39 -07:00
Dmitry Kovalev
a018988ce8
Renaming vp9_short_fdct32x32 to vp9_fdct32x32.
...
For consistency with idct function names.
Change-Id: Ie77b7178e0894c57cd5cb9243c949eb9224ece18
2013-10-23 13:41:40 -07:00
Dmitry Kovalev
5bdd4d9ccf
Merge "Renaming vp9_short_fdct16x16 to vp9_fdct16x16."
2013-10-23 13:37:09 -07:00
Dmitry Kovalev
a9c8251b9d
Merge "Renaming vp9_short_fdct8x8 to vp9_fdct8x8."
2013-10-23 11:38:55 -07:00
Jingning Han
9cc4935d7b
Merge "Make decode modules independent of tile index"
2013-10-23 11:08:12 -07:00
Dmitry Kovalev
02feb63684
Renaming vp9_short_fdct16x16 to vp9_fdct16x16.
...
For consistency with idct function names.
Change-Id: I5ca355ba99fdba04f09254be95cf79808b534f71
2013-10-23 10:57:12 -07:00
Dmitry Kovalev
fa143dbc8e
Renaming vp9_short_fdct8x8 to vp9_fdct8x8.
...
For consistency with idct function names.
Change-Id: I7b6af2f92c66eff56f84ed29edc3a66af8dc421f
2013-10-23 10:52:33 -07:00
Dmitry Kovalev
73fe696c91
Merge "Reordering probability tables for consistency."
2013-10-23 10:10:24 -07:00
Adrian Grange
2f58b813bb
Remove right_available member from VP9_COMP
...
This member of VP9_COMP is no longer used, so I removed it.
Change-Id: I3509f52756da4768a3e4581cec5ed5d2a70d5fb8
2013-10-22 16:53:37 -07:00
Jingning Han
bd23e084eb
Make decode modules independent of tile index
...
Assign the pointer to mode_info stream per tile. Remove the use of
tile_col in the decoding modules.
Change-Id: I7df87086708a3d92c5e20e86bcfb04e458ff47a6
2013-10-22 15:22:59 -07:00
Yunqing Wang
175c313a12
Improve scale_factors struct
...
The ref's scale_factors are set at frame level, and then copied for
each partition block. Since the struct members are mostly constant,
this patch separated the constant and non-constant members, and
reduced struct copying. This gave 0.5% ~ 1.4% decoder speed gain.
Change-Id: I94043bf5a6995c8042da52e5c661818dfa6f6d4c
2013-10-22 13:10:22 -07:00
Dmitry Kovalev
9f09618bd4
Merge "Using stride (# of elements) instead of pitch (bytes) in fdct4x4."
2013-10-22 13:05:24 -07:00
James Zern
64d94b4aa6
Merge "Revert "Merge "SVC improvements"""
2013-10-22 12:47:22 -07:00
Dmitry Kovalev
68c02593df
Reordering probability tables for consistency.
...
Putting vp9_kf_y_mode_prob[] before vp9_kf_uv_mode_prob[].
Change-Id: I2404910e35de1ee24ce46337e00c07eb1446e50f
2013-10-22 12:21:37 -07:00
Dmitry Kovalev
fa57135b2c
Merge "Removing NUM_ prefix from constant names."
2013-10-22 11:34:28 -07:00
Dmitry Kovalev
a767d10fa5
Merge "Using stride (# of elements) instead of pitch (bytes) in fdct8x8."
2013-10-22 11:34:17 -07:00
Jingning Han
7b54556008
Merge "Prevent left_block_mode stepping into left tile"
2013-10-22 09:37:17 -07:00
Jingning Han
c807949408
Prevent left_block_mode stepping into left tile
...
This commit uses left_available flag to decide if the left mode_info
struct is available for left_block_mode. As discussed with James
Zern (jzern@), this prevents the codec from fetching mode_info from
blocks in the left tile, which although effectively not used might
present concerns for multi-threaded tile decoding.
This is NOT a bit-stream change.
Change-Id: I1dc8cf1bcbf056688eee27c7bc5706ac4b4e0125
2013-10-22 09:02:41 -07:00
James Zern
cd74a901a7
Revert "Merge "SVC improvements""
...
This reverts commit a82001b1cfd688601bbda9b08b3d20e9b46b14d4, reversing
changes made to f6d870f7ae6f968bdbc342af80c8f71fa98f2ac2.
This commit breaks windows builds and needs some work to fix those and
some additional comments.
Change-Id: Ic0b0228e36704b127e5e399ce59db26182cfffe7
2013-10-22 11:09:22 +02:00