vpx/vp8/encoder
John Koleszar 63cb1a7ce0 cleanup: collect twopass variables
This patch collects the twopass specific memebers of VP8_COMP into a
dedicated struct. This is a first step towards isolating the two pass
rate control and aids readability by decorating these variables with
the 'twopass.' namespace. This makes it clear to the reader in what
contexts the variable will be valid, and is a hint that a section of
code might be a good candidate to move to firstpass.c in later
refactoring. There likely will be other rate control modes that need
their own specific data as well.

This notation is probably overly verbose in firstpass.c, so an
alternative would be to access this struct through a pointer like
'rc->' instead of 'cpi->firstpass.' in that file. Feel free to make
a review comment to that effect if you prefer.

Change-Id: I0ab8254647cb4b493a77c16b5d236d0d4a94ca4d
2011-05-19 17:26:09 -04:00
..
arm neon fast quantizer updated 2011-05-06 08:59:52 +03:00
generic Merge "changed configure option name to reduce confusion" 2011-05-19 11:17:08 -07:00
ppc Fix relative include paths 2011-02-10 15:09:44 -05:00
x86 Merge "changed configure option name to reduce confusion" 2011-05-19 11:17:08 -07:00
asm_enc_offsets.c Wrapper function removed from vp8_subtract_b_neon function call 2011-04-01 10:06:44 +03:00
bitstream.c Using int_mv instead of MV 2011-05-12 11:08:16 -04:00
bitstream.h Add runtime CPU detection support for ARM. 2010-10-25 09:23:29 -04:00
block.h Remove unused members of VP8_COMP 2011-05-19 15:49:09 -04:00
boolhuff.c Fix relative include paths 2011-02-10 15:09:44 -05:00
boolhuff.h Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
dct.c Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
dct.h Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
encodeframe.c Remove unused members of VP8_COMP 2011-05-19 15:49:09 -04:00
encodeintra.c remove a variable no longer in use 2011-05-10 19:57:51 -07:00
encodeintra.h Increase static linkage, remove unused functions 2011-03-17 20:53:47 -04:00
encodemb.c clean up unused variable warnings 2011-05-09 12:56:20 -04:00
encodemb.h Removed redundant checks of the mode_info_context flags 2011-04-20 14:06:40 -04:00
encodemv.c Use full-pixel MV in mvsadcost calculation 2011-04-01 16:41:58 -04:00
encodemv.h Use full-pixel MV in mvsadcost calculation 2011-04-01 16:41:58 -04:00
ethreading.c Remove unused members of VP8_COMP 2011-05-19 15:49:09 -04:00
firstpass.c cleanup: collect twopass variables 2011-05-19 17:26:09 -04:00
firstpass.h Move firstpass motion map to stats packet 2010-10-21 14:04:20 -04:00
lookahead.c Refactor lookahead ring buffer 2011-04-13 14:26:45 -04:00
lookahead.h Refactor lookahead ring buffer 2011-04-13 14:26:45 -04:00
mcomp.c Removed mv_bits_sadcost 2011-05-12 11:20:41 -04:00
mcomp.h Using int_mv instead of MV 2011-05-12 11:08:16 -04:00
modecosts.c Fix relative include paths 2011-02-10 15:09:44 -05:00
modecosts.h Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
onyx_if.c cleanup: collect twopass variables 2011-05-19 17:26:09 -04:00
onyx_int.h cleanup: collect twopass variables 2011-05-19 17:26:09 -04:00
pickinter.c Remove unused members of VP8_COMP 2011-05-19 15:49:09 -04:00
pickinter.h Define RDCOST only once 2011-04-11 11:53:56 -04:00
picklpf.c cleanup: collect twopass variables 2011-05-19 17:26:09 -04:00
psnr.c Increase static linkage, remove unused functions 2011-03-17 20:53:47 -04:00
psnr.h Increase static linkage, remove unused functions 2011-03-17 20:53:47 -04:00
quantize.c Move quantizer init functions to quantize.c 2011-05-19 11:07:41 -04:00
quantize.h Move quantizer init functions to quantize.c 2011-05-19 11:07:41 -04:00
ratectrl.c cleanup: collect twopass variables 2011-05-19 17:26:09 -04:00
ratectrl.h Move pick_frame_size() to ratectrl.c 2011-04-26 16:49:54 -04:00
rdopt.c cleanup: collect twopass variables 2011-05-19 17:26:09 -04:00
rdopt.h Using int_mv instead of MV 2011-05-12 11:08:16 -04:00
sad_c.c Full search SAD function optimization in SSE4.1 2010-10-27 13:36:31 -04:00
segmentation.c Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
segmentation.h Fix relative include paths 2011-02-10 15:09:44 -05:00
ssim.c clean up unused variable warnings 2011-05-09 12:56:20 -04:00
temporal_filter.c Using int_mv instead of MV 2011-05-12 11:08:16 -04:00
temporal_filter.h x86 sse2 temporal_filter_apply 2011-01-06 14:00:30 -05:00
tokenize.c Removed dc_diff from MB_MODE_INFO 2011-04-21 14:38:36 -04:00
tokenize.h Fix relative include paths 2011-02-10 15:09:44 -05:00
treewriter.c Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
treewriter.h Fix relative include paths 2011-02-10 15:09:44 -05:00
variance_c.c Increase static linkage, remove unused functions 2011-03-17 20:53:47 -04:00
variance.h changed configure option name to reduce confusion 2011-04-29 09:39:05 -07:00