/drivers/media/video/gspca/ |
H A D | jpeg.h | 136 static void jpeg_define(u8 *jpeg_hdr, argument 141 memcpy(jpeg_hdr, jpeg_head, sizeof jpeg_head); 143 jpeg_hdr[JPEG_HEIGHT_OFFSET + 0] = height >> 8; 144 jpeg_hdr[JPEG_HEIGHT_OFFSET + 1] = height; 145 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; 146 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; 147 jpeg_hdr[JPEG_HEIGHT_OFFSET + 6] = samplesY; 152 static void jpeg_set_qual(u8 *jpeg_hdr, argument 162 jpeg_hdr[JPEG_QT0_OFFSET + i] = 164 jpeg_hdr[JPEG_QT1_OFFSE [all...] |
H A D | mars.c | 55 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 283 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 285 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 417 sd->jpeg_hdr, JPEG_HDR_SZ); 463 jpeg_set_qual(sd->jpeg_hdr, sd->quality);
|
H A D | spca1528.c | 44 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 367 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 371 jpeg_set_qual(sd->jpeg_hdr, 85); 452 sd->jpeg_hdr, JPEG_HDR_SZ);
|
H A D | stk014.c | 52 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 334 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 336 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 428 sd->jpeg_hdr, JPEG_HDR_SZ); 465 jpeg_set_qual(sd->jpeg_hdr, sd->quality);
|
H A D | conex.c | 46 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 850 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 852 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 899 sd->jpeg_hdr, JPEG_HDR_SZ); 1014 jpeg_set_qual(sd->jpeg_hdr, sd->quality);
|
H A D | jeilinj.c | 78 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 375 sd->jpeg_hdr, JPEG_HDR_SZ); 464 jpeg_define(dev->jpeg_hdr, gspca_dev->height, gspca_dev->width, 466 jpeg_set_qual(dev->jpeg_hdr, dev->quality); 515 jpeg_set_qual(sd->jpeg_hdr, sd->quality);
|
H A D | spca500.c | 62 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 674 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 676 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 912 sd->jpeg_hdr, JPEG_HDR_SZ); 1025 jpeg_set_qual(sd->jpeg_hdr, sd->quality);
|
H A D | sunplus.c | 59 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 808 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 810 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 996 sd->jpeg_hdr, JPEG_HDR_SZ); 1097 jpeg_set_qual(sd->jpeg_hdr, sd->quality);
|
H A D | sn9c20x.c | 99 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 2291 jpeg_define(sd->jpeg_hdr, height, width, 2293 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 2322 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); 2323 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); 2494 sd->jpeg_hdr, JPEG_HDR_SZ);
|
H A D | sonixj.c | 89 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 2274 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 2278 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64); 2286 memcpy(gspca_dev->usb_buf, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64); 2343 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 2878 sd->jpeg_hdr, JPEG_HDR_SZ); 2946 sd->jpeg_hdr, JPEG_HDR_SZ);
|
H A D | zc3xx.c | 69 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 6686 jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, 6688 jpeg_set_qual(sd->jpeg_hdr, sd->quality); 6844 sd->jpeg_hdr, JPEG_HDR_SZ); 6908 jpeg_set_qual(sd->jpeg_hdr, sd->quality);
|
H A D | ov519.c | 47 /* The jpeg_hdr is used by w996Xcf only */ 122 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd
|
H A D | topro.c | 150 u8 jpeg_hdr[JPEG_HDR_SZ]; member in struct:sd 966 static void jpeg_define(u8 *jpeg_hdr, argument 970 memcpy(jpeg_hdr, jpeg_head, sizeof jpeg_head); 971 jpeg_hdr[JPEG_HEIGHT_OFFSET + 0] = height >> 8; 972 jpeg_hdr[JPEG_HEIGHT_OFFSET + 1] = height; 973 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; 974 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; 978 static void jpeg_set_qual(u8 *jpeg_hdr, argument 988 jpeg_hdr[JPEG_QT0_OFFSET + i] = 990 jpeg_hdr[JPEG_QT1_OFFSE [all...] |