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 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 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.
1.5.1