#include <stdio.h>
#include "timecode.h"
#include "libavutil/log.h"
Go to the source code of this file.
Definition in file timecode.c.
Check if timecode rate is valid and consistent with the drop flag.
Definition at line 58 of file timecode.c.
Referenced by avpriv_init_smpte_timecode(), and parse_timecode_in_framenum_format().
Adjust frame number for NTSC drop frame time code.
Definition at line 31 of file timecode.c.
Referenced by avpriv_timecode_to_string(), dv_write_pack(), ff_framenum_to_drop_timecode(), mpeg1_encode_sequence_header(), and mxf_write_system_item().
Convert frame id (timecode) to SMPTE 12M binary representation.
Definition at line 40 of file timecode.c.
Referenced by dv_write_pack(), ff_framenum_to_smtpe_timecode(), and mxf_write_system_item().
Parse SMTPE 12M time representation (hh:mm:ss[:;.
]ff). str and rate fields from tc struct must be set.
Definition at line 104 of file timecode.c.
Referenced by dv_write_header(), encode_init(), ff_init_smtpe_timecode(), init(), and mxf_write_header().
Load timecode string in buf.
buf must have enough space to store the timecode representation: 16 bytes is the minimum required size.
Definition at line 82 of file timecode.c.
Referenced by draw_text(), and parse_timecode_in_framenum_format().
Definition at line 132 of file timecode.c.
Definition at line 137 of file timecode.c.
Definition at line 142 of file timecode.c.