23 #ifndef AVCODEC_VC1_COMMON_H
24 #define AVCODEC_VC1_COMMON_H
44 #define IS_MARKER(x) (((x) & ~0xFF) == VC1_CODE_RES0)
62 uint32_t mrk = 0xFFFFFFFF;
75 for (dsize = 0; dsize <
size; dsize++)
79 for (i = 0; i <
size; i++, src++) {
80 if (src[0] == 3 && i >= 2 && !src[-1] && !src[-2] && i < size-1 && src[1] < 4) {
81 dst[dsize++] = src[1];
Macro definitions for various function/variable attributes.
static av_cold int end(AVCodecContext *avctx)
const uint8_t * avpriv_find_start_code(const uint8_t *p, const uint8_t *end, uint32_t *state)
VC1Code
Markers used in VC-1 AP frame data.
static av_always_inline int vc1_unescape_buffer(const uint8_t *src, int size, uint8_t *dst)
Profile
Available Profiles.
common internal api header.
static av_always_inline const uint8_t * find_next_marker(const uint8_t *src, const uint8_t *end)
Find VC-1 marker in buffer.