Lines Matching defs:stc
383 StreamContext *stc;
392 stc = &nut->stream[stream_id];
438 GET_V(stc->time_base_id, tmp < nut->time_base_count);
439 GET_V(stc->msb_pts_shift, tmp < 16);
440 stc->max_pts_distance = ffio_read_varlen(bc);
441 GET_V(stc->decode_delay, tmp < 1000); // sanity limit, raise this if Moore's law is true
442 st->codecpar->video_delay = stc->decode_delay;
476 stc->time_base = &nut->time_base[stc->time_base_id];
477 avpriv_set_pts_info(s->streams[stream_id], 63, stc->time_base->num,
478 stc->time_base->den);
1010 StreamContext *stc;
1037 stc = &nut->stream[*stream_id];
1041 if (coded_pts < (1LL << stc->msb_pts_shift)) {
1042 *pts = ff_lsb2full(stc, coded_pts);
1044 *pts = coded_pts - (1LL << stc->msb_pts_shift);
1046 *pts = stc->last_pts + pts_delta;
1075 FFABS(stc->last_pts - *pts) > stc->max_pts_distance) {
1080 stc->last_pts = *pts;
1081 stc->last_flags = flags;
1094 StreamContext *stc;
1101 stc = &nut->stream[stream_id];
1103 if (stc->last_flags & FLAG_KEY)
1104 stc->skip_until_key_frame = 0;
1108 if ((discard >= AVDISCARD_NONKEY && !(stc->last_flags & FLAG_KEY)) ||
1112 stc->skip_until_key_frame) {
1123 if (stc->last_flags & FLAG_SM_DATA) {
1146 if (stc->last_flags & FLAG_KEY)