FFmpeg
Loading...
Searching...
No Matches
dts_gen.c File Reference
#include "libavutil/common.h"
#include "libavutil/log.h"
#include "libavutil/mathematics.h"
#include "codec_desc.h"
#include "dts_gen.h"

Go to the source code of this file.

Functions

av_cold int ff_dts_gen_init (const AVCodecContext *avctx, FFDTSGen *g, int delay)
 
void ff_dts_gen_record_pts (FFDTSGen *g, int64_t pts)
 
static int64_t dts_gen_step (const AVCodecContext *avctx)
 
void ff_dts_gen_fill_pkt (AVCodecContext *avctx, FFDTSGen *g, AVPacket *pkt)
 
av_cold void ff_dts_gen_reset (FFDTSGen *g)
 

Function Documentation

◆ ff_dts_gen_init()

av_cold int ff_dts_gen_init ( const AVCodecContext * avctx,
FFDTSGen * g,
int delay )

◆ ff_dts_gen_record_pts()

void ff_dts_gen_record_pts ( FFDTSGen * g,
int64_t pts )

Definition at line 51 of file dts_gen.c.

Referenced by mediacodec_send(), nvenc_send_frame(), run_case(), run_reset(), and vtenc_frame().

◆ dts_gen_step()

static int64_t dts_gen_step ( const AVCodecContext * avctx)
static

Definition at line 65 of file dts_gen.c.

Referenced by ff_dts_gen_fill_pkt().

◆ ff_dts_gen_fill_pkt()

void ff_dts_gen_fill_pkt ( AVCodecContext * avctx,
FFDTSGen * g,
AVPacket * pkt )

◆ ff_dts_gen_reset()

av_cold void ff_dts_gen_reset ( FFDTSGen * g)