FFmpeg
Public Member Functions | Data Fields
SwsOpPriv Union Reference

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

#include <ops_chain.h>

Public Member Functions

 DECLARE_ALIGNED_16 (char, data)[16]
 

Data Fields

void * ptr
 
uint8_t u8 [16]
 
uint16_t u16 [8]
 
uint32_t u32 [4]
 
float f32 [4]
 

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. Private data for each kernel.

Definition at line 42 of file ops_chain.h.

Member Function Documentation

◆ DECLARE_ALIGNED_16()

SwsOpPriv::DECLARE_ALIGNED_16 ( char  ,
data   
)

Field Documentation

◆ ptr

void* SwsOpPriv::ptr

Definition at line 46 of file ops_chain.h.

Referenced by ff_sws_op_chain_free_cb(), and ff_sws_op_compile_tables().

◆ u8

uint8_t SwsOpPriv::u8[16]

Definition at line 47 of file ops_chain.h.

Referenced by normalize_clear().

◆ u16

uint16_t SwsOpPriv::u16[8]

Definition at line 48 of file ops_chain.h.

Referenced by normalize_clear().

◆ u32

uint32_t SwsOpPriv::u32[4]

Definition at line 49 of file ops_chain.h.

Referenced by normalize_clear().

◆ f32

float SwsOpPriv::f32[4]

Definition at line 50 of file ops_chain.h.


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