- 25 Oct, 2012 - 3 commits
-
-
Ronald S. Bultje authored
Change-Id: I87d571008c73f0a8514e0a864405aadb82fd1bc0
-
Ronald S. Bultje authored
Change-Id: I6a28cc87af275fc267b3cc8d90d642dcc870c249
-
Ronald S. Bultje authored
Change-Id: Ie33f7d0f90d0e5862be975d676a700d06f79eec6
-
- 24 Oct, 2012 - 3 commits
-
-
Ronald S. Bultje authored
Change-Id: Ibb51f3f8c3575d4621890220b20887a13a46a04e
-
Ronald S. Bultje authored
Change-Id: I2823043634b0fa617c2715d63ff18595b7209287
-
John Koleszar authored
Refactor per-transform copy & paste into a common function update_coef_probs_common() and read_coef_probs_common(). The dry-run and bit-writing loops in the encoder are still obvious candidates to be made common, but they start to diverge a bit in the next commit, so are left as-is for now. Change-Id: I896bd3f4a073a6296eab7e92463fef79d8c6c08c
-
- 23 Oct, 2012 - 2 commits
-
-
Ronald S. Bultje authored
Change-Id: I240d6b50069fd3f35cc4fed2f4507796f0ef25e9
-
Deb Mukherjee authored
There is a macro DEFAULT_INTERP_FILTER defined in encoder/onyx_if.c that is set as EIGHTTAP for now - so SWITCHABLE is not really used. Ideally, this should be SWITCHABLE but that would make the encoder quite a bit slower. We will change the default filter to SWITCHABLE once we find a faster way to search for switchable filters. Change-Id: Iee91832cdc07e6e14108d9b543130fdd12fc9874
-
- 22 Oct, 2012 - 10 commits
-
-
Deb Mukherjee authored
Change-Id: I0d306b0062be59bc785b65882691c956c8b5e7c8
-
Deb Mukherjee authored
Removes the old mv encoding code. Change-Id: I1026d48cc5ac15ccb776f98463e929254c3dc7da
-
Ronald S. Bultje authored
Change-Id: Ibc4425bb6e01606751021e57c93106c365a2da21
-
Scott LaVarnway authored
Change-Id: I5bca7b7a4b230082d36ac6fb84db84137ad177d7
-
Deb Mukherjee authored
Change-Id: I99f1982b30a630a9a070a8326d83b34a33cba14c
-
Ronald S. Bultje authored
Change-Id: I02e7f64a7c99f6c222b9ef21341b0e801d646810
-
Ronald S. Bultje authored
For splitmv, where partitioning is 8x16, 16x8 or 8x8, this patch uses the 8x8 transform (instead of the 4x4) if txfm_mode is ALLOW_8X8 or ALLOW_16X16. For TX_MODE_SELECT, splitmv can indicate which of the 2 transform sizes (4x4 or 8x8) it wants to use. Gains (with hybridtx4x4/8x8/16x16 and tx_select experiments enabled) on derf: +0.9%, HD: +0.4%, STD/HD: +0.8% (SSIM or overall PSNR, both metrics show similar improvements). Change-Id: Ide954b000b415548ed92a7ac78e24f36e60fcf06
-
Ronald S. Bultje authored
This can be used to distinguish between 16x8, 8x16, 8x8 and 4x4 partitioning modes when choosing splitmv as a MB mode. Change-Id: Idc8b59772e1a80ccc4ad44d63c5c2ec3fc061a3c
-
Ronald S. Bultje authored
It currently counts the probability that the branch is true, but it should count the probability that the branch is false. Change-Id: I963825da2e7a7ed3a613eb23ffd085e427dc36e5
-
Jim Bankoski authored
Change-Id: Idd2722a538423b451e1e3495f89a7141480493d6
-
- 21 Oct, 2012 - 1 commit
-
-
Deb Mukherjee authored
Allows B_VL_PRED & B_LD_PRED modes to be used for all blocks within a MB in B_PRED mode. These modes were temporarily disabled with super-block coding. Change-Id: I973b9bdb82c3da5f12d7cc963162a28805f25303
-
- 20 Oct, 2012 - 1 commit
-
-
Ronald S. Bultje authored
Change-Id: Ica58d0c7d8addb5ddd5d6e1fdea8f0f96e110862
-
- 19 Oct, 2012 - 3 commits
-
-
John Koleszar authored
There were several different methods for calculating bitstream probabilities in use. Consolodate these into a pair of functions, get_prob() and get_binary_prob(). Change-Id: I5534f517f74027fee16d89c9baefaafea8156b2f
-
John Koleszar authored
Pass the bool coder to be used explicitly. This avoids cases where two different bool coders can be addressed from the same function. Also be more consistent with bool coder variable naming, start to standardize on 'bc'. Change-Id: I1c95e2fdbe24ebe8c0f84924daa1728e3b054a31
-
Deb Mukherjee authored
Separates the logic on transform type selection previously spread out over a number of files into a separate function. Currently the tx_type field in b_mode_info is not used, but still left in there to eventually use for signaling the transform type in the bitstream. Also, now for tx_type = DCT_DCT, the regular integer DCT is used, as opposed to the floating point DCT used in conjuction with hybrid transform. Results change somewhat due to the transform change, but are within reasonable limits. The hd/std-hd sets are slightly up, while derf/yt are slightly down. Change-Id: I5776840c2239ca2da31ca6cfd7fd1148dc5f9e0f
-
- 18 Oct, 2012 - 2 commits
-
-
Deb Mukherjee authored
Change-Id: If9fc2df4051ccfb8d804dae9d1be08d12d0f81ce
-
Ronald S. Bultje authored
Change-Id: Ib42a5dbded27abf2a01fd656a47a1e96b1fe2912
-
- 17 Oct, 2012 - 6 commits
-
-
Ronald S. Bultje authored
Change-Id: Id8a7265dc721e5cdcaa144e0041beeb32a98f51c
-
John Koleszar authored
remove useless space after address-of operator. Change-Id: I1fb9e82e8d6cf87558fbd454fb5c0f87599ca2ab
-
John Koleszar authored
This commit moves a bit of data that ended up packed with the modes/mv/residual partition during the change to interleaved encoding into partition 0 where it belongs. Change-Id: Ic711a378c58d9d6a17254384f492c213a15bad92
-
Ronald S. Bultje authored
Change-Id: Ic975ab85a9924adc7b3d421f64155cc79f40ffd0
-
John Koleszar authored
Packs the bitstream with each mb's residual following its mode/mv information. TODO: There are still a few fields that should be packed into partition 0 but are included in partition 1, due to them being serialized from write_kfmodes/pack_inter_mode_mvs, which execute after the first partition is finalized. These need to be separated out into a separate function, similar to mb_mode_mv_init() in decodemv.c. Change-Id: I43a46c363601ab36954d07ebe498760e1e2e3af4
-
Ronald S. Bultje authored
Change-Id: I76095d5a02edcc5d404ea830157780b24fd509d7
-
- 16 Oct, 2012 - 2 commits
-
-
Ronald S. Bultje authored
Change-Id: I0681d3183f51627be8c2bb76f343b7270f9116d8
-
Jim Bankoski authored
This reinstates reverted commit 2113a831 Change-Id: I9a9af13497d1e58d4f467e3e083fddf06b1b786c
-
- 15 Oct, 2012 - 7 commits
-
-
Ronald S. Bultje authored
It is essentially a duplicate of mode for RD-only purposes. Removing it saves us 4 bytes per B_MODE_INFO, or ~0.5MB for a 1080p video encode. Change-Id: I0a54db5f51658b3946d7efb1ca6e8cfbda0cdf88
-
Ronald S. Bultje authored
The variable is essentially a duplicate of mode for RD-only purposes. Removing it gives identical results, and saves 4 bytes per macroblock (i.e. 32.5kB for a 1080p HD video encode). Change-Id: I22d5058fdb80ab0b69862caee825e9d86bb148b3
-
Ronald S. Bultje authored
Change-Id: Ieb38c7aae91dbaca4a8add204fa84e1cfc459933
-
Ronald S. Bultje authored
This way a caller doesn't need to implement the logic for which (and how many) tokens to write out to stuff one macroblock worth of EOBs. Make the actual function implementations static, since they are now only used in tokenize.c; also do some minor stylistic changes so it follows the style guide a little more closely; use PLANE_TYPE where appropriate, remove old (stale) frame_type function arguments; hardcode plane type where only a single one is possible (2nd order DC or U/V EOB stuffing); support stuffing 8x8/4x4 transform EOBs with no 2nd order DC. Change-Id: Ia448e251d19a4e3182eddeb9edd034bd7dc16fa3
-
Ronald S. Bultje authored
Change the macros PLANE_TYPE_{Y_NO_DC,Y2,UV,Y_WITH_DC} to a typed enum, and use this typed enum consistently across all places where relevant. In places where the type is implied (e.g. in functions that only handle second order planes or chroma planes), remove it as a function argument and instead hardcode the proper enum in the code directly. Change-Id: I93652b4a36aa43163d49c732b0bf5c4442738c47
-
Ronald S. Bultje authored
Also merge the three occurrences of 4x4 chroma block writing into a single function, and call that function instead of duplicating the 4x4 chroma tokenization code in 3 places. Change-Id: I7913538d1029f709b0e3ae49fff1148d3be9eeb9
-
Ronald S. Bultje authored
Merge code blocks for different transform sizes; use MACROBLOCKD as a temp variable where that leads to smaller overall source code; remove duplicate code under #if CONFIG_HYBRIDTRANSFORM/#else blocks. Some style changes to make it follow the style guide a little better. Change-Id: I1870a06dae298243db46e14c6729c96c66196525
-