Home
last modified time | relevance | path

Searched refs:pixel_per_line (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-core.c866 unsigned int pixel_per_line, block; in usbvision_parse_lines_420() local
893 pixel_per_line = frame->isoc_header.frame_width; in usbvision_parse_lines_420()
895 if (scratch_len(usbvision) < (int)pixel_per_line * 3) { in usbvision_parse_lines_420()
903 …block_split = (pixel_per_line%y_block_size) ? 1 : 0; /* are some blocks splitted into different li… in usbvision_parse_lines_420()
905 y_odd_offset = (pixel_per_line / y_block_size) * (y_block_size + uv_block_size) in usbvision_parse_lines_420()
913 for (block = 0; block < (pixel_per_line / sub_block_size); block++) { in usbvision_parse_lines_420()
1110 scratch_rm_old(usbvision, pixel_per_line * 3 / 2 in usbvision_parse_lines_420()
/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss-vfe-4-1.c288 static int vfe_word_per_line(u32 format, u32 pixel_per_line) in vfe_word_per_line() argument
297 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line()
303 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line()
Dcamss-vfe-4-7.c324 static int vfe_word_per_line_by_pixel(u32 format, u32 pixel_per_line) in vfe_word_per_line_by_pixel() argument
333 val = CALC_WORD(pixel_per_line, 1, 8); in vfe_word_per_line_by_pixel()
339 val = CALC_WORD(pixel_per_line, 2, 8); in vfe_word_per_line_by_pixel()