FFmpeg
Data Fields
SwsOpTable Struct Reference

Copyright (C) 2025 Niklas Haas. More...

#include <ops_chain.h>

Data Fields

unsigned cpu_flags
 
int block_size
 
const SwsOpEntryentries []
 

Detailed Description

Copyright (C) 2025 Niklas Haas.

This file is part of FFmpeg.

FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Helpers for SIMD implementations based on chained kernels, using a continuation passing style to link them together.

The basic idea here is to "link" together a series of different operation kernels by constructing a list of kernel addresses into an SwsOpChain. Each kernel will load the address of the next kernel (the "continuation") from this struct, and jump directly into it; using an internal function signature that is an implementation detail of the specific backend.

Definition at line 153 of file ops_chain.h.

Field Documentation

◆ cpu_flags

unsigned SwsOpTable::cpu_flags

Definition at line 154 of file ops_chain.h.

Referenced by ff_sws_op_compile_tables().

◆ block_size

int SwsOpTable::block_size

Definition at line 155 of file ops_chain.h.

◆ entries

const SwsOpEntry* SwsOpTable::entries[]

Definition at line 156 of file ops_chain.h.


The documentation for this struct was generated from the following file: