comparison avcodec.h @ 654:850098147a3c libavcodec

export pts from stream if available store pts in stream if available (otherwise use frame_rate)
author michaelni
date Thu, 12 Sep 2002 10:54:53 +0000
parents c7647afc3ce5
children b4bddbde44f3
comparison
equal deleted inserted replaced
653:714795876872 654:850098147a3c
3 3
4 #include "common.h" 4 #include "common.h"
5 5
6 #define LIBAVCODEC_VERSION_INT 0x000406 6 #define LIBAVCODEC_VERSION_INT 0x000406
7 #define LIBAVCODEC_VERSION "0.4.6" 7 #define LIBAVCODEC_VERSION "0.4.6"
8 #define LIBAVCODEC_BUILD 4621 8 #define LIBAVCODEC_BUILD 4622
9 #define LIBAVCODEC_BUILD_STR "4621" 9 #define LIBAVCODEC_BUILD_STR "4622"
10 10
11 enum CodecID { 11 enum CodecID {
12 CODEC_ID_NONE, 12 CODEC_ID_NONE,
13 CODEC_ID_MPEG1VIDEO, 13 CODEC_ID_MPEG1VIDEO,
14 CODEC_ID_H263, 14 CODEC_ID_H263,
316 #define FF_DCT_FASTINT 1 316 #define FF_DCT_FASTINT 1
317 #define FF_DCT_INT 2 317 #define FF_DCT_INT 2
318 #define FF_DCT_MMX 3 318 #define FF_DCT_MMX 3
319 #define FF_DCT_MLIB 4 319 #define FF_DCT_MLIB 4
320 320
321 long long int pts; /* timestamp in micro seconds
322 for decoding: the timestamp from the stream or 0
323 for encoding: the timestamp which will be stored in the stream
324 if 0 then the frame_rate will be used */
325
321 //FIXME this should be reordered after kabis API is finished ... 326 //FIXME this should be reordered after kabis API is finished ...
322 //TODO kill kabi 327 //TODO kill kabi
323 /* 328 /*
324 Note: Below are located reserved fields for further usage 329 Note: Below are located reserved fields for further usage
325 It requires for ABI !!! 330 It requires for ABI !!!
328 P L E A S E ! ! ! 333 P L E A S E ! ! !
329 IMPORTANT: Never change order of already declared fields!!! 334 IMPORTANT: Never change order of already declared fields!!!
330 */ 335 */
331 unsigned long long int 336 unsigned long long int
332 ull_res0,ull_res1,ull_res2,ull_res3,ull_res4,ull_res5, 337 ull_res0,ull_res1,ull_res2,ull_res3,ull_res4,ull_res5,
333 ull_res6,ull_res7,ull_res8,ull_res9,ull_res10,ull_res11,ull_res12; 338 ull_res6,ull_res7,ull_res8,ull_res9,ull_res10,ull_res11;
334 float 339 float
335 flt_res0,flt_res1,flt_res2,flt_res3,flt_res4,flt_res5, 340 flt_res0,flt_res1,flt_res2,flt_res3,flt_res4,flt_res5,
336 flt_res6,flt_res7,flt_res8,flt_res9,flt_res10,flt_res11,flt_res12; 341 flt_res6,flt_res7,flt_res8,flt_res9,flt_res10,flt_res11,flt_res12;
337 void 342 void
338 *ptr_res0,*ptr_res1,*ptr_res2,*ptr_res3,*ptr_res4,*ptr_res5, 343 *ptr_res0,*ptr_res1,*ptr_res2,*ptr_res3,*ptr_res4,*ptr_res5,