comparison utils.c @ 742:7f77968553de libavcodec

corrected pixel format display
author bellard
date Fri, 11 Oct 2002 09:16:35 +0000
parents 3be57e506f01
children 25d7fb7c89be
comparison
equal deleted inserted replaced
741:3be57e506f01 742:7f77968553de
218 } 218 }
219 return NULL; 219 return NULL;
220 } 220 }
221 221
222 const char *pix_fmt_str[] = { 222 const char *pix_fmt_str[] = {
223 "??",
224 "yuv420p", 223 "yuv420p",
225 "yuv422", 224 "yuv422",
226 "rgb24", 225 "rgb24",
227 "bgr24", 226 "bgr24",
228 "yuv422p", 227 "yuv422p",
229 "yuv444p", 228 "yuv444p",
230 "rgba32", 229 "rgba32",
231 "bgra32", 230 "bgra32",
232 "yuv410p" 231 "yuv410p",
232 "yuv411p",
233 }; 233 };
234 234
235 void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) 235 void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
236 { 236 {
237 const char *codec_name; 237 const char *codec_name;
238 AVCodec *p; 238 AVCodec *p;
239 char buf1[32]; 239 char buf1[32];