core/vidl_vil1/vidl_vil1_mpegcodec_helper.h File Reference


Detailed Description

Contains classes vidl_vil1_mpegcodec_data and vidl_vil1_mpegcodec_helper.

Author:
l.e.galup
Date:
July 2002
This is a rewrite of the mpeg2dec program. it has been modified to work with the video player, i.e., by implementing a get_section method. this required some buffering, and the ability to decode a file grab at a time. there is some extra legacy code here. though some things seem to serve no purpose, i left them there as hooks for possible evolution of this class.

the mpeg_codec sends a request to this helper via a decode_request. data is stored in the mpeg_codec_data class, which holds a frame buffer, owned by the mpeg_codec. decoded frames are stored in this frame_buffer, and subsequent user requests for frames just does a memcpy from this frame_buffer into the user supplied buffer.

    Modifications
     none
   

Definition in file vidl_vil1_mpegcodec_helper.h.

#include <vcl_string.h>
#include <vcl_map.h>
#include <vcl_iostream.h>
#include <mpeg2dec/video_out.h>
#include <mpeg2dec/mpeg2.h>
#include <mpeg2dec/mm_accel.h>

Go to the source code of this file.


Classes

class  decode_request
class  frame_buffer
struct  vidl_vil1_mpegcodec_data
class  vidl_vil1_mpegcodec_helper

Defines

#define BUFFER_SIZE   4096
#define DEMUX_PAYLOAD_START   1
#define PACKETS   (BUFFER_SIZE / 188)
#define this   c_this

Typedefs

typedef unsigned char uint8_t
typedef unsigned int uint32_t

Define Documentation

#define BUFFER_SIZE   4096

Definition at line 32 of file vidl_vil1_mpegcodec_helper.h.

#define DEMUX_PAYLOAD_START   1

Definition at line 33 of file vidl_vil1_mpegcodec_helper.h.

#define PACKETS   (BUFFER_SIZE / 188)

Definition at line 34 of file vidl_vil1_mpegcodec_helper.h.

#define this   c_this

Definition at line 59 of file vidl_vil1_mpegcodec_helper.h.


Typedef Documentation

typedef unsigned int uint32_t

Definition at line 57 of file vidl_vil1_mpegcodec_helper.h.

typedef unsigned char uint8_t

Definition at line 37 of file vidl_vil1_mpegcodec_helper.h.


Generated on Tue Dec 2 05:09:13 2008 for core/vidl_vil1 by  doxygen 1.5.1