Go to the source code of this file.
Timecode helpers header
Definition in file timecode.h.
Definition at line 33 of file timecode.h.
| Enumerator | |
|---|---|
| AV_TIMECODE_FLAG_DROPFRAME | timecode is drop frame |
| AV_TIMECODE_FLAG_24HOURSMAX | timecode wraps after 24 hours |
| AV_TIMECODE_FLAG_ALLOWNEGATIVE | negative time values are allowed |
Definition at line 35 of file timecode.h.
Adjust frame number for NTSC drop frame time code.
Definition at line 35 of file timecode.c.
Referenced by av_timecode_get_smpte_from_framenum(), and av_timecode_make_string().
Convert frame number to SMPTE 12M binary representation.
See SMPTE ST 314M-2005 Sec 4.4.2.2.1 "Time code pack (TC)" the format description as follows: bits 0-5: hours, in BCD(6bits) bits 6: BGF1 bits 7: BGF2 (NTSC) or FIELD (PAL) bits 8-14: minutes, in BCD(7bits) bits 15: BGF0 (NTSC) or BGF2 (PAL) bits 16-22: seconds, in BCD(7bits) bits 23: FIELD (NTSC) or BGF0 (PAL) bits 24-29: frames, in BCD(6bits) bits 30: drop frame flag (0: non drop, 1: drop) bits 31: color frame flag (0: unsync mode, 1: sync mode)
Definition at line 53 of file timecode.c.
Referenced by dv_write_pack(), mxf_write_system_item(), and decklink_input_callback::VideoInputFrameArrived().
Convert sei info to SMPTE 12M binary representation.
Definition at line 69 of file timecode.c.
Referenced by av_timecode_get_smpte_from_framenum(), h264_export_frame_props(), and set_side_data().
Load timecode string in buf.
Definition at line 103 of file timecode.c.
Referenced by draw_text(), imf_read_header(), mxf_add_timecode_metadata(), parse_timecode_in_framenum_format(), segment_end(), test_cpl_parsing(), and decklink_input_callback::VideoInputFrameArrived().
Get the timecode string from the SMPTE timecode format.
In contrast to av_timecode_make_smpte_tc_string this function supports 50/60 fps timecodes by using the field bit.
Definition at line 138 of file timecode.c.
Referenced by av_timecode_make_smpte_tc_string(), decode_frame(), dump_s12m_timecode(), h264_export_frame_props(), set_side_data(), show_frame(), and wsd_read_header().
Get the timecode string from the SMPTE timecode format.
Definition at line 162 of file timecode.c.
Get the timecode string from the 25-bit timecode format (MPEG GOP format).
Definition at line 167 of file timecode.c.
Referenced by filter_frame(), mpeg_decode_frame(), mpeg_decode_gop(), and show_frame().
Init a timecode struct with the passed parameters.
Definition at line 221 of file timecode.c.
Referenced by dv_write_header(), mxf_init_timecode(), mxf_parse_physical_source_package(), mxf_parse_structural_metadata(), and parse_timecode_in_framenum_format().
Init a timecode struct from the passed timecode components.
Definition at line 231 of file timecode.c.
Referenced by av_timecode_init_from_string(), fill_timecode(), and get_bmd_timecode().
Parse timecode representation (hh:mm:ss[:;.
]ff).
Definition at line 252 of file timecode.c.
Referenced by dv_write_header(), init(), mov_check_timecode_track(), mxf_init_timecode(), and segment_end().
Check if the timecode feature is available for the given frame rate.
Definition at line 216 of file timecode.c.