Lines Matching refs:header_size

472 	unsigned int header_size;  in uvc_video_clock_decode()  local
482 header_size = 12; in uvc_video_clock_decode()
487 header_size = 6; in uvc_video_clock_decode()
491 header_size = 8; in uvc_video_clock_decode()
495 header_size = 2; in uvc_video_clock_decode()
500 if (len < header_size) in uvc_video_clock_decode()
521 dev_sof = get_unaligned_le16(&data[header_size - 2]); in uvc_video_clock_decode()
563 sample->dev_stc = get_unaligned_le32(&data[header_size - 6]); in uvc_video_clock_decode()
809 unsigned int header_size; in uvc_video_stats_decode() local
822 header_size = 12; in uvc_video_stats_decode()
827 header_size = 6; in uvc_video_stats_decode()
831 header_size = 8; in uvc_video_stats_decode()
835 header_size = 2; in uvc_video_stats_decode()
840 if (len < header_size || data[0] < header_size) { in uvc_video_stats_decode()
850 scr_stc = get_unaligned_le32(&data[header_size - 6]); in uvc_video_stats_decode()
851 scr_sof = get_unaligned_le16(&data[header_size - 2]); in uvc_video_stats_decode()
873 if (len > header_size) in uvc_video_stats_decode()
875 if (len == header_size && has_pts) in uvc_video_stats_decode()
904 if (stream->stats.frame.size == 0 && len > header_size) in uvc_video_stats_decode()
908 stream->stats.frame.size += len - header_size; in uvc_video_stats_decode()
912 if (len <= header_size) in uvc_video_stats_decode()
1466 if (urb->actual_length == 0 && stream->bulk.header_size == 0) in uvc_video_decode_bulk()
1477 if (stream->bulk.header_size == 0 && !stream->bulk.skip_payload) { in uvc_video_decode_bulk()
1489 stream->bulk.header_size = ret; in uvc_video_decode_bulk()
1521 stream->bulk.header_size = 0; in uvc_video_decode_bulk()
1542 if (stream->bulk.header_size == 0) { in uvc_video_encode_bulk()
1544 stream->bulk.header_size = ret; in uvc_video_encode_bulk()
1566 stream->bulk.header_size = 0; in uvc_video_encode_bulk()
1913 stream->bulk.header_size = 0; in uvc_video_start_transfer()