Zig Zag Scan Module¶
-
jpegenc.subblocks.zig_zag.zig_zag.zig_zag¶ Zig-Zag Module
This module performs the zig-zag reorderding. According to the zig-zag matrix the input list of signals is reordered. The inputs and the ouputs are parallel. The parameter N defines the size of the NxN block.
- Inputs:
- List of signals of a NxN block
- Outputs:
- Reordered list of signals of a NxN block
Parameters: = the size of the NxN block (N) –
-
class
jpegenc.subblocks.zig_zag.zig_zag_scan(N)¶ -
static
build_zig_zag_matrix(N)¶ Build the zig-zag matrix Code taken from http://paddy3118.blogspot.gr/2008/08/zig-zag.html
-
zig_zag(signal_list)¶ Zig-zag scan function
-
static