• Vittorio Giovara's avatar
    Add transformation matrix API. · bddd8cbf
    Vittorio Giovara authored
    
    
    Add AV_PKT_DATA_DISPLAYMATRIX and AV_FRAME_DATA_DISPLAYMATRIX as stream and
    frame side data (respectively) to describe a display transformation matrix
    for linear transformation operations on the decoded video.
    
    Add functions to easily extract a rotation angle from a matrix and
    conversely to setup a matrix for a given rotation angle.
    
    Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
    bddd8cbf