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

oxp_mpeg_codec.cxx File Reference


Detailed Description

Definition in file oxp_mpeg_codec.cxx.

#include "oxp_mpeg_codec.h"
#include <mpeg2dec/video_out.h>
#include <mpeg2dec/mpeg2.h>
#include <mpeg2dec/mm_accel.h>
#include <vcl_cstdio.h>
#include <vcl_cassert.h>
#include <vcl_cstdlib.h>
#include <vcl_cstring.h>
#include <vcl_string.h>
#include <vcl_iostream.h>
#include <vul/vul_file.h>
#include <oxp/oxp_yuv_to_rgb.h>
#include <oxp/oxp_bunch_of_files.h>
#include <oxp/oxp_vob_frame_index.h>

Go to the source code of this file.

Classes

struct  oxp_mpeg_codec_data
struct  oxp_mpeg_codec_data::decode_request
struct  oxp_mpeg_codec_data::frame_plus_index

Defines

#define this   c_this
#define DEMUX_PAYLOAD_START   1
#define DEMUX_HEADER   0
#define DEMUX_DATA   1
#define DEMUX_SKIP   2
#define NEEDBYTES(x)
#define DONEBYTES(x)

Typedefs

typedef unsigned char uint8_t
typedef unsigned int uint32_t


Define Documentation

#define DEMUX_DATA   1
 

#define DEMUX_HEADER   0
 

#define DEMUX_PAYLOAD_START   1
 

Definition at line 618 of file oxp_mpeg_codec.cxx.

#define DEMUX_SKIP   2
 

#define DONEBYTES  ) 
 

Value:

do {                      \
    if (header != head_buf) \
      buf = header + (x);   \
  } while (false)

#define NEEDBYTES  ) 
 

Value:

do {                                                \
    int missing = (x) - bytes;                        \
    if (missing > 0) {                                \
      if (header == head_buf) {                       \
        if (missing <= end - buf) {                   \
          vcl_memcpy(header + bytes, buf, missing);   \
          buf += missing;                             \
          bytes = (x);                                \
        }                                             \
        else {                                        \
          vcl_memcpy(header + bytes, buf, end - buf); \
          state_bytes = bytes + end - buf;            \
          return 0;                                   \
        }                                             \
      }                                               \
      else {                                          \
        vcl_memcpy(head_buf, header, bytes);          \
        state = DEMUX_HEADER;                         \
        state_bytes = bytes;                          \
        return 0;                                     \
      }                                               \
    }                                                 \
  } while (false)

#define this   c_this
 

Definition at line 9 of file oxp_mpeg_codec.cxx.


Typedef Documentation

typedef unsigned int uint32_t
 

Definition at line 8 of file oxp_mpeg_codec.cxx.

typedef unsigned char uint8_t
 

Definition at line 7 of file oxp_mpeg_codec.cxx.


Generated on Thu Jan 10 14:46:06 2008 for contrib/oxl/oxp by  doxygen 1.4.4