FFmpeg
Loading...
Searching...
No Matches
hwaccel_internal.h File Reference
#include <stdint.h>
#include "avcodec.h"
#include "libavutil/refstruct.h"

Go to the source code of this file.

Data Structures

struct  FFHWAccel
 

Macros

#define HWACCEL_CAP_ASYNC_SAFE   (1 << 0)
 Header providing the internals of AVHWAccel.
 
#define HWACCEL_CAP_THREAD_SAFE   (1 << 1)
 
#define FF_HW_CALL(avctx, function, ...)
 
#define FF_HW_SIMPLE_CALL(avctx, function)
 
#define FF_HW_HAS_CB(avctx, function)
 

Functions

static const FFHWAccelffhwaccel (const AVHWAccel *codec)
 

Macro Definition Documentation

◆ HWACCEL_CAP_ASYNC_SAFE

#define HWACCEL_CAP_ASYNC_SAFE   (1 << 0)

Header providing the internals of AVHWAccel.

Definition at line 31 of file hwaccel_internal.h.

Referenced by ff_thread_finish_setup().

◆ HWACCEL_CAP_THREAD_SAFE

#define HWACCEL_CAP_THREAD_SAFE   (1 << 1)

◆ FF_HW_CALL

#define FF_HW_CALL ( avctx,
function,
... )
Value:
(ffhwaccel((avctx)->hwaccel)->function((avctx), __VA_ARGS__))
static const char * hwaccel
Definition ffplay.c:357
static const FFHWAccel * ffhwaccel(const AVHWAccel *codec)

Definition at line 173 of file hwaccel_internal.h.

Referenced by av1_receive_frame_internal(), decode_nal_unit(), decode_nal_units(), decode_slice(), decode_slice(), decode_slice_data(), ff_h263_decode_frame(), ff_mjpeg_decode_sos(), get_current_frame(), hevc_frame_start(), mpeg_decode_slice(), and mpeg_field_start().

◆ FF_HW_SIMPLE_CALL

◆ FF_HW_HAS_CB

#define FF_HW_HAS_CB ( avctx,
function )

Function Documentation

◆ ffhwaccel()