OpenFFmpeg
Classes | Typedefs | Functions
vpcc.h File Reference

internal header for VPx codec configuration utilities. More...

#include <stdint.h>
#include "avio.h"
#include "avformat.h"
#include "libavcodec/avcodec.h"

Go to the source code of this file.

Classes

struct  VPCC
 

Typedefs

typedef struct VPCC 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.

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