Lines Matching refs:nf
132 static int v4l2_jpeg_decode_subsampling(u8 nf, u8 h_v) in v4l2_jpeg_decode_subsampling() argument
134 if (nf == 1) in v4l2_jpeg_decode_subsampling()
138 if (nf == 4 && h_v != 0x11) in v4l2_jpeg_decode_subsampling()
168 int p, y, x, nf; in jpeg_parse_frame_header() local
193 nf = jpeg_get_byte(stream); in jpeg_parse_frame_header()
194 if (nf < 0) in jpeg_parse_frame_header()
195 return nf; in jpeg_parse_frame_header()
200 if (nf < 1 || nf > V4L2_JPEG_MAX_COMPONENTS) in jpeg_parse_frame_header()
202 if (len != 8 + 3 * nf) in jpeg_parse_frame_header()
208 frame_header->num_components = nf; in jpeg_parse_frame_header()
210 for (i = 0; i < nf; i++) { in jpeg_parse_frame_header()
224 subs = v4l2_jpeg_decode_subsampling(nf, h_v); in jpeg_parse_frame_header()