Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

oxp_mpeg_codec_data Struct Reference

List of all members.

Detailed Description

Definition at line 41 of file oxp_mpeg_codec.cxx.

Public Types

enum  output_format_t { grey, rgb }

Public Member Functions

bool seek_to_iframe_before (int desired)
frame_plus_indexmake_frame ()
void convert_frame (frame_plus_index *frame, decode_request *p)
int decode_mpeg2 (unsigned char const *start, unsigned char const *end)
void destroy_frame (vo_frame_t *frame)
void draw_grey (unsigned char *frame)
void draw (unsigned char(*frame)[3])
void decode_at_least_one ()
 Decode at least one frame.
bool decode_until_desired (int f, void *buf, int bbox_x0, int bbox_y0, int bbox_w, int bbox_h)
 Run mpeg till you find frame f.

Public Attributes

oxp_bunch_of_files fp
oxp_vob_frame_index idx
int w
int h
int frame_number
int demux_track
int demux_pid
output_format_t output_format
int ring_buffer_pos
frame_plus_indexring_buffer [8]
uint32_t accel
mpeg2dec_t decoder
unsigned char(* ppm_frame )[3]
decode_requestpending_decode

Classes

struct  decode_request
struct  frame_plus_index


Member Enumeration Documentation

enum oxp_mpeg_codec_data::output_format_t
 

Enumerator:
grey 
rgb 

Definition at line 48 of file oxp_mpeg_codec.cxx.


Member Function Documentation

void oxp_mpeg_codec_data::convert_frame frame_plus_index frame,
decode_request p
 

Definition at line 359 of file oxp_mpeg_codec.cxx.

void oxp_mpeg_codec_data::decode_at_least_one  ) 
 

Decode at least one frame.

Will call static routines below: my_setup my_get_frame my_draw

Definition at line 146 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec_data::decode_mpeg2 unsigned char const *  start,
unsigned char const *  end
 

Definition at line 237 of file oxp_mpeg_codec.cxx.

bool oxp_mpeg_codec_data::decode_until_desired int  f,
void *  buf,
int  bbox_x0,
int  bbox_y0,
int  bbox_w,
int  bbox_h
 

Run mpeg till you find frame f.

Return false if that ain't gonna happen.

Definition at line 172 of file oxp_mpeg_codec.cxx.

void oxp_mpeg_codec_data::destroy_frame vo_frame_t *  frame  ) 
 

Definition at line 400 of file oxp_mpeg_codec.cxx.

void oxp_mpeg_codec_data::draw unsigned char *  frame[3]  ) 
 

void oxp_mpeg_codec_data::draw_grey unsigned char *  frame  ) 
 

oxp_mpeg_codec_data::frame_plus_index * oxp_mpeg_codec_data::make_frame  ) 
 

Definition at line 295 of file oxp_mpeg_codec.cxx.

bool oxp_mpeg_codec_data::seek_to_iframe_before int  desired  ) 
 

Definition at line 115 of file oxp_mpeg_codec.cxx.


Member Data Documentation

uint32_t oxp_mpeg_codec_data::accel
 

Definition at line 65 of file oxp_mpeg_codec.cxx.

mpeg2dec_t oxp_mpeg_codec_data::decoder
 

Definition at line 66 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec_data::demux_pid
 

Definition at line 61 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec_data::demux_track
 

Definition at line 60 of file oxp_mpeg_codec.cxx.

oxp_bunch_of_files oxp_mpeg_codec_data::fp
 

Definition at line 55 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec_data::frame_number
 

Definition at line 59 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec_data::h
 

Definition at line 58 of file oxp_mpeg_codec.cxx.

oxp_vob_frame_index oxp_mpeg_codec_data::idx
 

Definition at line 56 of file oxp_mpeg_codec.cxx.

output_format_t oxp_mpeg_codec_data::output_format
 

Definition at line 62 of file oxp_mpeg_codec.cxx.

decode_request* oxp_mpeg_codec_data::pending_decode
 

Definition at line 68 of file oxp_mpeg_codec.cxx.

unsigned char(* oxp_mpeg_codec_data::ppm_frame)[3]
 

Definition at line 67 of file oxp_mpeg_codec.cxx.

frame_plus_index* oxp_mpeg_codec_data::ring_buffer[8]
 

Definition at line 64 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec_data::ring_buffer_pos
 

Definition at line 63 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec_data::w
 

Definition at line 57 of file oxp_mpeg_codec.cxx.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 10 14:46:08 2008 for contrib/oxl/oxp by  doxygen 1.4.4