comparison avcodec.h @ 231:840cd25bf259 libavcodec

- Fixes on RTP and GOB headers for H.263. - RTP callback system implemented for H.263/H.263+. - Bug fix on DC coefficients of H.263. - H.263 decoder now returns PTS on picture number.
author pulento
date Sat, 09 Feb 2002 16:59:56 +0000
parents 53da914d6f46
children ddb1a0e94cf4
comparison
equal deleted inserted replaced
230:ba9cd6fb6f0e 231:840cd25bf259
113 /* do it's best to deliver a chunk with size */ 113 /* do it's best to deliver a chunk with size */
114 /* below rtp_payload_size, the chunk will start */ 114 /* below rtp_payload_size, the chunk will start */
115 /* with a start code on some codecs like H.263 */ 115 /* with a start code on some codecs like H.263 */
116 /* This doesn't take account of any particular */ 116 /* This doesn't take account of any particular */
117 /* headers inside the transmited RTP payload */ 117 /* headers inside the transmited RTP payload */
118
119
120 /* The RTP callcack: This function is called */
121 /* every time the encoder as a packet to send */
122 /* Depends on the encoder if the data starts */
123 /* with a Start Code (it should) H.263 does */
124 void (*rtp_callback)(void *data, int size, int packet_number);
125
118 126
119 /* the following fields are ignored */ 127 /* the following fields are ignored */
120 void *opaque; /* can be used to carry app specific stuff */ 128 void *opaque; /* can be used to carry app specific stuff */
121 char codec_name[32]; 129 char codec_name[32];
122 int codec_type; /* see CODEC_TYPE_xxx */ 130 int codec_type; /* see CODEC_TYPE_xxx */