Lines Matching defs:sys

55     const AVDVProfile*  sys;    /* Current DV profile. E.g.: 525/60, 625/50 */
130 const AVDVProfile *sys)
151 size = (sys->audio_min_samples[freq] + smpls) * 4; /* 2ch, 2bytes */
152 half_ch = sys->difseg_size / 2;
156 ipcm = (sys->height == 720 && !(frame[1] & 0x0C)) ? 2 : 0;
158 if (ipcm + sys->n_difchan > (quant == 1 ? 2 : 4)) {
164 for (chan = 0; chan < sys->n_difchan; chan++) {
171 for (i = 0; i < sys->difseg_size; i++) {
185 of = sys->audio_shuffle[i][j] +
186 (d - 8) / 2 * sys->audio_stride;
205 of = sys->audio_shuffle[i % half_ch][j] +
206 (d - 8) / 3 * sys->audio_stride;
214 of = sys->audio_shuffle[i % half_ch + half_ch][j] +
215 (d - 8) / 3 * sys->audio_stride;
238 if (!as_pack || !c->sys) { /* No audio ? */
271 avpriv_set_pts_info(c->ast[i], 64, c->sys->time_base.num, c->sys->time_base.den);
290 return (c->sys->audio_min_samples[freq] + smpls) * 4; /* 2ch, 2bytes */
301 avpriv_set_pts_info(c->vst, 64, c->sys->time_base.num,
302 c->sys->time_base.den);
310 c->vst->sample_aspect_ratio = c->sys->sar[is16_9];
311 par->bit_rate = av_rescale_q(c->sys->frame_size,
313 c->sys->time_base);
314 return c->sys->frame_size;
324 int prevent_df = c->sys->ltc_divisor == 25 || c->sys->ltc_divisor == 50;
329 av_timecode_make_smpte_tc_string2(tc, av_inv_q(c->sys->time_base), AV_RB32(tc_pack + 1), prevent_df, 1);
400 !(c->sys = av_dv_frame_profile(c->sys, buf, buf_size)) ||
401 buf_size < c->sys->frame_size) {
411 c->audio_pkt[i].pts = (c->sys->height == 720) ? (c->frames & ~1) : c->frames;
416 dv_extract_audio(buf, ppcm, c->sys);
420 if (c->sys->height == 720) {
445 // FIXME: sys may be wrong if last dv_read_packet() failed (buffer is junk)
447 const int frame_size = c->sys->frame_size;
539 c->dv_demux.sys = av_dv_frame_profile(c->dv_demux.sys,
542 if (!c->dv_demux.sys) {
548 s->bit_rate = av_rescale_q(c->dv_demux.sys->frame_size,
550 c->dv_demux.sys->time_base);
568 if (!c->dv_demux.sys)
570 size = c->dv_demux.sys->frame_size;
594 ff_dv_offset_reset(c, offset / c->sys->frame_size);