BINK_SRC_X_OFF, ///< X components of motion value
BINK_SRC_Y_OFF, ///< Y components of motion value
BINK_SRC_INTRA_DC, ///< DC values for intrablocks with DCT
- BINK_SRC_INTER_DC, ///< DC values for intrablocks with DCT
+ BINK_SRC_INTER_DC, ///< DC values for interblocks with DCT
BINK_SRC_RUN, ///< run lengths for special fill block
BINK_NB_SRC
int v, col[2];
const uint8_t *scan;
int xoff, yoff;
- DECLARE_ALIGNED_16(DCTELEM, block[64]);
- DECLARE_ALIGNED_16(uint8_t, ublock[64]);
+ DECLARE_ALIGNED(16, DCTELEM, block[64]);
+ DECLARE_ALIGNED(16, uint8_t, ublock[64]);
int coordmap[64];
const int stride = c->pic.linesize[plane_idx];
}
flags = AV_RL32(avctx->extradata);
c->has_alpha = flags & BINK_FLAG_ALPHA;
- c->swap_planes = c->version >= 'i';
+ c->swap_planes = c->version >= 'h';
if (!bink_trees[15].table) {
for (i = 0; i < 16; i++) {
const int maxbits = bink_tree_lens[i][15];
AVCodec bink_decoder = {
"binkvideo",
- CODEC_TYPE_VIDEO,
+ AVMEDIA_TYPE_VIDEO,
CODEC_ID_BINKVIDEO,
sizeof(BinkContext),
decode_init,