libgpac
Documentation of the core library of GPAC
|
#include <gpac/bitstream.h>
#include <gpac/filters.h>
#include <gpac/avparse.h>
#include <gpac/constants.h>
#include <gpac/internal/media_dev.h>
Data Structures | |
struct | HEVCTilePid |
struct | GF_HEVCSplitCtx |
Macros | |
#define | OFFS(_n) #_n, offsetof(GF_HEVCSplitCtx, _n) |
Functions | |
static u32 | hevcsplit_get_slice_tile_index (HEVCState *hevc) |
static void | hevcsplit_get_tile_pixel_coords (HEVCState *hevc, u32 index_row, u32 index_col, u32 pps_id, u32 *width, u32 *height, u32 *tx, u32 *ty) |
static void | hevc_write_profile_tier_level (GF_BitStream *bs_in, GF_BitStream *bs_out, Bool ProfilePresentFlag, u8 MaxNumSubLayersMinus1) |
void | hevc_rewrite_sps (char *in_SPS, u32 in_SPS_length, u32 width, u32 height, char **out_SPS, u32 *out_SPS_length) |
static void | hevcsplit_rewrite_pps_no_grid (GF_HEVCSplitCtx *ctx, char *in_PPS, u32 in_PPS_length, char **out_PPS, u32 *out_PPS_length) |
static u32 | hevcsplit_remove_slice_address (GF_HEVCSplitCtx *ctx, u8 *in_slice, u32 in_slice_length) |
static char * | hevcsplit_rewrite_nal (GF_Filter *filter, GF_HEVCSplitCtx *ctx, char *in_nal, u32 in_nal_size, u32 *out_tile_index, u32 *out_nal_size) |
static GF_Err | hevcsplit_rewrite_dsi (GF_HEVCSplitCtx *ctx, GF_FilterPid *opid, char *data, u32 size, u32 new_width, u32 new_height) |
static void | hevcsplit_write_nal (char *output_nal, char *rewritten_nal, u32 out_nal_size, u32 hevc_nalu_size_length) |
static GF_Err | hevcsplit_config_passthrough (GF_Filter *filter, GF_HEVCSplitCtx *ctx, GF_FilterPid *pid) |
static GF_Err | hevcsplit_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static GF_Err | hevcsplit_process (GF_Filter *filter) |
static GF_Err | hevcsplit_initialize (GF_Filter *filter) |
static void | hevcsplit_finalize (GF_Filter *filter) |
const GF_FilterRegister * | hevcsplit_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | HEVCSplitCaps [] |
static const GF_FilterArgs | HEVCSplitArgs [] |
GF_FilterRegister | HEVCSplitRegister |
struct HEVCTilePid |
struct GF_HEVCSplitCtx |
Data Fields | ||
---|---|---|
GF_FilterPid * | ipid | |
GF_List * | outputs | |
u32 | num_tiles | |
u32 | got_p | |
HEVCState | hevc_state | |
u32 | hevc_nalu_size_length | |
u32 | cfg_crc | |
u32 | nb_pck | |
GF_BitStream * | bs_au_in | |
GF_BitStream * | bs_nal_in | |
GF_BitStream * | bs_nal_out | |
u8 * | buffer_nal | |
u32 | buffer_nal_alloc | |
u8 * | output_no_epb | |
u32 | output_no_epb_alloc | |
u8 * | input_no_epb | |
u32 | input_no_epb_alloc | |
Bool | passthrough |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_HEVCSplitCtx, _n) |
|
static |
|
static |
void hevc_rewrite_sps | ( | char * | in_SPS, |
u32 | in_SPS_length, | ||
u32 | width, | ||
u32 | height, | ||
char ** | out_SPS, | ||
u32 * | out_SPS_length | ||
) |
|
static |
|
static |
|
static |
|
static |
used for storing AVC sequenceParameterSetNALUnit and pictureParameterSetNALUnit
|
static |
|
static |
|
static |
used for storing AVC sequenceParameterSetNALUnit and pictureParameterSetNALUnit
|
static |
|
static |
|
static |
const GF_FilterRegister* hevcsplit_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister HEVCSplitRegister |