• Shubhanshu Saxena's avatar
    libavfilter: Unify Execution Modes in DNN Filters · 60b4d07c
    Shubhanshu Saxena authored
    This commit unifies the async and sync mode from the DNN filters'
    perspective. As of this commit, the Native backend only supports
    synchronous execution mode.
    
    Now the user can switch between async and sync mode by using the
    'async' option in the backend_configs. The values can be 1 for
    async and 0 for sync mode of execution.
    
    This commit affects the following filters:
    1. vf_dnn_classify
    2. vf_dnn_detect
    3. vf_dnn_processing
    4. vf_sr
    5. vf_derain
    
    This commit also updates the filters vf_dnn_detect and vf_dnn_classify
    to send only the input frame and send NULL as output frame instead of
    input frame to the DNN backends.
    Signed-off-by: 's avatarShubhanshu Saxena <shubhanshu.e01@gmail.com>
    60b4d07c
dnn_interface.c 2.54 KB