janalysis/jpeg.py
def _zigzag_all(interleaved):
    """Zigzag all of the blocks (creating a list of lists)."""
    zigzaged_lists = []
    for matrix in interleaved:
        zigzaged_matrix = []
        for index in ZIGZAG_ORDER:
            zigzaged_matrix.append(matrix[index[0]][index[1]])
        zigzaged_lists.append(zigzaged_matrix)
    return zigzaged_lists
Zigzag all of the blocks (creating a list of lists).
Zigzag all of the blocks (creating a list of lists).
Zigzag all of the blocks ( creating a list of lists ) .
def _zigzag_all(interleaved):
    zigzaged_lists = []
    for matrix in interleaved:
        zigzaged_matrix = []
        for index in ZIGZAG_ORDER:
            zigzaged_matrix.append(matrix[index[0]][index[1]])
        zigzaged_lists.append(zigzaged_matrix)
    return zigzaged_lists
def _zigzag_all ( interleaved ) : zigzaged_lists = [ ] for matrix in interleaved : zigzaged_matrix = [ ] for index in ZIGZAG_ORDER : zigzaged_matrix . append ( matrix [ index [ 0 ] ] [ index [ 1 ] ] ) zigzaged_lists . append ( zigzaged_matrix ) return zigzaged_lists
Zigzag all of the blocks (creating a list of lists).
Zigzag all of the blocks ( creating a list of lists ) .
"""Zigzag all of the blocks (creating a list of lists)."""
interleaved