summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-07Refactor setting up MVs and buffers in rdopt.cDaniel Kang
Change-Id: I94f08f2cfb37d11d71050dca3200f1d391269a6a
2012-08-07Some refactoring of mcomp functions.Daniel Kang
Change-Id: Ic7a7cb1199b085e98ede0e634619b3077c348d57
2012-08-07Change the RD cost functions to take into account the seg_eob.Daniel Kang
Change-Id: I2f96e5b205f70fdb559f01637c4b5730246c38a8
2012-08-07clamp_mv_min_max -> vp8_clamp_mv_min_maxDaniel Kang
It's now used in more places Change-Id: I63f8e1d827404e0b4f203bdb1df361e565d0779d
2012-08-07More refactoring and cosmetics to rdopt.cDaniel Kang
Change-Id: I7803d719ead238189e75c52701c3bb6c1552f4b5
2012-08-07Reorganiziation of the RD loop to make more sense.Daniel Kang
Change-Id: Ia1e3b0ff9b70747b3725391de59f230edab767d7
2012-08-07Minor cosmetic changes to rdopt.c.Daniel Kang
Change-Id: Ib7b972486ccbbcb82fa4c05a5f6d7f8aaec32155
2012-08-07Combine vp8_block_error_c and vp8_submb_error_c.Daniel Kang
Change-Id: I58792bac6c7e5a524a6dcdb5241ef18bcc0c3a45
2012-08-07A bit of temporary relief on encoder slownessYaowu Xu
The commit replaces run-time initialization of cosine constants with static constant values, which provides ~30% relief on slow speed. The real solution, however will be to implement integer versions of those functions that current use float/double. Change-Id: Ie3ff1793509653d78dd1aeaf88cc6737da1bc55f
2012-08-07a new way of determining reference motion vectorYaowu Xu
Using surrounding reconstructed pixels from left and above to select best matching mv to use as reference motion vector for mv encoding. Test results: AVGPSNR GLBPSNR VPXSSIM Derf: 1.107% 1.062% 0.992% Std-hd:1.209% 1.176% 1.029% Change-Id: I8f10e09ee6538c05df2fb9f069abcaf1edb3fca6
2012-08-06Refactoring hybrid transform codingJingning Han
The forward and inverse hybrid transforms are now performed using single function modules, where the dimension is sent as argument. Added an inline function clip8b to clip the reconstruction pixels into range of 0-255. Change-Id: Id7d870b3e1aefc092721c80c0af6f641eb5f3747
2012-08-06Remove code to set transform size.Daniel Kang
It's reset in calling functions. Change-Id: Ia5df086de615aac6feb3c911fe298626a002b850
2012-08-06Combine cost_coeffs functions.Daniel Kang
Change-Id: I3421d07fdcf2148d75c8dbfc8c44bc2d96a3a8f6
2012-08-06Merge token_costs into a single table.Daniel Kang
Change-Id: Id1ea2d543f12d4589df7038d5fb7bac1fee4da11
2012-08-06More refactoring of RD cost to make later changes easier.Daniel Kang
Change-Id: Ia6a290a6a53fdb88c971bea2de47ac73dcb7a364
2012-08-06Minor refactoring of RD cost functions.Daniel Kang
Change-Id: I876955b1d577321b5cd3f71e3fb2c4083ad5111b
2012-08-06Add x86_64-darwin11-gcc target.Christian Duvivier
This allows building on MountainLion as the 10.6 SDK has been removed from the latest Xcode version (4.4 4F250). Also fix all warnings for that build. Change-Id: Ib70bca4a25295f13595f0d10ea9f0229631de5a4
2012-08-06Merge "enable interleaved decoding of mode and mv" into experimentalYaowu Xu
2012-08-06Merge "fix msvc build" into experimentalYaowu Xu
2012-08-03Merging in high_precision_mv experimentDeb Mukherjee
Merged in the high_precision_mv experiment to make it easier to work on new mv encoding strategies. Also removed coef_update_probs3(). Change-Id: I82d3b0bb642419fe05dba82528bc9ba010e90924
2012-08-03enable interleaved decoding of mode and mvYaowu Xu
Previouly, the decoding of mode and motion vector are done a per frame basis followed by residue decoding and reconstuction. The commit added the option to allow decoder to interleave the decoding of mode and mvs with the residue decoding on a per MB basis. Change-Id: Ia5316f4a7af9ba7f155c92b5a6fc97201b653571
2012-08-03Replacing the 8x8 DCT with 8x8 ADST/DCT for I8x8Jingning Han
Fixed the code review comments. Under the htrans8x8 experiment the 8X8 DCT in the I8X8 mode is replaced with a combination of 8X8 ADST and DCT. Overall coding gains with the htrans8x8 experiment are: derf: 0.486 std-hd: 1.040 hd: 1.063 yt: 0.506 Note that part of the gain comes from bigger transforms (8x8 instead of 4x4) and part comes from replacing the DCT wth the ADST. Change-Id: I92ca6bbfce11b4165d612b81d9adfad4d010c775
2012-08-03fix msvc buildYaowu Xu
Change-Id: I377d50cb347f50341ab6f5f456a6a64438bcb667
2012-08-03Merge "16x16 DCT blocks." into experimentalDaniel Kang
2012-08-03Merge "Merging and bug-fix in enhanced_interp experiment" into experimentalDeb Mukherjee
2012-08-0216x16 DCT blocks.Daniel Kang
Set on all 16x16 intra/inter modes Features: - Butterfly fDCT/iDCT - Loop filter does not filter internal edges with 16x16 - Optimize coefficient function - Update coefficient probability function - RD - Entropy stats - 16x16 is a config option Have not tested with experiments. hd: 2.60% std-hd: 2.43% yt: 1.32% derf: 0.60% Change-Id: I96fb090517c30c5da84bad4fae602c3ec0c58b1c
2012-08-02Merge "A few more conversions from 32-bit to 64-bit RD calculations." into ↵Ronald S. Bultje
experimental
2012-08-02Define INT64_MAX for msvc to buildYaowu Xu
Change-Id: I6cb88d87b7549ded1de6ff9ef65ff958ad448999
2012-08-02A few more conversions from 32-bit to 64-bit RD calculations.Ronald S. Bultje
Change-Id: Ida01bb8f4b35fde24b0f096329d326833f1fdc7e
2012-08-02Make RDCOST() results 64-bit.Ronald S. Bultje
This prevents various integer overflows that several of us have been seeing in the past few days. Change-Id: If0020613a608e13d311b7838796c7ad53cb97255
2012-08-02Use 8x8 DCT transform for I8X8 prediction modeJingning Han
Apply 2D-DCT transform of dimension 8x8 to encode prediction residuals of I8X8 mode. Brought back block type 3 probability context model for 8x8 tokens, which is used for the coefficients of Y blocks in I8x8 modes. The coefficient costs estimate of I8X8 mode in rate-distortion is also changed appropriately. Performance results: derf: 0.246 yt: 0.114 std-hd: 0.730 hd: 0.670 Change-Id: If1d970eeb4e1827c9f0d2c5b27d33089b347ea27
2012-07-31Removed macros for merged experimentsAdrian Grange
Removed two macros corresponding to experiments that were merged into the main code. Change-Id: I894e8b509a2bb88557f9aba6f226ed7807745065
2012-07-31Merging and bug-fix in enhanced_interp experimentDeb Mukherjee
Merged the enhanced_interp experiment. Found and fixed a bug in the include files framework, whereby certain encoder files were still using the old INTERP_EXTEND value of 3 instead of 4. The thresholds for mv range mcomp.c need a small adjustment to prevent crashes. The results are more or less unchanged. Change-Id: Iac5008390f1efc97ce1102fbb5f8989c847fb579
2012-07-30Adds support for switchable interpolation filters.Deb Mukherjee
Allows for swtiching/setting interpolation filters at the MB level. A frame level flag indicates whether to use a specifc filter for the entire frame or to signal the interpolation filter for each MB. When switchable filters are used, the encoder chooses between 8-tap and 8-tap sharp filters. The code currently has options to explore other variations as well, which will be cleaned up subsequently. One issue with the framework is that encoding is slow. I tried to do some tricks to speed things up but it is still slow. Decoding speed should not be affected since the number of filter taps remain unchanged. With the current version, we are up 0.5% on derf on average but some videos city/mobile improve by close to 4 and 2% respectively. If we did a full-search by turning the SEARCH_BEST_FILTER flag on, the results are somewhat better. The framework can be combined with filtered prediction, and I seek feedback regarding that. Rebased. Change-Id: I8f632cb2c111e76284140a2bd480945d6d42b77a
2012-07-27Merge "Merges several experiments" into experimentalDeb Mukherjee
2012-07-27Merges several experimentsDeb Mukherjee
The following five experiments are merged: newentropy newupdate adaptive_entropy (also includes a couple of parameter changes that improves results a little in common/entropymode.c and encoder/modecosts.c that were not merged from the internal branch) newintramodes expanded_coef_context Change-Id: I8a142a831786ee9dc936f22be1d42a8bced7d270
2012-07-26Merge "shared object on mac osx" into experimentalJohn Koleszar
2012-07-25shared object on mac osxjimbankoski
Change-Id: Ibf357eb492e7d5883fbdf1ddf455e28767c1d65d
2012-07-25Merge "Added const specifier to remove warning" into experimentalAdrian Grange
2012-07-25Merge "Use macro for filter extension length" into experimentalAdrian Grange
2012-07-24makefile: fix .so build ruleJohn Koleszar
Use $^ vs $? to capture all prerequisites, rather than only newer ones. Change-Id: I464ffb2913cf60f5ca5e07518ad4bf7da10baf87
2012-07-24Added const specifier to remove warningAdrian Grange
The "codecs" array is defined as const so too should the local variable that points too it. Change-Id: I536a9ced52257dc44a04fc1a3cad94c1e86f69aa
2012-07-24Use macro for filter extension lengthAdrian Grange
Replaced local definitions of the extension required by the filters with the globally defined value. Change-Id: If9e590a1f2e5b0bdc2d3e3c3f04aacbd3b09bfee
2012-07-24Merge "Update 8x8 tokenizer to not encode an EOB if seg_eob is active." into ↵Daniel Kang
experimental
2012-07-24remove extra end of lineJim Bankoski
This commit fixes up shared lib builds on linux. Change-Id: Ib109dc5a226dc5d7874d2e5b333466cbfd4f4661
2012-07-23Update 8x8 tokenizer to not encode an EOB if seg_eob is active.Daniel Kang
Change-Id: Id2bac0597b6dd1ce41bd78cbd9e9d876b71cd8a2
2012-07-23Dll build of libvpxJim Bankoski
Change-Id: I74e50b4dfbe73eb98e1dce1695a9973f637220c0
2012-07-19fixed a compiling issueYaowu Xu
Change-Id: I9ccbea76eaeb81ce7b833dd92216734725796e84
2012-07-19Adds hybrid transformJingning Han
Adds ADST/DCT hybrid transform coding for Intra4x4 mode. The ADST is applied to directions in which the boundary pixels are used for prediction, while DCT applied to directions without corresponding boundary prediction. Adds enum TX_TYPE in b_mode_infor to indicate the transform type used. Make coding style consistent with google style. Fixed the commented issues. Experimental results in terms of bit-rate reduction: derf: 0.731% yt: 0.982% std-hd: 0.459% hd: 0.725% Will be looking at 8x8 transforms next. Change-Id: I46dbd7b80dbb3e8856e9c34fbc58cb3764a12fcf
2012-07-18Merge "removed floating point version 8x8 fdct" into experimentalYaowu Xu