Name Description Size
adaptive_quantization.cc 21637
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 18298
color_quantize.h 696
color_transform.cc 17151
color_transform.h 515
common.cc 1602
common.h 1382
common_internal.h clang-format off 4553
dct-inl.h 8167
decode.cc 37925
decode.h NOLINT 3701
decode_api_test.cc NOLINT 48168
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. 17101
decode_scan.h 1076
destination_manager.cc NOLINT 5436
downsample.cc 12332
downsample.h 507
encode.cc 46169
encode.h NOLINT 6294
encode_api_test.cc 29432
encode_finish.cc 7589
encode_finish.h 416
encode_internal.h 4433
encode_streaming.cc 8655
encode_streaming.h 535
entropy_coding-inl.h 7290
entropy_coding.cc 30139
entropy_coding.h 750
error.cc 3190
error.h 1937
error_handling_test.cc 41832
fuzztest.h f 550
huffman.cc 11964
huffman.h 1586
idct.cc 26909
idct.h 430
input.cc 16428
input.h 386
input_suspension_test.cc NOLINT 22719
jpeg.version.8 80
jpeg.version.62 118
libjpeg_test_util.cc require_image= 10586
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 :warning: **Important Update:** Development continues at https://github.com/google/jpegli 2211
render.cc 29715
render.h 611
simd.cc 853
simd.h 385
source_manager.cc NOLINT 3225
source_manager_test.cc require_image= 4628
streaming_test.cc NOLINT 8826
test_params.h 4806
test_utils-inl.h 15547
test_utils.cc 30572
test_utils.h 4521
testing.h 1153
transcode_api_test.cc require_image= 4564
transpose-inl.h 3684
types.h 802
upsample.cc 4647
upsample.h 804