Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/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()
Dmars.c55 u8 jpeg_hdr[JPEG_HDR_SZ]; member
283 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
285 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_start()
417 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
463 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_set_jcomp()
Dstk014.c52 u8 jpeg_hdr[JPEG_HDR_SZ]; member
334 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
336 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_start()
428 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
465 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_set_jcomp()
Dtopro.c150 u8 jpeg_hdr[JPEG_HDR_SZ]; member
966 static void jpeg_define(u8 *jpeg_hdr, in jpeg_define() argument
970 memcpy(jpeg_hdr, jpeg_head, sizeof jpeg_head); in jpeg_define()
971 jpeg_hdr[JPEG_HEIGHT_OFFSET + 0] = height >> 8; in jpeg_define()
972 jpeg_hdr[JPEG_HEIGHT_OFFSET + 1] = height; in jpeg_define()
973 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; in jpeg_define()
974 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; in jpeg_define()
978 static void jpeg_set_qual(u8 *jpeg_hdr, in jpeg_set_qual() argument
988 jpeg_hdr[JPEG_QT0_OFFSET + i] = in jpeg_set_qual()
990 jpeg_hdr[JPEG_QT1_OFFSET + i] = in jpeg_set_qual()
[all …]
Djeilinj.c78 u8 jpeg_hdr[JPEG_HDR_SZ]; member
375 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
464 jpeg_define(dev->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
466 jpeg_set_qual(dev->jpeg_hdr, dev->quality); in sd_start()
515 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_set_jcomp()
Dw996Xcf.c38 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET])
39 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET])
475 jpeg_define(sd->jpeg_hdr, sd->gspca_dev.height, in w9968cf_mode_init_regs()
477 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in w9968cf_mode_init_regs()
543 sd->jpeg_hdr, JPEG_HDR_SZ); in w9968cf_pkt_scan()
Dspca1528.c44 u8 jpeg_hdr[JPEG_HDR_SZ]; member
367 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
371 jpeg_set_qual(sd->jpeg_hdr, 85); in sd_start()
452 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dconex.c46 u8 jpeg_hdr[JPEG_HDR_SZ]; member
850 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
852 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_start()
899 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
1014 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_set_jcomp()
Dspca500.c62 u8 jpeg_hdr[JPEG_HDR_SZ]; member
674 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
676 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_start()
912 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
1025 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_set_jcomp()
Dsunplus.c59 u8 jpeg_hdr[JPEG_HDR_SZ]; member
808 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
810 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_start()
996 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
1097 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in sd_set_jcomp()
Dsn9c20x.c112 u8 jpeg_hdr[JPEG_HDR_SZ]; member
1728 jpeg_set_qual(sd->jpeg_hdr, sd->ctrls[QUALITY].val); in set_quality()
1731 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in set_quality()
1732 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in set_quality()
2068 jpeg_define(sd->jpeg_hdr, height, width, in sd_start()
2070 jpeg_set_qual(sd->jpeg_hdr, sd->ctrls[QUALITY].val); in sd_start()
2100 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in sd_start()
2101 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in sd_start()
2356 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dsonixj.c91 u8 jpeg_hdr[JPEG_HDR_SZ]; member
2351 jpeg_set_qual(sd->jpeg_hdr, sd->quality); in setjpegqual()
2355 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); in setjpegqual()
2363 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); in setjpegqual()
2420 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
2972 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
3040 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
Dzc3xx.c68 u8 jpeg_hdr[JPEG_HDR_SZ]; member
6169 jpeg_set_qual(sd->jpeg_hdr, in transfer_update()
6809 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, in sd_start()
6888 jpeg_set_qual(sd->jpeg_hdr, jpeg_qual[sd->reg08]); in sd_start()
6976 sd->jpeg_hdr, JPEG_HDR_SZ); in sd_pkt_scan()
7044 jpeg_set_qual(sd->jpeg_hdr, sd->ctrls[QUALITY].val); in sd_setquality()
Dov519.c122 u8 jpeg_hdr[JPEG_HDR_SZ]; member