Skip to content
  • Ronald S. Bultje's avatar
    [WIP] Add column-based tiling. · 1407bdc2
    Ronald S. Bultje authored
    This patch adds column-based tiling. The idea is to make each tile
    independently decodable (after reading the common frame header) and
    also independendly encodable (minus within-frame cost adjustments in
    the RD loop) to speed-up hardware & software en/decoders if they used
    multi-threading. Column-based tiling has the added advantage (over
    other tiling methods) that it minimizes realtime use-case latency,
    since all threads can start encoding data as soon as the first SB-row
    worth of data is available to the encoder.
    
    There is some test code that does random tile ordering in the decoder,
    to confirm that each tile is indeed independently decodable from other
    tiles in the same frame. At tile edges, all contexts assume default
    values (i.e. 0, 0 motion vector, no coefficients, DC intra4x4 mode),
    and motion vector search and ordering do not cross tiles in the same
    frame.
    t log
    
    Tile independence is not maintained between frames ATM, i.e. tile 0 of
    frame 1 is free to use motion vect...
    1407bdc2