#include "vidl_vil1_mpegcodec_helper.h"
#include <vidl_vil1/vidl_vil1_file_sequence.h>
#include <vcl_iostream.h>
#include <vcl_cstring.h>
#include <vcl_cstdlib.h>
Go to the source code of this file.
Defines | |
| #define | DEMUX_PAYLOAD_START 1 |
| #define | DEMUX_HEADER 0 |
| #define | DEMUX_DATA 1 |
| #define | DEMUX_SKIP 2 |
| #define | NEEDBYTES(x) |
| #define | DONEBYTES(x) |
| #define DEMUX_DATA 1 |
| #define DEMUX_HEADER 0 |
| #define DEMUX_PAYLOAD_START 1 |
Definition at line 138 of file vidl_vil1_mpegcodec_helper.cxx.
| #define DEMUX_SKIP 2 |
| #define DONEBYTES | ( | x | ) |
Value:
do { \ if (header != head_buf) \ buf = header + (x); \ } while (false)
| #define NEEDBYTES | ( | x | ) |
Value:
do { \ long int missing = (x) - bytes; \ if (missing > 0) { \ if (header == head_buf) { \ if (missing <= endb - buf) { \ vcl_memcpy(header + bytes, buf, missing); \ buf += missing; \ bytes = (x); \ } else { \ vcl_memcpy(header + bytes, buf, endb-buf); \ state_bytes = bytes + (endb - buf); \ return 0; \ } \ } else { \ vcl_memcpy(head_buf, header, bytes); \ state = DEMUX_HEADER; \ state_bytes = bytes; \ return 0; \ } \ } \ } while (false)
1.5.1