From 0c69164f451cc9ca6ce9d6e7568083e2776bc845 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Tue, 28 Apr 2015 10:38:29 +0100 Subject: h263: Convert function to macro --- libavcodec/h263.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/h263.h') 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); -- cgit v1.2.3