less useless dc symbols
This commit is contained in:
parent
2dddb9371a
commit
03e986b5d6
1 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,7 @@ const Scan = struct {
|
|||
RLE_Seq.init(alloc_root),
|
||||
RLE_Seq.init(alloc_root),
|
||||
RLE_Seq.init(alloc_root),
|
||||
}, .freqs = [4][]u32{ try alloc.alloc(u32, 257), try alloc.alloc(u32, 257), try alloc.alloc(u32, 257), try alloc.alloc(u32, 257) }, .huffs = [4]Huffman{
|
||||
}, .freqs = [4][]u32{ try alloc.alloc(u32, 13), try alloc.alloc(u32, 257), try alloc.alloc(u32, 13), try alloc.alloc(u32, 257) }, .huffs = [4]Huffman{
|
||||
Huffman.init(alloc),
|
||||
Huffman.init(alloc),
|
||||
Huffman.init(alloc),
|
||||
|
@ -124,7 +124,6 @@ fn parse_block(block: *util.BlockQuantized, dc_diff: *i16, rle: *RLE_Seq, dc_fre
|
|||
.symbol = 0x00,
|
||||
.value = 0,
|
||||
});
|
||||
std.debug.print("{any}\n", .{rle.items});
|
||||
}
|
||||
|
||||
pub fn generate_jpg(buff: util.Buffers, alloc: std.mem.Allocator) !void {
|
||||
|
|
Loading…
Reference in a new issue