xine-lib  1.2.9
Data Structures | Macros | Typedefs | Functions
vdpau_h264.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <vdpau/vdpau.h>
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>
#include "bswap.h"
#include "accel_vdpau.h"
#include "h264_parser.h"
#include "dpb.h"
#include "cpb.h"
#include "dpb.c"
#include "cpb.c"
#include "nal.c"
#include "h264_parser.c"
#include "group_vdpau.h"

Data Structures

struct  vdpau_h264_class_t
 
struct  vdpau_h264_decoder_s
 

Macros

#define LOG_MODULE   "vdpau_h264"
 
#define VIDEOBUFSIZE   128*1024
 

Typedefs

typedef struct vdpau_h264_decoder_s vdpau_h264_decoder_t
 

Functions

static void vdpau_h264_reset (video_decoder_t *this_gen)
 
static void vdpau_h264_flush (video_decoder_t *this_gen)
 
static void set_ratio (video_decoder_t *this_gen)
 
static void fill_vdpau_pictureinfo_h264 (video_decoder_t *this_gen, uint32_t slice_count, VdpPictureInfoH264 *pic)
 
static int check_progressive (video_decoder_t *this_gen, struct decoded_picture *dpic)
 
static int vdpau_decoder_init (video_decoder_t *this_gen)
 
static void draw_frames (video_decoder_t *this_gen, int flush)
 
static int vdpau_decoder_render (video_decoder_t *this_gen, VdpBitstreamBuffer *vdp_buffer, uint32_t slice_count)
 
static void vdpau_h264_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
 
static void vdpau_h264_discontinuity (video_decoder_t *this_gen)
 
static void vdpau_h264_dispose (video_decoder_t *this_gen)
 
static video_decoder_topen_plugin (video_decoder_class_t *class_gen, xine_stream_t *stream)
 
void * h264_init_plugin (xine_t *xine, void *data)
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "vdpau_h264"

◆ VIDEOBUFSIZE

#define VIDEOBUFSIZE   128*1024

Typedef Documentation

◆ vdpau_h264_decoder_t

Function Documentation

◆ check_progressive()

static int check_progressive ( video_decoder_t this_gen,
struct decoded_picture dpic 
)
static

◆ draw_frames()

static void draw_frames ( video_decoder_t this_gen,
int  flush 
)
static

◆ fill_vdpau_pictureinfo_h264()

static void fill_vdpau_pictureinfo_h264 ( video_decoder_t this_gen,
uint32_t  slice_count,
VdpPictureInfoH264 *  pic 
)
static

◆ h264_init_plugin()

void* h264_init_plugin ( xine_t xine,
void *  data 
)

◆ open_plugin()

static video_decoder_t* open_plugin ( video_decoder_class_t class_gen,
xine_stream_t stream 
)
static

◆ set_ratio()

static void set_ratio ( video_decoder_t this_gen)
static

◆ vdpau_decoder_init()

static int vdpau_decoder_init ( video_decoder_t this_gen)
static

◆ vdpau_decoder_render()

static int vdpau_decoder_render ( video_decoder_t this_gen,
VdpBitstreamBuffer *  vdp_buffer,
uint32_t  slice_count 
)
static

◆ vdpau_h264_decode_data()

static void vdpau_h264_decode_data ( video_decoder_t this_gen,
buf_element_t buf 
)
static

◆ vdpau_h264_discontinuity()

static void vdpau_h264_discontinuity ( video_decoder_t this_gen)
static

References dpb_clear_all_pts(), and VO_NEW_SEQUENCE_FLAG.

Referenced by open_plugin().

◆ vdpau_h264_dispose()

static void vdpau_h264_dispose ( video_decoder_t this_gen)
static

◆ vdpau_h264_flush()

static void vdpau_h264_flush ( video_decoder_t this_gen)
static

◆ vdpau_h264_reset()

static void vdpau_h264_reset ( video_decoder_t this_gen)
static