xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Typedefs | Functions
ffmpeg_encoder.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <math.h>
#include "video_out_dxr3.h"
#include <libavcodec/avcodec.h>
#include <libavutil/mem.h>
#include "../combined/ffmpeg/ffmpeg_compat.h"

Data Structures

struct  lavc_data_s
 

Macros

#define LOG_MODULE   "dxr3_mpeg_encoder"
 

Typedefs

typedef struct lavc_data_s lavc_data_t
 

Functions

static int lavc_on_update_format (dxr3_driver_t *drv, dxr3_frame_t *frame)
 
static int lavc_on_display_frame (dxr3_driver_t *drv, dxr3_frame_t *frame)
 
static int lavc_on_unneeded (dxr3_driver_t *drv)
 
static int dxr3_lavc_close (dxr3_driver_t *drv)
 
int dxr3_lavc_init (dxr3_driver_t *drv, plugin_node_t *plugin)
 
static int lavc_prepare_frame (lavc_data_t *this, dxr3_driver_t *drv, dxr3_frame_t *frame)
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "dxr3_mpeg_encoder"

Typedef Documentation

◆ lavc_data_t

typedef struct lavc_data_s lavc_data_t

Function Documentation

◆ dxr3_lavc_close()

static int dxr3_lavc_close ( dxr3_driver_t * drv)
static

◆ dxr3_lavc_init()

int dxr3_lavc_init ( dxr3_driver_t * drv,
plugin_node_t * plugin )

◆ lavc_on_display_frame()

static int lavc_on_display_frame ( dxr3_driver_t * drv,
dxr3_frame_t * frame )
static

◆ lavc_on_unneeded()

static int lavc_on_unneeded ( dxr3_driver_t * drv)
static

References dxr3_driver_s::enc, lprintf, and NULL.

Referenced by dxr3_lavc_init().

◆ lavc_on_update_format()

static int lavc_on_update_format ( dxr3_driver_t * drv,
dxr3_frame_t * frame )
static

◆ lavc_prepare_frame()

static int lavc_prepare_frame ( lavc_data_t * this,
dxr3_driver_t * drv,
dxr3_frame_t * frame )
static