Lines Matching refs:pva
460 static void ttusb_dec_process_pva(struct ttusb_dec *dec, u8 *pva, int length) in ttusb_dec_process_pva() argument
472 switch (pva[2]) { in ttusb_dec_process_pva()
475 int prebytes = pva[5] & 0x03; in ttusb_dec_process_pva()
476 int postbytes = (pva[5] & 0x0c) >> 2; in ttusb_dec_process_pva()
480 dec->video_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
488 &pva[12], prebytes); in ttusb_dec_process_pva()
494 if (pva[5] & 0x10) { in ttusb_dec_process_pva()
498 dec->v_pes[9] = 0x21 | ((pva[8] & 0xc0) >> 5); in ttusb_dec_process_pva()
499 dec->v_pes[10] = ((pva[8] & 0x3f) << 2) | in ttusb_dec_process_pva()
500 ((pva[9] & 0xc0) >> 6); in ttusb_dec_process_pva()
502 ((pva[9] & 0x3f) << 2) | in ttusb_dec_process_pva()
503 ((pva[10] & 0x80) >> 6); in ttusb_dec_process_pva()
504 dec->v_pes[12] = ((pva[10] & 0x7f) << 1) | in ttusb_dec_process_pva()
505 ((pva[11] & 0xc0) >> 7); in ttusb_dec_process_pva()
506 dec->v_pes[13] = 0x01 | ((pva[11] & 0x7f) << 1); in ttusb_dec_process_pva()
508 memcpy(&dec->v_pes[14], &pva[12 + prebytes], in ttusb_dec_process_pva()
515 memcpy(&dec->v_pes[9], &pva[8], length - 8); in ttusb_dec_process_pva()
541 dec->audio_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
546 dvb_filter_pes2ts(&dec->a_pes2ts, &pva[8], length - 8, in ttusb_dec_process_pva()
547 pva[5] & 0x10); in ttusb_dec_process_pva()
552 pva[2]); in ttusb_dec_process_pva()