diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-28 10:38:29 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-28 16:33:09 +0100 |
commit | 0c69164f451cc9ca6ce9d6e7568083e2776bc845 (patch) | |
tree | 23d53888203aa795c98625b7cd9bf8c1371d10e7 /libavcodec/h263.h | |
parent | 59dfc2b0c89f35c5805abee72c2ae4ee7af8e98d (diff) | |
download | ffmpeg-0c69164f451cc9ca6ce9d6e7568083e2776bc845.tar.gz |
h263: Convert function to macro
Diffstat (limited to 'libavcodec/h263.h')
-rw-r--r-- | libavcodec/h263.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h263.h b/libavcodec/h263.h index 1e49100485..dace2aee4d 100644 --- a/libavcodec/h263.h +++ b/libavcodec/h263.h @@ -40,6 +40,8 @@ #define CBPY_VLC_BITS 6 #define TEX_VLC_BITS 9 +#define H263_GOB_HEIGHT(h) ((h) <= 400 ? 1 : (h) <= 800 ? 2 : 4) + extern const AVRational ff_h263_pixel_aspect[16]; extern const uint8_t ff_h263_cbpy_tab[16][2]; @@ -122,7 +124,6 @@ int av_const h263_get_picture_format(int width, int height); void ff_clean_h263_qscales(MpegEncContext *s); int ff_h263_resync(MpegEncContext *s); const uint8_t *ff_h263_find_resync_marker(const uint8_t *p, const uint8_t *end); -int ff_h263_get_gob_height(MpegEncContext *s); void ff_h263_encode_motion(MpegEncContext * s, int val, int f_code); |