FFmpeg
Functions | Variables
mpeg12framerate.c File Reference
#include "libavutil/rational.h"
#include "mpeg12.h"
#include "mpeg12data.h"

Go to the source code of this file.

Functions

void ff_mpeg12_find_best_frame_rate (AVRational frame_rate, int *code, int *ext_n, int *ext_d, int nonstandard)
 

Variables

const AVRational ff_mpeg12_frame_rate_tab [16]
 

Function Documentation

void ff_mpeg12_find_best_frame_rate ( AVRational  frame_rate,
int code,
int ext_n,
int ext_d,
int  nonstandard 
)

Variable Documentation

const AVRational ff_mpeg12_frame_rate_tab[16]
Initial value:
= {
{ 0, 0},
{24000, 1001},
{ 24, 1},
{ 25, 1},
{30000, 1001},
{ 30, 1},
{ 50, 1},
{60000, 1001},
{ 60, 1},
{ 15, 1},
{ 5, 1},
{ 10, 1},
{ 12, 1},
{ 15, 1},
{ 0, 0},
}

Definition at line 24 of file mpeg12framerate.c.

Referenced by decode_seq_header(), encode_init(), find_frame_rate_index(), main(), mpeg12_class(), mpeg1_encode_sequence_header(), mpeg_decode_postinit(), and mpegvideo_extract_headers().