diff options
author | Ronald S. Bultje <rbultje@google.com> | 2012-10-15 10:52:13 -0700 |
---|---|---|
committer | Ronald S. Bultje <rbultje@google.com> | 2012-10-15 10:56:39 -0700 |
commit | e788146247d47e0e24ad92259f6f016ffcf7b55a (patch) | |
tree | 8c75788a10daec09557ca59afa6b27f28fb51c05 /vp8/encoder/onyx_int.h | |
parent | 41e3a9ef14ce3e1da623e1e7e255e9376af3b7bd (diff) | |
download | libvpx-e788146247d47e0e24ad92259f6f016ffcf7b55a.tar libvpx-e788146247d47e0e24ad92259f6f016ffcf7b55a.tar.gz libvpx-e788146247d47e0e24ad92259f6f016ffcf7b55a.tar.bz2 libvpx-e788146247d47e0e24ad92259f6f016ffcf7b55a.zip |
Add a new token stuffing function vp8_stuff_mb().
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
Diffstat (limited to 'vp8/encoder/onyx_int.h')
-rw-r--r-- | vp8/encoder/onyx_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 696da14ed..1e7494039 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -805,6 +805,7 @@ void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x); int rd_cost_intra_mb(MACROBLOCKD *x); void vp8_tokenize_mb(VP8_COMP *, MACROBLOCKD *, TOKENEXTRA **, int dry_run); +void vp8_stuff_mb(VP8_COMP *cpi, MACROBLOCKD *xd, TOKENEXTRA **t, int dry_run); void vp8_set_speed_features(VP8_COMP *cpi); |