Mercurial > libavcodec.hg
comparison avcodec.h @ 2492:57ba17bd3924 libavcodec
rtp_callback: send number of mb patch by (Johan Bilien {jobi via.ecp fr)
author | michael |
---|---|
date | Wed, 02 Feb 2005 18:14:59 +0000 |
parents | dfdb6bf4b90f |
children | 258120c61eea |
comparison
equal
deleted
inserted
replaced
2491:c559ea6e395c | 2492:57ba17bd3924 |
---|---|
15 #include "rational.h" | 15 #include "rational.h" |
16 #include <sys/types.h> /* size_t */ | 16 #include <sys/types.h> /* size_t */ |
17 | 17 |
18 #define FFMPEG_VERSION_INT 0x000409 | 18 #define FFMPEG_VERSION_INT 0x000409 |
19 #define FFMPEG_VERSION "0.4.9-pre1" | 19 #define FFMPEG_VERSION "0.4.9-pre1" |
20 #define LIBAVCODEC_BUILD 4739 | 20 #define LIBAVCODEC_BUILD 4740 |
21 | 21 |
22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT | 22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT |
23 #define LIBAVCODEC_VERSION FFMPEG_VERSION | 23 #define LIBAVCODEC_VERSION FFMPEG_VERSION |
24 | 24 |
25 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 25 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
857 | 857 |
858 | 858 |
859 /* The RTP callcack: This function is called */ | 859 /* The RTP callcack: This function is called */ |
860 /* every time the encoder as a packet to send */ | 860 /* every time the encoder as a packet to send */ |
861 /* Depends on the encoder if the data starts */ | 861 /* Depends on the encoder if the data starts */ |
862 /* with a Start Code (it should) H.263 does */ | 862 /* with a Start Code (it should) H.263 does. */ |
863 void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int packet_number); | 863 /* mb_nb contains the number of macroblocks */ |
864 /* encoded in the RTP payload */ | |
865 void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb); | |
864 | 866 |
865 /* statistics, used for 2-pass encoding */ | 867 /* statistics, used for 2-pass encoding */ |
866 int mv_bits; | 868 int mv_bits; |
867 int header_bits; | 869 int header_bits; |
868 int i_tex_bits; | 870 int i_tex_bits; |