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?
501 // is it a jpeg?
966 // individual types do this automatically as much as possible (e.g. jpeg
1124 // definition of jpeg image component
1139 uint32 code_buffer; // jpeg entropy-coded buffer
1146 } jpeg;
1157 // compute actual symbols (from jpeg spec)
1189 static void grow_buffer_unsafe(jpeg *j)
1209 // decode a jpeg huffman value from the bitstream
1210 __forceinline static int decode(jpeg *j, huffman *h)
1261 __forceinline static int extend_receive(jpeg *j, int n)
1304 static int decode_block(jpeg *j, short data[64], huffman *hdc, huffman *hac, int b)
1471 static uint8 get_marker(jpeg *j)
1488 static void reset(jpeg *j)
1500 static int parse_entropy_coded_data(jpeg *z)
1572 static int process_marker(jpeg *z, int marker)
1580 return e("progressive jpeg","JPEG format not supported (progressive)");
1641 static int process_scan_header(jpeg *z)
1666 static int process_frame_header(jpeg *z, int scan)
1745 static int decode_jpeg_header(jpeg *z, int scan)
1766 static int decode_jpeg_image(jpeg *j)
1928 static void cleanup_jpeg(jpeg *j)
1953 static uint8 *load_jpeg_image(jpeg *z, int *out_x, int *out_y, int *comp, int req_comp)
1960 // load a jpeg image from whichever source
2056 jpeg j;
2076 jpeg *j = (jpeg *) MALLOC(sizeof(*j));
2082 jpeg j;
2088 static int stbi_jpeg_info_raw(jpeg *j, int *x, int *y, int *comp)
2102 jpeg j;
2112 jpeg j;
2134 jpeg j;
2141 jpeg j;
2159 // fast-way is faster to check than jpeg huffman, but slow way is slower
2295 // use jpeg approach, which requires MSbits at top
4942 minor perf improvements for jpeg
4981 0.97 jpeg errors on too large a file; also catch another malloc failure
4999 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments