Skip to content

WIP: va: negotiated unhandled caps as passthrough

    vapostproc: If caps are not handled try to passthrough.
    
    In order to support transparently pipelines with unsupported caps
    features, such as memory:GLMemory, try to negotiate them in
    passthrough mode.
    
    First of all, "video/x-raw(ANY)" was added in the template caps.
    
    And the transformation caps is split in two functions:
    
    1. Rangify video format and frame size, trying to use the values from
    VA, only on those caps that are manageable by vapostproc. Otherwise
    they're just copied.
    
    2. In order to handle caps features transformation (VAMemory to
    DMABuf, for example) those missing caps features in the income caps
    are added.
    
    Unhandled color formats, with system memory, cannot go passthrough.

Merge request reports