libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/list.h>
#include <gpac/constants.h>
#include <gpac/network.h>
Data Structures | |
struct | GF_VCropCtx |
struct | GF_VCropFrame |
Macros | |
#define | GET_DIM(_dst, _i, _s) |
#define | ROUND_IT(_a) { if ((ctx->round==0) || (ctx->round==2)) { (_a)++; } else { (_a)--; } } |
#define | OFFS(_n) #_n, offsetof(GF_VCropCtx, _n) |
Functions | |
GF_Err | vcrop_frame_get_plane (GF_FilterFrameInterface *frame, u32 plane_idx, const u8 **outPlane, u32 *outStride) |
void | vcrop_packet_destruct (GF_Filter *filter, GF_FilterPid *pid, GF_FilterPacket *pck) |
static GF_Err | vcrop_process (GF_Filter *filter) |
static Bool | parse_crop_props (GF_VCropCtx *ctx, u32 src_w, u32 src_h, GF_PixelFormat pfmt) |
static GF_Err | vcrop_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
void | vcrop_finalize (GF_Filter *filter) |
const GF_FilterRegister * | vcrop_register (GF_FilterSession *session) |
Variables | |
static GF_FilterArgs | VCropArgs [] |
static const GF_FilterCapability | VCropCaps [] |
GF_FilterRegister | VCropRegister |
struct GF_VCropCtx |
Data Fields | ||
---|---|---|
const char * | wnd | |
Bool | copy | |
u32 | round | |
Bool | initialized | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
u32 | w | |
u32 | h | |
u32 | stride | |
u32 | s_pfmt | |
GF_Fraction | ar | |
Bool | passthrough | |
u32 | dst_stride[5] | |
u32 | src_stride[5] | |
u32 | nb_planes | |
u32 | nb_src_planes | |
u32 | out_size | |
u32 | out_src_size | |
u32 | src_uv_height | |
u32 | dst_uv_height | |
Bool | use_reference | |
u32 | dst_width | |
u32 | dst_height | |
s32 | src_x | |
s32 | src_y | |
Bool | packed_422 | |
GF_List * | frames | |
GF_List * | frames_res |
struct GF_VCropFrame |
Data Fields | ||
---|---|---|
GF_FilterFrameInterface | frame_ifce | |
GF_FilterPacket * | pck | |
u8 * | planes[5] | |
u32 | stride[5] | |
GF_VCropCtx * | ctx |
#define GET_DIM | ( | _dst, | |
_i, | |||
_s | |||
) |
#define ROUND_IT | ( | _a | ) | { if ((ctx->round==0) || (ctx->round==2)) { (_a)++; } else { (_a)--; } } |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_VCropCtx, _n) |
GF_Err vcrop_frame_get_plane | ( | GF_FilterFrameInterface * | frame, |
u32 | plane_idx, | ||
const u8 ** | outPlane, | ||
u32 * | outStride | ||
) |
void vcrop_packet_destruct | ( | GF_Filter * | filter, |
GF_FilterPid * | pid, | ||
GF_FilterPacket * | pck | ||
) |
|
static |
|
static |
void vcrop_finalize | ( | GF_Filter * | filter | ) |
const GF_FilterRegister* vcrop_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister VCropRegister |