FFmpeg
|
#include "timecode_internal.h"
Go to the source code of this file.
Functions | |
static unsigned | bcd2uint (uint8_t bcd) |
void | ff_timecode_set_smpte (unsigned *drop, unsigned *hh, unsigned *mm, unsigned *ss, unsigned *ff, AVRational rate, uint32_t tcsmpte, int prevent_df, int skip_field) |
Convert SMPTE 12M binary representation to sei info. More... | |
|
static |
Definition at line 24 of file timecode_internal.c.
Referenced by ff_timecode_set_smpte().
void ff_timecode_set_smpte | ( | unsigned * | drop, |
unsigned * | hh, | ||
unsigned * | mm, | ||
unsigned * | ss, | ||
unsigned * | ff, | ||
AVRational | rate, | ||
uint32_t | tcsmpte, | ||
int | prevent_df, | ||
int | skip_field | ||
) |
Convert SMPTE 12M binary representation to sei info.
drop | drop flag output |
hh | hour output |
mm | minute output |
ss | second output |
ff | frame number output |
rate | frame rate of the timecode |
tcsmpte | the 32-bit SMPTE timecode |
prevent_df | prevent the use of a drop flag when it is known the DF bit is arbitrary |
skip_field | prevent the use of a field flag when it is known the field bit is arbitrary (e.g. because it is used as PC flag) |
Definition at line 33 of file timecode_internal.c.
Referenced by av_timecode_make_smpte_tc_string2(), and ff_alloc_timecode_sei().