FFmpeg
Macros
uops_macros.asm.h File Reference
#include "../uops_macros.h"

Go to the source code of this file.

Macros

#define DECL_OP_MACRO(...)   {DECL_OP MACRO __VA_ARGS__},
 Copyright (C) 2025 Niklas Haas. More...
 
#define DEF_MACRO(UOP, TYPE)
 
#define DEF_ALL_MACROS(TYPE)
 

Macro Definition Documentation

◆ DECL_OP_MACRO

#define DECL_OP_MACRO (   ...)    {DECL_OP MACRO __VA_ARGS__},

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 WARNING: This file is preprocessed by the C compiler to generate the NASM source file uops_macros.gen.asm. It must NOT include any headers that may inadvertently declare any C syntax. The following header only declares further macros, and is therefore safe. NASM expects one statement per source line, but the C preprocessor expands multi-line macros into a single line. This NASM macro allows us to work around that by expanding its arguments into multiple lines.

Definition at line 45 of file uops_macros.asm.h.

◆ DEF_MACRO

#define DEF_MACRO (   UOP,
  TYPE 
)
Value:
%define DECL_##TYPE##_##UOP(MACRO) \
MULTILINE SWS_FOR_##TYPE##_##UOP(DECL_OP_MACRO) \
dummy

Definition at line 46 of file uops_macros.asm.h.

◆ DEF_ALL_MACROS

#define DEF_ALL_MACROS (   TYPE)

Definition at line 51 of file uops_macros.asm.h.

TYPE
#define TYPE
Definition: ffv1dec.c:96
DECL_OP_MACRO
#define DECL_OP_MACRO(...)
Copyright (C) 2025 Niklas Haas.
Definition: uops_macros.asm.h:45
_
#define _