FFmpeg
Functions
evc.h File Reference
#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/rational.h"
#include "libavcodec/evc.h"
#include "avio.h"

Go to the source code of this file.

Functions

static int evc_get_nalu_type (const uint8_t *p, int bits_size)
 
static uint32_t evc_read_nal_unit_length (const uint8_t *bits, int bits_size)
 
int ff_isom_write_evcc (AVIOContext *pb, const uint8_t *data, int size, int ps_array_completeness)
 Writes EVC sample metadata to the provided AVIOContext. More...
 

Function Documentation

◆ evc_get_nalu_type()

static int evc_get_nalu_type ( const uint8_t *  p,
int  bits_size 
)
inlinestatic

Definition at line 32 of file evc.h.

Referenced by annexb_probe(), and ff_isom_write_evcc().

◆ evc_read_nal_unit_length()

static uint32_t evc_read_nal_unit_length ( const uint8_t *  bits,
int  bits_size 
)
inlinestatic

Definition at line 48 of file evc.h.

◆ ff_isom_write_evcc()

int ff_isom_write_evcc ( AVIOContext pb,
const uint8_t *  data,
int  size,
int  ps_array_completeness 
)

Writes EVC sample metadata to the provided AVIOContext.

Parameters
pbpointer to the AVIOContext where the evc sample metadata shall be written
bufinput data buffer
sizesize in bytes of the input data buffer
ps_array_completeness
See also
ISO/IEC 14496-15:2021 Coding of audio-visual objects - Part 15: section 12.3.3.3
Returns
0 in case of success, a negative error code in case of failure

Definition at line 301 of file evc.c.

Referenced by mov_write_evcc_tag().