libgpac
Documentation of the core library of GPAC
dec_img.c File Reference
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/avparse.h>
+ Include dependency graph for dec_img.c:

Data Structures

struct  GF_IMGDecCtx
 

Functions

static GF_Err imgdec_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
 
static GF_Err imgdec_process (GF_Filter *filter)
 
const GF_FilterRegister * imgdec_register (GF_FilterSession *session)
 

Variables

static const GF_FilterCapability ImgDecCaps []
 
GF_FilterRegister ImgDecRegister
 

Data Structure Documentation

◆ GF_IMGDecCtx

struct GF_IMGDecCtx
Data Fields
u32 codecid
GF_FilterPid * ipid
GF_FilterPid * opid
u32 width
u32 height
u32 pixel_format
u32 BPP

Function Documentation

◆ imgdec_configure_pid()

static GF_Err imgdec_configure_pid ( GF_Filter *  filter,
GF_FilterPid *  pid,
Bool  is_remove 
)
static
+ Here is the call graph for this function:

◆ imgdec_process()

static GF_Err imgdec_process ( GF_Filter *  filter)
static
+ Here is the call graph for this function:

◆ imgdec_register()

const GF_FilterRegister* imgdec_register ( GF_FilterSession *  session)

Variable Documentation

◆ ImgDecCaps

const GF_FilterCapability ImgDecCaps[]
static
Initial value:
=
{
}
@ GF_CODECID_PNG
Definition: constants.h:452
@ GF_CODECID_RAW
Definition: constants.h:600
@ GF_CODECID_JPEG
Definition: constants.h:450
@ GF_STREAM_VISUAL
Definition: constants.h:64
#define GF_CAPS_OUTPUT
Definition: filters.h:2232
#define CAP_UINT(_f, _a, _b)
Definition: filters.h:2172
#define GF_CAPS_INPUT_EXCLUDED
Definition: filters.h:2228
#define CAP_BOOL(_f, _a, _b)
Definition: filters.h:2180
#define GF_CAPS_INPUT
Definition: filters.h:2220
@ GF_PROP_PID_CODECID
Definition: filters.h:1116
@ GF_PROP_PID_STREAM_TYPE
Definition: filters.h:1112
@ GF_PROP_PID_UNFRAMED
Definition: filters.h:1118
@ GF_TRUE
Definition: setup.h:474

◆ ImgDecRegister

GF_FilterRegister ImgDecRegister
Initial value:
= {
.name = "imgdec",
.private_size = sizeof(GF_IMGDecCtx),
.priority = 1,
.configure_pid = imgdec_configure_pid,
.process = imgdec_process,
.hint_class_type = GF_FS_CLASS_DECODER
}
static GF_Err imgdec_process(GF_Filter *filter)
Definition: dec_img.c:78
static const GF_FilterCapability ImgDecCaps[]
Definition: dec_img.c:156
static GF_Err imgdec_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
Definition: dec_img.c:39
Definition: dec_img.c:33
#define SETCAPS(__struct)
Definition: filters.h:2364
@ GF_FS_CLASS_DECODER
Definition: filters.h:2465