x393
1.0
FPGAcodeforElphelNC393camera
|
Files | |
file | bit_stuffer_27_32.v [code] |
Aggregate MSB aligned variable-length (1..27) data to 32-bit words. | |
file | bit_stuffer_escape.v [code] |
Escapes each 0xff with 0x00, 32-bit input and output. | |
file | bit_stuffer_metadata.v [code] |
Bit stuffer combines variable length fragments (up to 16 bits long) from the Huffman encoder to a byte stream, escapes every 0xff byte with 0x00 and adds file length and timestamp metadata. | |
file | cmprs_buf_average.v [code] |
Saves Y and C components to buffers, caculates averages during write, then subtracts them during read and provides to the after DCT to restore DC. | |
file | cmprs_cmd_decode.v [code] |
Decode compressor command/modes, reclock some signals. | |
file | cmprs_frame_sync.v [code] |
Synchronizes memory channels (sensor and compressor) | |
file | cmprs_macroblock_buf_iface.v [code] |
Communicates with compressor memory buffer, generates pixel stream matching selected color mode, accommodates for the buffer latency, acts as a pacemaker for the whole compressor (next stages are able to keep up). | |
file | cmprs_out_fifo.v [code] |
Compressor output FIFO. | |
file | cmprs_out_fifo32.v [code] |
Compressor output FIFO, modified to use 32-bit input and xclk. | |
file | cmprs_pixel_buf_iface.v [code] |
Communicates with compressor memory buffer, generates pixel stream matching selected color mode, accommodates for the buffer latency, acts as a pacemaker for the whole compressor (next stages are able to keep up). | |
file | cmprs_status.v [code] |
Generate compressor status word. | |
file | cmprs_tile_mode2_decode.v [code] |
Decode mode parameters, registered at pre-start of the macroblock data to color conversion module. | |
file | cmprs_tile_mode_decode.v [code] |
Decode tile/macroblocks parameters from compressor type. | |
file | compressor393.v [code] |
Top module containg all compressor channels. | |
file | csconvert.v [code] |
Color space convert: combine differnt color modes. | |
file | csconvert18a.v [code] |
Color space converter (bayer-> YCbCr 4:2:1) for JPEG compressor. Uses 18x18 pixel overlapping macroblocks for color conversion. | |
file | csconvert_jp4.v [code] |
Color conversion for JP4 mode. | |
file | csconvert_jp4diff.v [code] |
Color conversion for JP4 differential. | |
file | csconvert_mono.v [code] |
Convert JPEG monochrome. | |
file | dcc_sync393.v [code] |
Synchronises output of DC components Syncronizes dcc data with dma1 output, adds 16..31 16-bit zero words for Axis DMA Was not used in late NC353 camera (DMA channel used fro IMU logger) | |
file | encoderDCAC393.v [code] |
RLL encoder for JPEG compressor. | |
file | focus_sharp393.v [code] |
Module to determine focus sharpness on by integrating DCT coefficient, multiplied my 8x8 array and squared. | |
file | huff_fifo393.v [code] |
Part of Huffman encoder for JPEG compressor - FIFO for Huffman encoder based on earlier design that used 2x clock. Superseded by huffman_stuffer_meta. | |
file | huffman393.v [code] |
Huffman encoder for JPEG compressor based on previous design that used 2x clock. Superseded by huffman_stuffer_meta module. | |
file | huffman_merge_code_literal.v [code] |
Merge 1-16 bits of Huffman code with 0..11 bits of literal data, align result to MSB : {huffman,literal, {n{1'b0}}. | |
file | huffman_snglclk.v [code] |
Huffman encoder for JPEG compressor, redesigned to use single rate pixel clock. | |
file | huffman_stuffer_meta.v [code] |
Wrapper fior several JPEG/JP4 compression modules. It includes. | |
file | jp_channel.v [code] |
Top module of JPEG/JP4 compressor channel. | |
file | quantizer393.v [code] |
Quantizer module for JPEG/JP4 compressor. | |
file | stuffer393.v [code] |
Bit stuffer for JPEG/JP4 compressor based on earlier design Now used for comparison only, functionality is reimplemented in bit_stuffer_metadata module. | |
file | varlen_encode393.v [code] |
Part of the Huffman encoder for JPEG compressor - variable length encoder. Used double clock rate, superseded by varlen_encode_snglclk, left for comparison.Encoder will work 2 cycles per "normal" word, 1 cycle for codes "00" and "f0", only magnitude output is needed ASAP (2 cycles, the value out should be valid on the 5-th cycle - it will latency 4 cycles run each other cycle. Later implementsed a shortcut - all codes processed in 2 cycles. | |
file | varlen_encode_snglclk.v [code] |
Part of the Huffman encoder for JPEG compressor - variable length encoder. Uses single pixel clock rate. | |