Commit graph

42 commits

Author SHA1 Message Date
9648f06186 qtable generation range fix 2023-12-12 14:25:23 +05:00
6c91c2c228 bitwriter reimplemented 2023-12-12 12:19:53 +05:00
22a63d68bf rle order fix, rework bitwriter 2023-12-11 16:28:34 +05:00
a4c4b1fdcf zigzag order fix 2023-12-11 16:26:32 +05:00
eeb67c3b79 scan writing done 2023-12-07 14:33:27 +05:00
f074e99eca huffman gen fix, bitwriter boilerplate 2023-12-06 14:27:02 +05:00
768e428e9a proper DC diffs, sos block header and end print 2023-12-05 15:25:00 +05:00
0a1df7feed writing SOF header and huffman trees 2023-12-05 12:34:42 +05:00
4bc436d92b proper init, initial header file write, huffman generation done 2023-12-04 16:45:30 +05:00
10d387e036 tmp 2023-12-04 14:48:17 +05:00
af99b90f9c min freqs fn fix, finished bits+huffval generation 2023-12-04 13:01:11 +05:00
a25213fa2d add huffman boiler, Code_size impl 2023-11-30 16:40:21 +05:00
03e986b5d6 less useless dc symbols 2023-11-30 15:19:42 +05:00
2dddb9371a RLE sequencing and frequency calcs 2023-11-30 15:13:26 +05:00
6aa84c775f boiler parsing dc coeff, first after start or EOB is always read as dc 2023-11-28 16:39:01 +05:00
6cfed66432 rle append and freq boiler 2023-11-28 16:24:47 +05:00
dcd6a4c298 boiler to manage scan encoding 2023-11-28 16:03:37 +05:00
6e27ca09d5 jpg output boiler 2023-11-28 15:29:57 +05:00
03ee4c04cb DCT computation 2023-11-28 15:03:58 +05:00
221519c705 add thread control via wake hints 2023-11-28 15:03:41 +05:00
4abd5b9019 use pointer to thread_mgr instead for thread control funcs for loop 2023-11-28 15:03:17 +05:00
1182082c50 expand quant range, fix band_len calc 2023-11-28 15:02:32 +05:00
e50a47398a add dct coeff generation with zig-zag order at compile time 2023-11-28 13:53:10 +05:00
af6d436079 restructured to allow qtables 2023-11-28 13:44:46 +05:00
d670f8f880 sleep main until all processed, add lum flag to jobs to pick qtable 2023-11-28 13:42:53 +05:00
9eb08afb61 transform placeholder 2023-11-27 16:46:56 +05:00
00e800cec0 add way to detect all blocks processed for img 2023-11-27 16:46:38 +05:00
f8847be2fb add atomic to keep track of processed blocks for eof sync 2023-11-27 16:45:47 +05:00
00637026ea file reading and queue prepend 2023-11-27 15:42:01 +05:00
2fd354bd25 jobqueue prepend alloc fix 2023-11-27 15:41:43 +05:00
3e20d948f8 formatting 2023-11-27 15:41:10 +05:00
2f7afe64f6 refactors, boiler for looping read 2023-11-27 14:06:31 +05:00
18a998e737 signal and thread spawns 2023-11-27 13:31:53 +05:00
c63d0520c7 refactor Queue, len check, memory pool for Node of Job, not job 2023-11-27 13:27:43 +05:00
d4194c501c make deallocs not suck since using arena 2023-11-27 13:09:02 +05:00
7512246e9b pop and push to queue 2023-11-27 13:02:09 +05:00
98aaa390be queuing and job node allocs 2023-11-27 12:53:02 +05:00
6a6da59a79 basic threading handler boiler 2023-11-27 11:43:02 +05:00
491f6a98b7 added allocation for permanent buffers 2023-11-24 15:40:22 +05:00
f34f0ff465 args now use a fixed stack buffer instead of using pages 2023-11-24 14:59:14 +05:00
b5e1b15f8c arg parsing 2023-11-24 13:36:55 +05:00
e7139298ba init 2023-11-24 13:15:08 +05:00