Home
last modified time | relevance | path

Searched refs:jpeg_hdr (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/media/usb/gspca/
Djpeg.h122 static void jpeg_define(u8 *jpeg_hdr, in jpeg_define() argument
127 memcpy(jpeg_hdr, jpeg_head, sizeof jpeg_head); in jpeg_define()
129 jpeg_hdr[JPEG_HEIGHT_OFFSET + 0] = height >> 8; in jpeg_define()
130 jpeg_hdr[JPEG_HEIGHT_OFFSET + 1] = height; in jpeg_define()
131 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; in jpeg_define()
132 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; in jpeg_define()
133 jpeg_hdr[JPEG_HEIGHT_OFFSET + 6] = samplesY; in jpeg_define()
138 static void jpeg_set_qual(u8 *jpeg_hdr, in jpeg_set_qual() argument
150 jpeg_hdr[JPEG_QT0_OFFSET + i] = in jpeg_set_qual()
152 jpeg_hdr[JPEG_QT1_OFFSET + i] = in jpeg_set_qual()
Djeilinj.c57 u8 jpeg_hdr[JPEG_HDR_SZ]; member
281 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
369 jpeg_define(dev->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
372 jpeg_set_qual(dev->jpeg_hdr, dev->quality); in sd_start()
416 jpeg_set_qual(sd->jpeg_hdr, ctrl->val); in sd_s_ctrl()
Dmars.c34 u8 jpeg_hdr[JPEG_HDR_SZ]; member
244 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
247 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
379 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dspca1528.c25 u8 jpeg_hdr[JPEG_HDR_SZ]; member
251 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
256 jpeg_set_qual(sd->jpeg_hdr, 85); in sd_start()
329 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dtopro.c126 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()
[all …]
Dw996Xcf.c23 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET])
24 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET])
482 jpeg_define(sd->jpeg_hdr, sd->gspca_dev.pixfmt.height, in w9968cf_mode_init_regs()
484 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in w9968cf_mode_init_regs()
552 sd->jpeg_hdr, JPEG_HDR_SZ); in w9968cf_pkt_scan()
Dstk014.c24 u8 jpeg_hdr[JPEG_HDR_SZ]; member
240 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
243 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
331 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dconex.c30 u8 jpeg_hdr[JPEG_HDR_SZ]; member
774 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
777 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
824 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dspca500.c42 u8 jpeg_hdr[JPEG_HDR_SZ]; member
599 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
602 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
838 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dsn9c20x.c103 u8 jpeg_hdr[JPEG_HDR_SZ]; member
1549 jpeg_set_qual(sd->jpeg_hdr, val); in set_quality()
1552 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in set_quality()
1553 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in set_quality()
2007 jpeg_define(sd->jpeg_hdr, height, width, in sd_start()
2009 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in sd_start()
2039 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in sd_start()
2040 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in sd_start()
2302 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dsunplus.c41 u8 jpeg_hdr[JPEG_HDR_SZ]; member
715 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
718 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
900 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dsonixj.c71 u8 jpeg_hdr[JPEG_HDR_SZ]; member
2129 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in setjpegqual()
2133 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in setjpegqual()
2141 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in setjpegqual()
2200 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
2732 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
2800 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dzc3xx.c49 u8 jpeg_hdr[JPEG_HDR_SZ]; member
5801 jpeg_set_qual(sd->jpeg_hdr, jpeg_qual[sd->reg08 >> 1]); in setquality()
6715 jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, in sd_start()
6879 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dov519.c104 u8 jpeg_hdr[JPEG_HDR_SZ]; member