Lines Matching refs:TS_SIZE
62 #define TS_SIZE 188 macro
463 while (todo >= TS_SIZE) { in ts_play()
470 if (copy_from_user(kb, buf, TS_SIZE)) in ts_play()
472 write_ts_to_decoder(av7110, type, kb, TS_SIZE); in ts_play()
473 todo -= TS_SIZE; in ts_play()
474 buf += TS_SIZE; in ts_play()
581 memset(p->pes, 0, TS_SIZE); in av7110_p2t_init()
591 memset(p->pes, 0, TS_SIZE); in clear_p2t()
689 memcpy(p->pes + p->pos, buf + c, (TS_SIZE - 4) - p->pos); in av7110_p2t_write()
690 c += (TS_SIZE - 4) - p->pos; in av7110_p2t_write()
691 p_to_t(p->pes, (TS_SIZE - 4), pid, &p->counter, p->feed); in av7110_p2t_write()
705 if (c2 >= 0 && c2 < (TS_SIZE - 4) - p->pos) in av7110_p2t_write()
708 l = (TS_SIZE - 4) - p->pos; in av7110_p2t_write()
730 rest = l % (TS_SIZE - 4); in av7110_p2t_write()
748 fill = (TS_SIZE - 4) - length; in write_ts_header2()
780 u8 obuf[TS_SIZE]; in p_to_t()
806 memset(obuf, 0, TS_SIZE); in p_to_t()
807 if (length - c >= (TS_SIZE - 4)){ in p_to_t()
809 obuf, (TS_SIZE - 4)); in p_to_t()
810 memcpy(obuf + l, buf + c, TS_SIZE - l); in p_to_t()
811 c += TS_SIZE - l; in p_to_t()
815 memcpy(obuf + l, buf + c, TS_SIZE - l); in p_to_t()
985 if (c == 0x47 && count % TS_SIZE == 0) in dvb_video_write()
1026 if (c == 0x47 && count % TS_SIZE == 0) in dvb_audio_write()