summaryrefslogtreecommitdiff
path: root/vp9/common
AgeCommit message (Collapse)Author
2013-08-09Renaming BLOCK_SIZE_TYPES constant to BLOCK_SIZES.Dmitry Kovalev
There will be another change set to rename BLOCK_SIZE_TYPE enum to BLOCK_SIZE. Change-Id: I8d1dfc873d6186fa5e554262f5169e929978085e
2013-08-09Inlining 16 as a stride for BLOCK_OFFSET macro.Dmitry Kovalev
Change-Id: I7f23d174eb089e5500f268a10db09648634c1b82
2013-08-09Merge "Using MV struct instead of int[2] array."Dmitry Kovalev
2013-08-09Merge "Removing plane_block_{width, height}_log2by4 functions."Dmitry Kovalev
2013-08-09Merge "Moving loopfilter struct to VP9_COMMON."Dmitry Kovalev
2013-08-09Moving loopfilter struct to VP9_COMMON.Dmitry Kovalev
Loop filter configuration doesn't belong to macroblock, so moving it from MACROBLOCKD to VP9_COMMON. Also moving the declaration of loopfilter struct from vp9_blockd.h to vp9_loopfilter.h. Change-Id: I4b3e34be9623b47cda35f9b1f9951f8c5b1d5d28
2013-08-09Moving scale_factors and related code to separate files.Dmitry Kovalev
Change-Id: I531829e5aee2a4a7a112d528ecccbddf052d0e74
2013-08-09Merge "Using buf_2d struct instead of separate buffer and stride vars."Dmitry Kovalev
2013-08-09Merge "Correct bug in loopfilter initialization"Adrian Grange
2013-08-09Correct bug in loopfilter initializationAdrian Grange
The memset sets 16 bytes rather than the correct size of the final array dimension (MAX_MODE_LF_DELTAS). (In response to bug posted by Manjit Hota to codec-devel and webm-discuss lists) Change-Id: I8980f5aa71ddc9d7ef57c5b4700bc28ddf8651c7
2013-08-09Added lpf level picking using partial frameYaowu Xu
Change-Id: I599ab1bd22b5f3f10d5962c609952abdef8ff67a
2013-08-08Using buf_2d struct instead of separate buffer and stride vars.Dmitry Kovalev
Change-Id: Id5cc3566cc16d1e3030ddb4d1c58459320321dca
2013-08-08General code cleanup.Dmitry Kovalev
Removing redundant parenthesis and curly braces. Combining declarations with initializations. Adding useful intermediate variables instead of recalculating expressions every time. Change-Id: I00106f404afd60bfc189905b0fded881684f941a
2013-08-08Merge "Cleanup inside vp9_reconinter.c."Dmitry Kovalev
2013-08-08Using MV struct instead of int[2] array.Dmitry Kovalev
Change-Id: Iab951c555037e36b154f319f351c5e67f9abb931
2013-08-08Removing unneeded intermediate entropy_nodes_adapt var.Dmitry Kovalev
Change-Id: I541a178d997b4541e0e2d4d5b854e2ed6b113c3a
2013-08-07Removing plane_block_{width, height}_log2by4 functions.Dmitry Kovalev
Change-Id: I040b82b8e32aee272d10cbb021c7ba1c76343d7a
2013-08-07Cleanup inside vp9_reconinter.c.Dmitry Kovalev
Using block width and block height instead of their logarithms. Using SUBPEL_BITS and SUBPEL_SHIFTS constants instead of magic numbers. Change-Id: I4e10e93c907c8a5e1cb27dfe74d1fcdcc4995448
2013-08-07Merge "Using only one scale function in scale_factors struct."Dmitry Kovalev
2013-08-07Adding ss_size_lookup table.Dmitry Kovalev
Removing the old one bsize_from_dim_lookup. Now we have a way to determine block size for plane using its subsampling values (ss_size_lookup). And then we can find the number of pixels in the block (num_pels_log2_lookup). Change-Id: I6fc981da2ae093de81741d3d78eaefed11015db9
2013-08-06Neon version of vp9_short_idct4x4_add.Christian Duvivier
Change-Id: Idec4cae0cb9b3a29835fd2750d354c1393d47aa4
2013-08-06Merge "Motion vector code cleanup."Dmitry Kovalev
2013-08-06Using only one scale function in scale_factors struct.Dmitry Kovalev
Functions scale_mv_q4 and scale_mv_q3_to_q4 were almost identical except q3->q4 conversion in scale_mv_q3_to_q4. Now q3->q4 conversion happens directly in vp9_build_inter_predictor. Also adding useful constants: SUBPEL_BITS and SUBPEL_MASK. Change-Id: Ia0a6ad2ac07c45fdf95a5139ece6286c035e9639
2013-08-06variance x86inc guardsJim Bankoski
also fixed bug in sad calcs Change-Id: I6571fcbe37556c16ae32be66dc0fd879852aac1d
2013-08-06sse3 intrapred x86inc protectedJim Bankoski
Change-Id: I4a3c83119cdf8a205920034c8019d855d5504605
2013-08-06sad + miscellaneous updatesJim Bankoski
Enable use_x86inc as a commandline option. Fix Bug with sse2 when x86inc is disabled. Adds Sad asm protection to x86inc protection Change-Id: Iee0f9dd235ea10e8ace512eb362ba9bebe8c9df6
2013-08-06Merge "Inlining vp9_get_pred_probs_switchable_interp function."Dmitry Kovalev
2013-08-06Inlining vp9_get_pred_probs_switchable_interp function.Dmitry Kovalev
There was no benefit having this function. For example, inside read_switchable_filter_type switchable filter context was calculated twice. Change-Id: I79cd5bf95cbc0f6d8bf91a2e32289e01b18dcff1
2013-08-06Merge "intrapred x86inc guards"Jim Bankoski
2013-08-06Motion vector code cleanup.Dmitry Kovalev
Converting arguments of two functions (clamp_mv_ref, lower_mv_precision) from int_mv* to MV*. Rewriting is_inside function to make it much shorter. Change-Id: Ie4c4cf3eccd46707c7df099ec21fb1b61c72fc7a
2013-08-06Merge "Finally removing all old block size constants."Dmitry Kovalev
2013-08-06Merge "Changing the order switchable filter enum constants."Dmitry Kovalev
2013-08-06intrapred x86inc guardsJim Bankoski
Change-Id: If0399d8e11f4ebe75a5c91abb8d6a52a7709065b
2013-08-06block error / x86inc modsJim Bankoski
Change-Id: Icb607745634e10b9bac5019d06661ece09fcdb40
2013-08-05reworked config for use_x86_incJim Bankoski
Support enabling it or disabling it. Moved read out to configure.sh so that its done once instead of in make and in config. Change-Id: I73a9190cf31de9f03e8a577f478fa522f8c01c8b
2013-08-05Merge changes I082959ab,Ib6932640James Zern
* changes: vp9/decoder: threaded row-based loop filter vp9/decoder: add thread worker
2013-08-05Finally removing all old block size constants.Dmitry Kovalev
Change-Id: I3aae21e88b876d53ecc955260479980ffe04ad8d
2013-08-05fixed script problem with config_force_x86_incJim Bankoski
Change-Id: I226e5094d216b09dc47fa5511a66e2d314608000
2013-08-05Merge "Begin to restrict x86inc.asm usage"Jim Bankoski
2013-08-05Merge "cleanups after bw bh code"Jim Bankoski
2013-08-05vp9/decoder: threaded row-based loop filterJames Zern
Currently the only threaded option for vp9 decode. Enabled when the decoder config thread count is > 1. Change-Id: I082959abac9e31aa4a38ed9fd68b94680e57f4df
2013-08-05Changing the order switchable filter enum constants.Dmitry Kovalev
This changeset allows to remove vp9_switchable_interp and vp9_switchable_interp_map arrays and make code much clear. Actually we still have to use these mapping but only inside read_interp_filter_type and write_interp_filter_type functions. Change-Id: I4026c6f8c4acefba6c81421b7bacbaa52cc45f50
2013-08-05cleanups after bw bh codeJim Bankoski
Cons bw/bh parms that should have been const. Additional formatting. Change-Id: Icd36a5c9dc17dadd7284315ac0d6fef1a565ca16
2013-08-05Begin to restrict x86inc.asm usageJim Bankoski
Chromium does not support 32bit builds for Mac which use x86inc.asm. Make the files which include it work if 64bit or not PIC enabled starting with vp9_copy_sse2.asm Consolidate these targets in vp9_rtcd_defs.sh Change-Id: If18f0b957a611efd085a3ee7d245cf1eb91e8248
2013-08-05Replacing long block size enum values with shorter ones (2).Dmitry Kovalev
Change-Id: I428c4d42212b757112e3acfe5b81314cfbb5fd6b
2013-08-05Merge "Cleaning up vp9_build_inter_predictor function."Dmitry Kovalev
2013-08-03reworked find_mv_refJim Bankoski
This is an attempt at rewriting vp9_find_mv_refs_idx. I believe that it gains about 1-2% decode speed Change-Id: Ia5359c94ce9bb43b32652890e605e9a385485c1b
2013-08-02Merge "Adding is_inter_block function."Dmitry Kovalev
2013-08-02Cleaning up vp9_build_inter_predictor function.Dmitry Kovalev
Change-Id: I94f6b4272b95ac101de6d10f048116ba065788b0
2013-08-02Merge "Changing function arg type from int_mv* to MV*."Dmitry Kovalev