FFmpeg
Data Structures | Functions
vpcc.h File Reference
#include <stdint.h>
#include "avio.h"
#include "avformat.h"
#include "libavcodec/avcodec.h"

Go to the source code of this file.

Data Structures

struct  VPCC
 

Functions

int ff_isom_write_vpcc (AVFormatContext *s, AVIOContext *pb, AVCodecParameters *par)
 Writes VP codec configuration to the provided AVIOContext. More...
 
int ff_isom_get_vpcc_features (AVFormatContext *s, AVCodecParameters *par, AVRational *frame_rate, VPCC *vpcc)
 

Detailed Description

internal header for VPx codec configuration utilities.

Definition in file vpcc.h.

Function Documentation

◆ ff_isom_write_vpcc()

int ff_isom_write_vpcc ( AVFormatContext s,
AVIOContext pb,
AVCodecParameters par 
)

Writes VP codec configuration to the provided AVIOContext.

Parameters
saddress of the AVFormatContext for the logging context.
pbaddress of the AVIOContext where the vpcC shall be written.
paraddress of the AVCodecParameters which contains codec information.
Returns
>=0 in case of success, a negative value corresponding to an AVERROR code in case of failure

Definition at line 149 of file vpcc.c.

Referenced by mov_write_vpcc_tag().

◆ ff_isom_get_vpcc_features()

int ff_isom_get_vpcc_features ( AVFormatContext s,
AVCodecParameters par,
AVRational frame_rate,
VPCC vpcc 
)

Definition at line 116 of file vpcc.c.

Referenced by ff_isom_write_vpcc(), and set_vp9_codec_str().