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 9894
color_transform.h 515
common.cc 1602
common.h clang-format off 1503
common_internal.h clang-format off 4164
dct-inl.h 8112
decode.cc 37293
decode.h 3716
decode_api_test.cc 47343
decode_internal.h 4542
decode_marker.cc 21285
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 5412
downsample.cc 12314
downsample.h 507
encode.cc 45649
encode.h 6309
encode_api_test.cc 28049
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 1502
error_handling_test.cc 41253
huffman.cc 11931
huffman.h 1586
idct.cc 26685
idct.h 434
input.cc 16428
input.h 386
input_suspension_test.cc 21791
jpeg.version.8 80
jpeg.version.62 118
libjpeg_test_util.cc clang-format off 10364
libjpeg_test_util.h 1425
libjpeg_wrapper.cc 7930
memory_manager.cc 6155
memory_manager.h 1391
output_suspension_test.cc 7323
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 3179
source_manager_test.cc require_image= 4305
streaming_test.cc 8538
test_params.h 4806
test_utils-inl.h 15861
test_utils.cc 28298
test_utils.h clang-format off 4586
testing.h 1088
transcode_api_test.cc require_image= 4362
transpose-inl.h 3684
types.h 860
upsample.cc 4647
upsample.h 804