Lines Matching defs:jpeg
31 minor perf improvements for jpeg
55 Sean Barrett (jpeg, png, bmp) Fabian "ryg" Giesen
86 // - no jpeg progressive support
87 // - non-HDR formats support 8-bit samples only (jpeg, png)
88 // - no delayed line count (jpeg) -- IJG doesn't support either
314 // is it a jpeg?
502 // is it a jpeg?
967 // individual types do this automatically as much as possible (e.g. jpeg
1137 // definition of jpeg image component
1152 uint32 code_buffer; // jpeg entropy-coded buffer
1159 } jpeg;
1170 // compute actual symbols (from jpeg spec)
1202 static void grow_buffer_unsafe(jpeg *j)
1222 // decode a jpeg huffman value from the bitstream
1223 __forceinline static int decode(jpeg *j, huffman *h)
1274 __forceinline static int extend_receive(jpeg *j, int n)
1317 static int decode_block(jpeg *j, short data[64], huffman *hdc, huffman *hac, int b)
1484 static uint8 get_marker(jpeg *j)
1501 static void reset(jpeg *j)
1513 static int parse_entropy_coded_data(jpeg *z)
1585 static int process_marker(jpeg *z, int marker)
1593 return e("progressive jpeg","JPEG format not supported (progressive)");
1654 static int process_scan_header(jpeg *z)
1679 static int process_frame_header(jpeg *z, int scan)
1758 static int decode_jpeg_header(jpeg *z, int scan)
1779 static int decode_jpeg_image(jpeg *j)
1941 static void cleanup_jpeg(jpeg *j)
1966 static uint8 *load_jpeg_image(jpeg *z, int *out_x, int *out_y, int *comp, int req_comp)
1973 // load a jpeg image from whichever source
2069 jpeg j;
2089 jpeg *j = MALLOC(sizeof(*j));
2095 jpeg j;
2101 static int stbi_jpeg_info_raw(jpeg *j, int *x, int *y, int *comp)
2115 jpeg j;
2125 jpeg j;
2147 jpeg *j;
2160 jpeg *j;
2184 // fast-way is faster to check than jpeg huffman, but slow way is slower
2320 // use jpeg approach, which requires MSbits at top
5021 minor perf improvements for jpeg
5060 0.97 jpeg errors on too large a file; also catch another malloc failure
5078 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments