Name Description Size
adaptive_quantization.cc 21629
adaptive_quantization.h 442
bit_writer.cc 1719
bit_writer.h Writes the given byte to the output, writes an extra zero if byte is 0xFF. This method is "careless" - caller must make sure that there is enough space in the output buffer. Emits up to 2 bytes to buffer. 3139
bitstream.cc 15335
bitstream.h 1572
color_quantize.cc 18323
color_quantize.h 696
color_transform.cc 17151
color_transform.h 515
common.cc 1602
common.h 1440
common_internal.h clang-format off 4164
dct-inl.h 8112
decode.cc 37925
decode.h NOLINT 3759
decode_api_test.cc NOLINT 47917
decode_internal.h 4593
decode_marker.cc 20970
decode_marker.h 1201
decode_scan.cc Returns the DC diff or AC value for extra bits value x and prefix code s. CCITT Rec. T.81 (1992 E) Table F.1 – Difference magnitude categories for DC coding SSSS | DIFF values ------+-------------------------- 0 | 0 1 | –1, 1 2 | –3, –2, 2, 3 3 | –7..–4, 4..7 ......|.......................... 11 | –2047..–1024, 1024..2047 CCITT Rec. T.81 (1992 E) Table F.2 – Categories assigned to coefficient values [ Same as Table F.1, but does not include SSSS equal to 0 and 11] CCITT Rec. T.81 (1992 E) F.1.2.1.1 Structure of DC code table For each category,... additional bits... appended... to uniquely identify which difference... occurred... When DIFF is positive... SSSS... bits of DIFF are appended. When DIFF is negative... SSSS... bits of (DIFF – 1) are appended... Most significant bit... is 0 for negative differences and 1 for positive differences. In other words the upper half of extra bits range represents DIFF as is. The lower half represents the negative DIFFs with an offset. 17084
decode_scan.h 1076
destination_manager.cc NOLINT 5436
downsample.cc 12314
downsample.h 507
encode.cc 46155
encode.h NOLINT 6352
encode_api_test.cc 29461
encode_finish.cc 7575
encode_finish.h 416
encode_internal.h 4433
encode_streaming.cc 8643
encode_streaming.h 535
entropy_coding-inl.h 7290
entropy_coding.cc 29923
entropy_coding.h 750
error.cc 3179
error.h 1648
error_handling_test.cc 41857
huffman.cc 11931
huffman.h 1586
idct.cc 26685
idct.h 434
input.cc 16428
input.h 386
input_suspension_test.cc NOLINT 21983
jpeg.version.8 80
jpeg.version.62 118
libjpeg_test_util.cc require_image= 10311
libjpeg_test_util.h 1425
libjpeg_wrapper.cc NOLINT 7956
memory_manager.cc 6155
memory_manager.h 1391
output_suspension_test.cc 7623
quant.cc 24750
quant.h 604
README.md # Improved JPEG encoder and decoder implementation 2119
render.cc 29746
render.h 611
simd.cc 853
simd.h 385
source_manager.cc NOLINT 3225
source_manager_test.cc require_image= 4309
streaming_test.cc NOLINT 8770
test_params.h 4806
test_utils-inl.h 15861
test_utils.cc 30261
test_utils.h 4737
testing.h 1004
transcode_api_test.cc require_image= 4583
transpose-inl.h 3684
types.h 860
upsample.cc 4647
upsample.h 804