World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
27 #ifndef AVUTIL_TIMECODE_H
28 #define AVUTIL_TIMECODE_H
33 #define AV_TIMECODE_STR_SIZE 23
char * av_timecode_make_string(const AVTimecode *tc, char *buf, int framenum)
AVRational rate
frame rate in rational form
int av_timecode_adjust_ntsc_framenum2(int framenum, int fps)
unsigned fps
frame per second; must be consistent with the rate field
char * av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit)
uint32_t av_timecode_get_smpte_from_framenum(const AVTimecode *tc, int framenum)
int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx)
GLenum GLuint GLenum GLsizei const GLchar * buf
@ AV_TIMECODE_FLAG_24HOURSMAX
timecode wraps after 24 hours
int start
timecode frame start (first base frame number)
@ AV_TIMECODE_FLAG_ALLOWNEGATIVE
negative time values are allowed
@ AV_TIMECODE_FLAG_DROPFRAME
timecode is drop frame
uint32_t flags
flags such as drop frame, +24 hours support, ...
char * av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df)
int av_timecode_check_frame_rate(AVRational rate)
int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx)
unsigned __int32 uint32_t