Jim Bankoski
86a9dec73c
clean up bw, bh
...
many structures use bw and bh and they have different meanings. This cl attempts
to start this clean up and remove unneccessary 2 step look up log and then
shift operations...
also removed partition type multiple operation code in bitstream.c.
Change-Id: I7e03e552bdfc0939738e430862e3073d30fdd5db
2013-07-23 06:51:44 -07:00
Dmitry Kovalev
ee1fe2f750
Merge "Removing pre probabilities from FRAME_CONTEXT."
2013-07-20 22:50:32 -07:00
Dmitry Kovalev
8962d975b2
Merge "Moving all loop filter related variables into new struct."
2013-07-20 22:45:24 -07:00
Dmitry Kovalev
39342db138
Merge "Consistent names for inter mode probabilities and encodings."
2013-07-20 22:40:51 -07:00
Dmitry Kovalev
7e703de729
Removing pre probabilities from FRAME_CONTEXT.
...
Using cm->frame_contexts[cm->frame_context_idx] as source of previous
probabilities.
Change-Id: Ie03778acf0e7bebdc3a1f6a51854d4a0712f24a1
2013-07-19 17:33:10 -07:00
Dmitry Kovalev
ee1771ebaa
Moving all loop filter related variables into new struct.
...
Adding loopfilter struct with fields from MACROBLOCKD and VP9Common.
Eventually it will be moved to vp9_loopfilter.h for better code structure.
Change-Id: Iaf5fb71c33719cdfa1b991f671caf071be9ea035
2013-07-19 16:19:10 -07:00
Dmitry Kovalev
c0eb57406c
Renaming TXFM_MODE to TX_MODE (like TX_SIZE, TX_TYPE).
...
Moving TX_MODE enum to vp9_enums.h. Renaming txfm_mode variables to
tx_mode.
Change-Id: I459d1af6dd928ce7fccdf8ce30b6f1ca057bef92
2013-07-19 11:37:13 -07:00
Dmitry Kovalev
bc7acb134b
Consistent names for inter mode probabilities and encodings.
...
Renaming vp9_sb_mv_ref_tree to vp9_inter_mode_tree, and
vp9_sb_mv_ref_encoding_array to vp9_inter_mode_encodings.
Change-Id: I0e91fbf81350d3ec5a2599064c74089b5d06133a
2013-07-19 10:40:04 -07:00
Dmitry Kovalev
13253d6121
Merge "Removing kf_{y, uv}_mode_prob arrays from VP9Common."
2013-07-19 01:00:46 -07:00
Ronald S. Bultje
2d4929e340
Remove motion vectors from PARTITION_INFO.
...
The same information already exists in union b_mode_info.
Change-Id: Iac5086b99a3c3cc270380138062bb693e58f9e6d
2013-07-18 14:10:52 -07:00
Dmitry Kovalev
f9f453ec8d
Removing kf_{y, uv}_mode_prob arrays from VP9Common.
...
These arrays have constant values (no any updates). Removing two
corresponding memcpy calls. Making a little cleanup in vp9_entropymode.h
as well: removing redundant 'extern' keyword and moving all function
declarations at the end.
Change-Id: Ia16b38b46aec2e2500f5df29c40a297ae241dede
2013-07-17 16:50:52 -07:00
Dmitry Kovalev
5b65a71cdc
Changing signature of vp9_get_pred_probs_tx_size.
...
Removing VP9_COMMON* argument and adding struct tx_probs* instead of
MACROBLOCKD*.
Change-Id: Idf61074631a90ec51eac22c8dcd977f44ac0757c
2013-07-16 16:34:54 -07:00
Dmitry Kovalev
9482a0bf10
Cleaning up tile code.
...
Removing tile_rows and tile_columns from VP9Common, removing redundant
constants MIN_TILE_WIDTH and MAX_TILE_WIDTH, changing signature of
vp9_get_tile_n_bits.
Change-Id: I8ff3104a38179b2c6900df965c144c1d6f602267
2013-07-16 14:47:15 -07:00
Dmitry Kovalev
429070987a
Using vp9_copy and vp9_zero instead of custom code.
...
Change-Id: Id9b6ceeddca3f9b34bfada5c499b1e7a2f42c30b
2013-07-12 18:07:43 -07:00
Dmitry Kovalev
cc662dd768
Adding struct tx_probs and struct tx_counts to cleanup the code.
...
Also removing unused declarations from vp9_entropymode.h file.
Change-Id: Ib9c5826db3584a32f6bb3297a76c522b99d83402
2013-07-12 15:22:38 -07:00
James Zern
0195fb53cb
vp9: consistent 'log2' variable naming
...
lg2 -> log2
Change-Id: I0602ddff49e42c9c40c29c084d04b7592b9f8edf
2013-07-12 11:37:43 -07:00
Dmitry Kovalev
dd150e8ea9
Removing redundant code mostly from vp9_pred_common.{h, c}.
...
Removing redundant function arguments and curly braces.
Change-Id: I46e02561f33fe02e84a3b19756f03b9504bd6a1b
2013-07-11 18:39:10 -07:00
Dmitry Kovalev
8c05e59065
Calling is_inter_mode() instead of custom code.
...
Change-Id: Iccd4ab95ea51a6d57ed43947f2fd7ad92e8979cf
2013-07-11 14:14:47 -07:00
Dmitry Kovalev
c4ad3273c7
Moving segmentation related vars into separate struct.
...
Adding segmentation struct to vp9_seg_common.h. Struct members are from
macroblockd and VP9Common structs. Moving segmentation related constants
and enums to vp9_seg_common.h.
Change-Id: I23fabc33f11a359249f5f80d161daf569d02ec03
2013-07-11 11:57:57 -07:00
Dmitry Kovalev
f70c021d36
Merge "Adding write_compressed_header function."
2013-07-11 11:57:17 -07:00
Dmitry Kovalev
0ac5e4dd58
Adding write_compressed_header function.
...
Change-Id: Ic5257fa8278e9b6297de230e4fd26a1e23ad2bb7
2013-07-10 15:08:34 -07:00
Jim Bankoski
865ca76604
Merge "remove warnings when NDEBUG is set"
2013-07-10 14:39:39 -07:00
Jim Bankoski
6591cf2f7e
remove warnings when NDEBUG is set
...
Change-Id: Ie0cb732fdcb98616a422c4463bff80642248d136
2013-07-10 14:27:20 -07:00
Dmitry Kovalev
417df1d42e
Merge "Adding encode_tiles function to vp9_bitstream.c."
2013-07-10 11:43:50 -07:00
Jim Bankoski
fb027a7658
removing case statements around prediction entropy coding
...
Removes SEG_ID
Removes MBSKIP
Removes SWITCHABLE_INTERP
Removes INTRA_INTER
Removes COMP_INTER_INTER
Removes COMP_REF_P
Removes SINGLE_REF_P1
Removes SINGLE_REF_P2
Removes TX_SIZE
Change-Id: Ie4520ae1f65c8cac312432c0616cc80dea5bf34b
2013-07-09 20:10:16 -07:00
Dmitry Kovalev
d82f459d1a
Adding encode_tiles function to vp9_bitstream.c.
...
Change-Id: Ie44824ec25fd8fdb25d7c8124a9b28c26d802029
2013-07-09 15:59:19 -07:00
Dmitry Kovalev
c6c279aff0
Merge "Using mi_cols instead of mb_cols."
2013-07-08 20:09:19 -07:00
Dmitry Kovalev
6254c8d780
Merge "Calling set_partition_seg_context() instead of code duplication."
2013-07-08 20:07:06 -07:00
Dmitry Kovalev
b7559258a4
Using mi_cols instead of mb_cols.
...
Eliminating usage of mb-units, switching to mi-units. Adding
ALIGN_POWER_OF_TWO macro.
Change-Id: I2491c969f713207c062011878b57e4e531818607
2013-07-08 14:54:04 -07:00
Dmitry Kovalev
2ce6b23473
Merge "Adding write_skip_coeff function."
2013-07-03 16:33:58 -07:00
Dmitry Kovalev
430bd0c94a
Merge "Replacing 64 / MI_SIZE with MI_BLOCK_SIZE."
2013-07-03 14:16:02 -07:00
Dmitry Kovalev
dda1835dc6
Adding write_skip_coeff function.
...
Change-Id: I221126f22ab9067348eb0efb8a73b15a8f49c3fd
2013-07-03 13:23:47 -07:00
Dmitry Kovalev
2ad62c9312
Calling set_partition_seg_context() instead of code duplication.
...
Change-Id: I65be6acc54c99688fd1f0c946cec3511514b8555
2013-07-03 11:15:58 -07:00
Dmitry Kovalev
5a21de8418
Replacing 64 / MI_SIZE with MI_BLOCK_SIZE.
...
Change-Id: I32276552b3ea6dc1dce8e298be114cfe1019b31c
2013-07-03 10:54:50 -07:00
Dmitry Kovalev
60198a595d
Merge "Adding write_selected_txfm_size function."
2013-07-03 10:33:55 -07:00
Dmitry Kovalev
be77f6bbbf
Removing redundant struct from union b_mode_info.
...
Change-Id: I08fc6e474ff2c12cfa065bae4989c724276e2c83
2013-07-02 16:51:57 -07:00
Dmitry Kovalev
edb060a77c
Adding write_selected_txfm_size function.
...
Change-Id: I143b430b7c24a964ccd0ebb75944cf317a072214
2013-07-02 16:41:22 -07:00
Dmitry Kovalev
bb8ccf1caf
Moving encoder subexp encoding functions to subexp.{h, c}.
...
Change-Id: I83ca53bf6def871f199a382a671f26ad7cbecbca
2013-06-29 11:50:45 -07:00
Dmitry Kovalev
8e6ce6bb9e
Removing CONFIG_DEBUG checks on assertions.
...
Adding CHECK_MEM_ERROR macro to vp9_common.h and removing two duplicated
ones from vp9_onyx_int.h and vp9_onyxd_int.h.
Change-Id: I916afec61b3019f18193135dac7c35ed0f89b8b6
2013-06-28 10:36:20 -07:00
Dmitry Kovalev
a3664258c5
Merge "General cleanup in segmentation-related code."
2013-06-27 14:57:07 -07:00
Dmitry Kovalev
be83ef3104
Merge "Moving subexp encoding functions in separate vp9_dsubexp.c file."
2013-06-27 14:55:18 -07:00
Paul Wilkins
9f3ab83486
Auto adapt step size feature.
...
Also tweaks to other features and experiments with
what is on and off at different speed settings.
Change-Id: I3e1d0be0d195216bf17c2ac5df67f34ce0b306b2
2013-06-26 19:48:39 +01:00
Dmitry Kovalev
be07485e9a
General cleanup in segmentation-related code.
...
Using consistent function and variable names.
Change-Id: I2deb3fded8797453a2081836c9ce2e79ade06eb7
2013-06-26 10:27:28 -07:00
Dmitry Kovalev
9467571777
Moving subexp encoding functions in separate vp9_dsubexp.c file.
...
Change-Id: Idbb2ea80f764fa830fe2ddcfc54ef7fe232f05a8
2013-06-25 11:53:17 -07:00
Yaowu Xu
12180c8329
Remove unnecessary copying of probs.
...
Change-Id: Ic924f07c6ab0c929c6cdf11880d3c625806e272c
2013-06-18 23:02:27 -07:00
John Koleszar
0f7a66e962
Remove constant vp9_coef_update_prob table
...
All elements of this table are equal to 252, so replace it with a
single constant VP9_COEF_UPDATE_PROB.
Change-Id: I1e2d1d284326ce6df9899a740c2fc344b3ec81c9
2013-06-14 15:12:31 -07:00
Ronald S. Bultje
8a0808a145
Fix row tiling.
...
Change-Id: I57be4eeaea6e4402f6a0cc04f5c6b7a5d9aedf9b
2013-06-12 13:42:59 -04:00
Deb Mukherjee
a4d906c132
Minor change in forward updates
...
Removes the case of coding prob = 0 for forward updates, since that
is not an allowed probability to code.
Slightly improves efficiency but may not matter in practice.
Change-Id: I3b4caf82e8f0891992f0706d4089cc5a27568dba
2013-06-11 10:33:07 -07:00
John Koleszar
9b78ed8229
Merge "Using network byte order (big-endian) to encode tile size." into experimental
2013-06-10 16:48:11 -07:00
Deb Mukherjee
a43ff15399
New probs for filters/tx_size and a few others
...
* New probs for subpel filters/tx_count
* Makes a change to not reset to defaults for the tx_size
probs if an intermediate frame reverts to using a fixed tx_size.
* A few updates to the parameters for backward adaptation for mode/mv
* some cosmetic cleanups
derf300: +0.06%
Change-Id: I22994d659bc31ca7a4fc8820fde24001e64a2920
2013-06-10 16:38:47 -07:00