Blender V5.3
bpy_app_ffmpeg.cc File Reference
#include "BLI_utildefines.hh"
#include <Python.h>
#include "../generic/python_compat.hh"
#include "bpy_app_ffmpeg.hh"
#include "../generic/py_capi_utils.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DEF_FFMPEG_LIB_VERSION(lib)
#define SetStrItem(str)
#define SetObjItem(obj)
#define FFMPEG_LIB_VERSION(lib)

Functions

static PyObject * blender::make_ffmpeg_info ()
PyObject * blender::BPY_app_ffmpeg_struct ()

Variables

static PyTypeObject blender::BlenderAppFFmpegType
static PyStructSequence_Field blender::app_ffmpeg_info_fields []
static PyStructSequence_Desc blender::app_ffmpeg_info_desc

Macro Definition Documentation

◆ DEF_FFMPEG_LIB_VERSION

#define DEF_FFMPEG_LIB_VERSION ( lib)
Value:
{(#lib "_version"), ("The " #lib " version as a tuple of 3 numbers")}, \
{ \
(#lib "_version_string"), ("The " #lib " version formatted as a string") \
}
static DynamicLibrary lib

Definition at line 32 of file bpy_app_ffmpeg.cc.

◆ FFMPEG_LIB_VERSION

#define FFMPEG_LIB_VERSION ( lib)
Value:
{ \
SetStrItem("Unknown"); \
SetStrItem("Unknown"); \
} \
(void)0

Referenced by blender::make_ffmpeg_info().

◆ SetObjItem

#define SetObjItem ( obj)
Value:
PyStructSequence_SET_ITEM(ffmpeg_info, pos++, obj)

◆ SetStrItem

#define SetStrItem ( str)
Value:
PyStructSequence_SET_ITEM(ffmpeg_info, pos++, PyUnicode_FromString(str))
#define str(s)