Home
last modified time | relevance | path

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

/drivers/media/usb/gspca/
Djpeg.h136 static void jpeg_define(u8 *jpeg_hdr, in jpeg_define() argument
141 memcpy(jpeg_hdr, jpeg_head, sizeof jpeg_head); in jpeg_define()
143 jpeg_hdr[JPEG_HEIGHT_OFFSET + 0] = height >> 8; in jpeg_define()
144 jpeg_hdr[JPEG_HEIGHT_OFFSET + 1] = height; in jpeg_define()
145 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; in jpeg_define()
146 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; in jpeg_define()
147 jpeg_hdr[JPEG_HEIGHT_OFFSET + 6] = samplesY; in jpeg_define()
152 static void jpeg_set_qual(u8 *jpeg_hdr, in jpeg_set_qual() argument
162 jpeg_hdr[JPEG_QT0_OFFSET + i] = in jpeg_set_qual()
164 jpeg_hdr[JPEG_QT1_OFFSET + i] = in jpeg_set_qual()
Djeilinj.c70 u8 jpeg_hdr[JPEG_HDR_SZ]; member
293 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
381 jpeg_define(dev->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
383 jpeg_set_qual(dev->jpeg_hdr, dev->quality); in sd_start()
427 jpeg_set_qual(sd->jpeg_hdr, ctrl->val); in sd_s_ctrl()
Dtopro.c139 u8 jpeg_hdr[JPEG_HDR_SZ]; member
955 static void jpeg_define(u8 *jpeg_hdr, in jpeg_define() argument
959 memcpy(jpeg_hdr, jpeg_head, sizeof jpeg_head); in jpeg_define()
960 jpeg_hdr[JPEG_HEIGHT_OFFSET + 0] = height >> 8; in jpeg_define()
961 jpeg_hdr[JPEG_HEIGHT_OFFSET + 1] = height; in jpeg_define()
962 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; in jpeg_define()
963 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; in jpeg_define()
967 static void jpeg_set_qual(u8 *jpeg_hdr, in jpeg_set_qual() argument
977 jpeg_hdr[JPEG_QT0_OFFSET + i] = in jpeg_set_qual()
979 jpeg_hdr[JPEG_QT1_OFFSET + i] = in jpeg_set_qual()
[all …]
Dmars.c47 u8 jpeg_hdr[JPEG_HDR_SZ]; member
257 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
259 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
391 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dspca1528.c38 u8 jpeg_hdr[JPEG_HDR_SZ]; member
258 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
262 jpeg_set_qual(sd->jpeg_hdr, 85); in sd_start()
335 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dw996Xcf.c38 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET])
39 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET])
483 jpeg_define(sd->jpeg_hdr, sd->gspca_dev.height, in w9968cf_mode_init_regs()
485 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in w9968cf_mode_init_regs()
553 sd->jpeg_hdr, JPEG_HDR_SZ); in w9968cf_pkt_scan()
Dstk014.c37 u8 jpeg_hdr[JPEG_HDR_SZ]; member
253 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
255 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
343 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dconex.c43 u8 jpeg_hdr[JPEG_HDR_SZ]; member
786 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
788 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
835 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dspca500.c56 u8 jpeg_hdr[JPEG_HDR_SZ]; member
611 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
613 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
849 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dsn9c20x.c116 u8 jpeg_hdr[JPEG_HDR_SZ]; member
1560 jpeg_set_qual(sd->jpeg_hdr, val); in set_quality()
1563 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in set_quality()
1564 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in set_quality()
2027 jpeg_define(sd->jpeg_hdr, height, width, in sd_start()
2029 jpeg_set_qual(sd->jpeg_hdr, v4l2_ctrl_g_ctrl(sd->jpegqual)); in sd_start()
2059 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in sd_start()
2060 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in sd_start()
2324 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dsunplus.c54 u8 jpeg_hdr[JPEG_HDR_SZ]; member
718 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
720 jpeg_set_qual(sd->jpeg_hdr, QUALITY); in sd_start()
902 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dsonixj.c85 u8 jpeg_hdr[JPEG_HDR_SZ]; member
2136 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in setjpegqual()
2140 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in setjpegqual()
2148 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in setjpegqual()
2207 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
2742 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
2810 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dzc3xx.c64 u8 jpeg_hdr[JPEG_HDR_SZ]; member
5802 jpeg_set_qual(sd->jpeg_hdr, jpeg_qual[sd->reg08 >> 1]); in setquality()
6703 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
6870 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dov519.c116 u8 jpeg_hdr[JPEG_HDR_SZ]; member