• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/

Lines Matching refs:tss

371     MpegTSSectionFilter *tss = &tss1->u.section_filter;
375 memcpy(tss->section_buf, buf, buf_size);
376 tss->section_index = buf_size;
377 tss->section_h_size = -1;
378 tss->end_of_section_reached = 0;
380 if (tss->end_of_section_reached)
382 len = 4096 - tss->section_index;
385 memcpy(tss->section_buf + tss->section_index, buf, len);
386 tss->section_index += len;
390 if (tss->section_h_size == -1 && tss->section_index >= 3) {
391 len = (AV_RB16(tss->section_buf + 1) & 0xfff) + 3;
394 tss->section_h_size = len;
397 if (tss->section_h_size != -1 &&
398 tss->section_index >= tss->section_h_size) {
400 tss->end_of_section_reached = 1;
402 if (tss->check_crc) {
403 crc_valid = !av_crc(av_crc_get_table(AV_CRC_32_IEEE), -1, tss->section_buf, tss->section_h_size);
412 tss->section_cb(tss1, tss->section_buf, tss->section_h_size);
1171 MpegTSFilter *tss;
1185 tss = mpegts_open_pes_filter(ts, pid, mpegts_push_data, pes);
1186 if (!tss) {
2032 MpegTSFilter *tss;
2042 tss = ts->pids[pid];
2043 if (ts->auto_guess && tss == NULL && is_start) {
2045 tss = ts->pids[pid];
2047 if (!tss)
2062 expected_cc = has_payload ? (tss->last_cc + 1) & 0x0f : tss->last_cc;
2065 tss->last_cc < 0 ||
2068 tss->last_cc = cc;
2073 if (tss->type == MPEGTS_PES) {
2074 PESContext *pc = tss->u.pes_filter.opaque;
2079 if (!has_payload && tss->type != MPEGTS_PCR)
2088 if (p > p_end || (p == p_end && tss->type != MPEGTS_PCR))
2097 if (tss->type == MPEGTS_SECTION) {
2105 write_section_data(ts, tss,
2113 write_section_data(ts, tss,
2118 write_section_data(ts, tss,
2144 tss->last_pcr = pcr_h * 300 + pcr_l;
2146 if (tss->type == MPEGTS_PES) {
2147 if ((ret = tss->u.pes_filter.pes_cb(tss, p, p_end - p, is_start,