diff options
author | Juanjo <pulento@users.sourceforge.net> | 2001-11-19 02:13:14 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2001-11-19 02:13:14 +0000 |
commit | 644d98a4f2f980bf95174238f1ab962dc1f692a0 (patch) | |
tree | c256c38a729e2d62a0b79a09ec8f3b159a34f920 /libavcodec/avcodec.h | |
parent | 652cb0f57a77ad5546ba42aebeced59e00f003df (diff) | |
download | ffmpeg-644d98a4f2f980bf95174238f1ab962dc1f692a0.tar.gz |
- Preliminary RTP friendly mode for H.263.
- GOB headers for H.263 coding on RTP mode.
- Improved GOB header detection for H.263 decoder.
Originally committed as revision 222 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index b85db2d558..10d19a9c31 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -103,6 +103,19 @@ typedef struct AVCodecContext { struct AVCodec *codec; void *priv_data; + /* The following data is for RTP friendly coding */ + /* By now only H.263/H.263+ coder honours this */ + int rtp_mode; /* 1 for activate RTP friendly-mode */ + /* highers numbers represent more error-prone */ + /* enviroments, by now just "1" exist */ + + int rtp_payload_size; /* The size of the RTP payload, the coder will */ + /* do it's best to deliver a chunk with size */ + /* below rtp_payload_size, the chunk will start */ + /* with a start code on some codecs like H.263 */ + /* This doesn't take account of any particular */ + /* headers inside the transmited RTP payload */ + /* the following fields are ignored */ void *opaque; /* can be used to carry app specific stuff */ char codec_name[32]; @@ -239,8 +252,8 @@ void avcodec_register_all(void); #ifdef FF_POSTPROCESS #ifndef MBC -#define MBC 120 -#define MBR 72 +#define MBC 48 +#define MBR 36 #endif extern int quant_store[MBR+1][MBC+1]; // [Review] #endif |