Lines Matching refs:pva
461 static void ttusb_dec_process_pva(struct ttusb_dec *dec, u8 *pva, int length) in ttusb_dec_process_pva() argument
473 switch (pva[2]) { in ttusb_dec_process_pva()
476 int prebytes = pva[5] & 0x03; in ttusb_dec_process_pva()
477 int postbytes = (pva[5] & 0x0c) >> 2; in ttusb_dec_process_pva()
481 dec->video_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
489 &pva[12], prebytes); in ttusb_dec_process_pva()
495 if (pva[5] & 0x10) { in ttusb_dec_process_pva()
499 dec->v_pes[9] = 0x21 | ((pva[8] & 0xc0) >> 5); in ttusb_dec_process_pva()
500 dec->v_pes[10] = ((pva[8] & 0x3f) << 2) | in ttusb_dec_process_pva()
501 ((pva[9] & 0xc0) >> 6); in ttusb_dec_process_pva()
503 ((pva[9] & 0x3f) << 2) | in ttusb_dec_process_pva()
504 ((pva[10] & 0x80) >> 6); in ttusb_dec_process_pva()
505 dec->v_pes[12] = ((pva[10] & 0x7f) << 1) | in ttusb_dec_process_pva()
506 ((pva[11] & 0xc0) >> 7); in ttusb_dec_process_pva()
507 dec->v_pes[13] = 0x01 | ((pva[11] & 0x7f) << 1); in ttusb_dec_process_pva()
509 memcpy(&dec->v_pes[14], &pva[12 + prebytes], in ttusb_dec_process_pva()
516 memcpy(&dec->v_pes[9], &pva[8], length - 8); in ttusb_dec_process_pva()
542 dec->audio_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
547 dvb_filter_pes2ts(&dec->a_pes2ts, &pva[8], length - 8, in ttusb_dec_process_pva()
548 pva[5] & 0x10); in ttusb_dec_process_pva()
553 pva[2]); in ttusb_dec_process_pva()