21 #ifndef AVFORMAT_AVFORMAT_H 
   22 #define AVFORMAT_AVFORMAT_H 
  388 typedef struct AVFrac {
 
  389     int64_t 
val, num, den;
 
  408 #define AVPROBE_SCORE_RETRY (AVPROBE_SCORE_MAX/4) 
  409 #define AVPROBE_SCORE_STREAM_RETRY (AVPROBE_SCORE_MAX/4-1) 
  411 #define AVPROBE_SCORE_EXTENSION  50  
  412 #define AVPROBE_SCORE_MIME       75 
 
  413 #define AVPROBE_SCORE_MAX       100 
 
  415 #define AVPROBE_PADDING_SIZE 32              
  418 #define AVFMT_NOFILE        0x0001 
  419 #define AVFMT_NEEDNUMBER    0x0002  
  420 #define AVFMT_SHOW_IDS      0x0008  
  421 #define AVFMT_RAWPICTURE    0x0020  
  423 #define AVFMT_GLOBALHEADER  0x0040  
  424 #define AVFMT_NOTIMESTAMPS  0x0080  
  425 #define AVFMT_GENERIC_INDEX 0x0100  
  426 #define AVFMT_TS_DISCONT    0x0200  
  427 #define AVFMT_VARIABLE_FPS  0x0400  
  428 #define AVFMT_NODIMENSIONS  0x0800  
  429 #define AVFMT_NOSTREAMS     0x1000  
  430 #define AVFMT_NOBINSEARCH   0x2000  
  431 #define AVFMT_NOGENSEARCH   0x4000  
  432 #define AVFMT_NO_BYTE_SEEK  0x8000  
  433 #define AVFMT_ALLOW_FLUSH  0x10000  
  434 #if LIBAVFORMAT_VERSION_MAJOR <= 54 
  435 #define AVFMT_TS_NONSTRICT 0x8020000 //we try to be compatible to the ABIs of ffmpeg and major forks 
  437 #define AVFMT_TS_NONSTRICT 0x20000 
  442 #define AVFMT_TS_NEGATIVE  0x40000  
  451 #define AVFMT_SEEK_TO_PTS   0x4000000  
  526                                  int64_t *dts, int64_t *wall);
 
  531                            void *
data, 
size_t data_size);
 
  666                      int stream_index, int64_t timestamp, 
int flags);
 
  673                               int64_t *pos, int64_t pos_limit);
 
  736 #define AVINDEX_KEYFRAME 0x0001 
  742 #define AV_DISPOSITION_DEFAULT   0x0001 
  743 #define AV_DISPOSITION_DUB       0x0002 
  744 #define AV_DISPOSITION_ORIGINAL  0x0004 
  745 #define AV_DISPOSITION_COMMENT   0x0008 
  746 #define AV_DISPOSITION_LYRICS    0x0010 
  747 #define AV_DISPOSITION_KARAOKE   0x0020 
  754 #define AV_DISPOSITION_FORCED    0x0040 
  755 #define AV_DISPOSITION_HEARING_IMPAIRED  0x0080   
  756 #define AV_DISPOSITION_VISUAL_IMPAIRED   0x0100   
  757 #define AV_DISPOSITION_CLEAN_EFFECTS     0x0200   
  764 #define AV_DISPOSITION_ATTACHED_PIC      0x0400 
  769 #define AV_DISPOSITION_CAPTIONS     0x10000 
  770 #define AV_DISPOSITION_DESCRIPTIONS 0x20000 
  771 #define AV_DISPOSITION_METADATA     0x40000 
  776 #define AV_PTS_WRAP_IGNORE      0    
  777 #define AV_PTS_WRAP_ADD_OFFSET  1   
 
  778 #define AV_PTS_WRAP_SUB_OFFSET  -1  
 
  911 #define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001  
  924 #define MAX_STD_TIMEBASES (30*12+7+6) 
  971 #define MAX_PROBE_PACKETS 2500 
  988 #define MAX_REORDER_DELAY 16 
 1133 #define AV_PROGRAM_RUNNING 1 
 1167 #define AVFMTCTX_NOHEADER      0x0001  
 1182                                          void *
data, 
size_t data_size);
 
 1317 #define AVFMT_FLAG_GENPTS       0x0001  
 1318 #define AVFMT_FLAG_IGNIDX       0x0002 
 
 1319 #define AVFMT_FLAG_NONBLOCK     0x0004 
 
 1320 #define AVFMT_FLAG_IGNDTS       0x0008 
 
 1321 #define AVFMT_FLAG_NOFILLIN     0x0010 
 
 1322 #define AVFMT_FLAG_NOPARSE      0x0020 
 
 1323 #define AVFMT_FLAG_NOBUFFER     0x0040 
 
 1324 #define AVFMT_FLAG_CUSTOM_IO    0x0080 
 
 1325 #define AVFMT_FLAG_DISCARD_CORRUPT  0x0100 
 
 1326 #define AVFMT_FLAG_FLUSH_PACKETS    0x0200 
 
 1333 #define AVFMT_FLAG_BITEXACT         0x0400 
 1334 #define AVFMT_FLAG_MP4A_LATM    0x8000  
 1335 #define AVFMT_FLAG_SORT_DTS    0x10000 
 
 1336 #define AVFMT_FLAG_PRIV_OPT    0x20000 
 
 1337 #define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000 
 
 1458 #define FF_FDEBUG_TS        0x0001 
 1490 #define AVFMT_EVENT_FLAG_METADATA_UPDATED 0x0001  
 1506 #define AVFMT_AVOID_NEG_TS_AUTO             -1  
 1507 #define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1 
 
 1508 #define AVFMT_AVOID_NEG_TS_MAKE_ZERO         2 
 
 1906                                    const char *format_name, 
const char *filename);
 
 1967                            const char *filename, 
void *logctx,
 
 1968                            unsigned int offset, 
unsigned int max_probe_size);
 
 1974                           const char *filename, 
void *logctx,
 
 1975                           unsigned int offset, 
unsigned int max_probe_size);
 
 2062                         int wanted_stream_nb,
 
 2179 #define AVSEEK_FLAG_BACKWARD 1  
 2180 #define AVSEEK_FLAG_BYTE     2 
 
 2181 #define AVSEEK_FLAG_ANY      4 
 
 2182 #define AVSEEK_FLAG_FRAME    8 
 
 2334                                 const char *filename,
 
 2335                                 const char *mime_type);
 
 2341                             const char *filename, 
const char *mime_type,
 
 2360                             int64_t *dts, int64_t *wall);
 
 2504                   char *authorization, 
int authorization_size,
 
 2505                   char *hostname,      
int hostname_size,
 
 2507                   char *path,          
int path_size,
 
 2539                           const char *path, 
int number);
 
 2575 int av_match_ext(
const char *filename, 
const char *extensions);
 
 2588                          int std_compliance);