Lines Matching refs:jpeg_hdr
126 u8 jpeg_hdr[JPEG_HDR_SZ]; member
944 static void jpeg_define(u8 *jpeg_hdr, in jpeg_define() argument
948 memcpy(jpeg_hdr, jpeg_head, sizeof jpeg_head); in jpeg_define()
949 jpeg_hdr[JPEG_HEIGHT_OFFSET + 0] = height >> 8; in jpeg_define()
950 jpeg_hdr[JPEG_HEIGHT_OFFSET + 1] = height; in jpeg_define()
951 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; in jpeg_define()
952 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; in jpeg_define()
956 static void jpeg_set_qual(u8 *jpeg_hdr, in jpeg_set_qual() argument
968 jpeg_hdr[JPEG_QT0_OFFSET + i] = in jpeg_set_qual()
970 jpeg_hdr[JPEG_QT1_OFFSET + i] = in jpeg_set_qual()
1449 jpeg_set_qual(sd->jpeg_hdr, jpeg_q[q]); in set_dqt()
1451 memcpy(&sd->jpeg_hdr[JPEG_QT0_OFFSET - 1], in set_dqt()
4548 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
4638 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
4666 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
4869 jpeg_set_qual(sd->jpeg_hdr, ctrl->val); in sd_s_ctrl()