/linux-5.19.10/drivers/media/usb/gspca/ |
D | jpeg.h | 122 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()
|
D | jeilinj.c | 57 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()
|
D | mars.c | 34 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()
|
D | spca1528.c | 25 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()
|
D | topro.c | 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() [all …]
|
D | w996Xcf.c | 23 #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()
|
D | stk014.c | 24 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()
|
D | conex.c | 30 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()
|
D | spca500.c | 42 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()
|
D | sn9c20x.c | 103 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()
|
D | sunplus.c | 41 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()
|
D | sonixj.c | 71 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()
|
D | zc3xx.c | 49 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()
|
D | ov519.c | 104 u8 jpeg_hdr[JPEG_HDR_SZ]; member
|