comparison avcodec.h @ 162:de80712db90b libavcodec

- Preliminary RTP friendly mode for H.263. - GOB headers for H.263 coding on RTP mode. - Improved GOB header detection for H.263 decoder.
author pulento
date Mon, 19 Nov 2001 02:13:14 +0000
parents a4bd42a5d075
children 53da914d6f46
comparison
equal deleted inserted replaced
161:7ce36cf13055 162:de80712db90b
101 int quality; /* quality of the previous encoded frame 101 int quality; /* quality of the previous encoded frame
102 (between 1 (good) and 31 (bad)) */ 102 (between 1 (good) and 31 (bad)) */
103 struct AVCodec *codec; 103 struct AVCodec *codec;
104 void *priv_data; 104 void *priv_data;
105 105
106 /* The following data is for RTP friendly coding */
107 /* By now only H.263/H.263+ coder honours this */
108 int rtp_mode; /* 1 for activate RTP friendly-mode */
109 /* highers numbers represent more error-prone */
110 /* enviroments, by now just "1" exist */
111
112 int rtp_payload_size; /* The size of the RTP payload, the coder will */
113 /* do it's best to deliver a chunk with size */
114 /* below rtp_payload_size, the chunk will start */
115 /* with a start code on some codecs like H.263 */
116 /* This doesn't take account of any particular */
117 /* headers inside the transmited RTP payload */
118
106 /* the following fields are ignored */ 119 /* the following fields are ignored */
107 void *opaque; /* can be used to carry app specific stuff */ 120 void *opaque; /* can be used to carry app specific stuff */
108 char codec_name[32]; 121 char codec_name[32];
109 int codec_type; /* see CODEC_TYPE_xxx */ 122 int codec_type; /* see CODEC_TYPE_xxx */
110 int codec_id; /* see CODEC_ID_xxx */ 123 int codec_id; /* see CODEC_ID_xxx */
237 250
238 void avcodec_register_all(void); 251 void avcodec_register_all(void);
239 252
240 #ifdef FF_POSTPROCESS 253 #ifdef FF_POSTPROCESS
241 #ifndef MBC 254 #ifndef MBC
242 #define MBC 120 255 #define MBC 48
243 #define MBR 72 256 #define MBR 36
244 #endif 257 #endif
245 extern int quant_store[MBR+1][MBC+1]; // [Review] 258 extern int quant_store[MBR+1][MBC+1]; // [Review]
246 #endif 259 #endif
247 260
248 #endif /* AVCODEC_H */ 261 #endif /* AVCODEC_H */