comparison avcodec.h @ 618:4f3d4a07d374 libavcodec

added aspected_width/height for EXTENDED_PAR
author al3x
date Mon, 26 Aug 2002 20:45:01 +0000
parents 9bb356b23dd9
children bb6a69f9d409
comparison
equal deleted inserted replaced
617:df2102629fef 618:4f3d4a07d374
150 #define FF_ASPECT_SQUARE 1 150 #define FF_ASPECT_SQUARE 1
151 #define FF_ASPECT_4_3_625 2 151 #define FF_ASPECT_4_3_625 2
152 #define FF_ASPECT_4_3_525 3 152 #define FF_ASPECT_4_3_525 3
153 #define FF_ASPECT_16_9_625 4 153 #define FF_ASPECT_16_9_625 4
154 #define FF_ASPECT_16_9_525 5 154 #define FF_ASPECT_16_9_525 5
155 #define FF_ASPECT_EXTENDED 15
155 int gop_size; /* 0 = intra only */ 156 int gop_size; /* 0 = intra only */
156 enum PixelFormat pix_fmt; /* pixel format, see PIX_FMT_xxx */ 157 enum PixelFormat pix_fmt; /* pixel format, see PIX_FMT_xxx */
157 int repeat_pict; /* when decoding, this signal how much the picture */ 158 int repeat_pict; /* when decoding, this signal how much the picture */
158 /* must be delayed. */ 159 /* must be delayed. */
159 /* extra_delay = (repeat_pict / 2) * (1/fps) */ 160 /* extra_delay = (repeat_pict / 2) * (1/fps) */
301 int rc_buffer_size; 302 int rc_buffer_size;
302 float rc_buffer_aggressivity; 303 float rc_buffer_aggressivity;
303 float i_quant_factor;/* qscale factor between i and p frames */ 304 float i_quant_factor;/* qscale factor between i and p frames */
304 float i_quant_offset;/* qscale offset between i and p frames */ 305 float i_quant_offset;/* qscale offset between i and p frames */
305 float rc_initial_cplx; 306 float rc_initial_cplx;
307
308 int aspected_width;
309 int aspected_height;
306 310
307 //FIXME this should be reordered after kabis API is finished ... 311 //FIXME this should be reordered after kabis API is finished ...
308 //TODO kill kabi 312 //TODO kill kabi
309 /* 313 /*
310 Note: Below are located reserved fields for further usage 314 Note: Below are located reserved fields for further usage
332 unsigned char 336 unsigned char
333 uc_res0,uc_res1,uc_res2,uc_res3,uc_res4,uc_res5, 337 uc_res0,uc_res1,uc_res2,uc_res3,uc_res4,uc_res5,
334 uc_res6,uc_res7,uc_res8,uc_res9,uc_res10,uc_res11,uc_res12; 338 uc_res6,uc_res7,uc_res8,uc_res9,uc_res10,uc_res11,uc_res12;
335 unsigned int 339 unsigned int
336 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5,ui_res6,ui_res7,ui_res8,ui_res9, 340 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5,ui_res6,ui_res7,ui_res8,ui_res9,
337 ui_res10,ui_res11,ui_res12,ui_res13,ui_res14,ui_res15,ui_res16,ui_res17,ui_res18,ui_res19; 341 ui_res10,ui_res11,ui_res12,ui_res13,ui_res14,ui_res15,ui_res16,ui_res17;
338 } AVCodecContext; 342 } AVCodecContext;
339 343
340 typedef struct AVCodec { 344 typedef struct AVCodec {
341 char *name; 345 char *name;
342 int type; 346 int type;