decoder.py
def decode_sequential(self, interleaved_components):
        """Most sequential encoding is interleaved, here it doesn't support non-interleaved"""
        for cp in interleaved_components: cp.prev_DC = 0
        for i in range(self.nr_MCUs_ver):
            for j in range(self.nr_MCUs_hor):
                for cp in interleaved_components:
                    v_idx, h_idx = cp.vf * i, cp.hf * j # top-left block
                    for m in range(cp.vf):
                        for n in range(cp.hf):
                            block = cp.blocks[v_idx+m][h_idx+n]
                            cp.prev_DC = self.decode_sequential_per_block(cp.DCht, cp.ACht, block, cp.prev_DC)
Most sequential encoding is interleaved, here it doesn't support non-interleaved
Most sequential encoding is interleaved, here it doesn't support non-interleaved
Most sequential encoding is interleaved here it doesn ' t support non - interleaved
def decode_sequential(self, interleaved_components):
        for cp in interleaved_components: cp.prev_DC = 0
        for i in range(self.nr_MCUs_ver):
            for j in range(self.nr_MCUs_hor):
                for cp in interleaved_components:
                    v_idx, h_idx = cp.vf * i, cp.hf * j 
                    for m in range(cp.vf):
                        for n in range(cp.hf):
                            block = cp.blocks[v_idx+m][h_idx+n]
                            cp.prev_DC = self.decode_sequential_per_block(cp.DCht, cp.ACht, block, cp.prev_DC)
def decode_sequential ( self , interleaved_components ) : for cp in interleaved_components : cp . prev_DC = 0 for i in range ( self . nr_MCUs_ver ) : for j in range ( self . nr_MCUs_hor ) : for cp in interleaved_components : v_idx , h_idx = cp . vf * i , cp . hf * j for m in range ( cp . vf ) : for n in range ( cp . hf ) : block = cp . blocks [ v_idx + m ] [ h_idx + n ] cp . prev_DC = self . decode_sequential_per_block ( cp . DCht , cp . ACht , block , cp . prev_DC )
Most sequential encoding is interleaved, here it doesn't support non-interleaved
Most sequential encoding is interleaved here it doesn ' t support non - interleaved
"""Most sequential encoding is interleaved, here it doesn't support non-interleaved""" # top-left block

self
interleaved_components