Lines Matching defs:timecode
47 #include "libavutil/timecode.h"
794 IDeckLinkTimecode *timecode;
801 if (videoFrame->GetTimecode(tc_format, &timecode) == S_OK) {
803 if (timecode->GetComponents(&hh, &mm, &ss, &ff) == S_OK) {
804 int flags = (timecode->GetFlags() & bmdTimecodeIsDropFrame) ? AV_TIMECODE_FLAG_DROPFRAME : 0;
806 ff = ff << 1 | !!(timecode->GetFlags() & bmdTimecodeFieldMark);
809 timecode->Release();
818 /* 50/60 fps content has alternating VITC1 and VITC2 timecode (see SMPTE ST
937 if (av_dict_set(&metadata_dict, "timecode", tc, 0) >= 0) {
950 av_log(avctx, AV_LOG_DEBUG, "Unable to find timecode.\n");
1436 if (ctx->tc_format && !(av_dict_get(ctx->video_st->metadata, "timecode", NULL, 0))) {
1441 av_log(avctx, AV_LOG_ERROR, "Unable to set timecode\n");