Lines Matching refs:jpeg_hdr
136 static void jpeg_define(u8 *jpeg_hdr,
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 & 0xff;
145 jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8;
146 jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width & 0xff;
147 jpeg_hdr[JPEG_HEIGHT_OFFSET + 6] = samplesY;
152 static void jpeg_set_qual(u8 *jpeg_hdr,
162 jpeg_hdr[JPEG_QT0_OFFSET + i] =
164 jpeg_hdr[JPEG_QT1_OFFSET + i] =