Yunqing Wang
9ed2d0a577
Fix x_offset_q4/y_offset_q4 calculation
...
"<< SUBPEL_BITS" needs to be added in the calculation. Call
set_scaled_offsets() to calculate x_offset_q4 and y_offset_q4.
Change-Id: Ied130ea771510e918f51cd1dc3abe57f4c0962b5
2013-10-29 17:46:55 -07:00
Dmitry Kovalev
1bea58e4a8
Merge "Adding const to vp9_quantize_b_{32x32,} parameters."
2013-10-29 16:57:52 -07:00
Erik Niemeyer
27b8040c76
Merge "CL for adding AVX-AVX2 support in libvpx."
2013-10-29 15:55:54 -07:00
Dmitry Kovalev
065972f959
Adding const to vp9_quantize_b_{32x32,} parameters.
...
Change-Id: I56f8c50ac382202f66040cd9cfaa05d889572fc7
2013-10-29 15:25:19 -07:00
Erik Niemeyer
e6863ef318
CL for adding AVX-AVX2 support in libvpx.
...
Change-Id: Idc03f3fca4bf2d0afd33631ea1d3caf8fc34ec29
2013-10-29 15:11:16 -07:00
Dmitry Kovalev
e5956258dd
Merge "Making get_tx_counts() similar to get_tx_probs()."
2013-10-29 10:48:50 -07:00
Yunqing Wang
c634ec6a56
Merge "Rewrite loop_filter_info_n struct"
2013-10-29 09:49:36 -07:00
Dmitry Kovalev
aa76cd1e49
Removing is_intra_mode() function.
...
It is enough to check just block type: intra or inter. Intra block implies
intra prediction mode, and inter block implies inter mode.
Change-Id: I3cf98731a3935f670a3cd8e2b2443483eb944be4
2013-10-28 20:00:55 -07:00
Dmitry Kovalev
fa1ac00aee
Making get_tx_counts() similar to get_tx_probs().
...
Change-Id: I5b17f40e515c4bcf9ebef5380270a214af4e0115
2013-10-28 19:52:38 -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