FFmpeg
Macros | Functions
h264_mb.c File Reference

H.264 / AVC / MPEG-4 part10 macroblock decoding. More...

#include <stdint.h>
#include "config.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "h264dec.h"
#include "h264_ps.h"
#include "qpeldsp.h"
#include "thread.h"
#include "h264_mb_template.c"

Macros

#define XCHG(a, b, xchg)
 
#define BITS   8
 
#define SIMPLE   1
 
#define BITS   16
 
#define SIMPLE   0
 

Functions

void ff_h264_hl_decode_mb (const H264Context *h, H264SliceContext *sl)
 

Detailed Description

H.264 / AVC / MPEG-4 part10 macroblock decoding.

Macro Definition Documentation

§ XCHG

#define XCHG (   a,
  b,
  xchg 
)
Value:
if (pixel_shift) { \
if (xchg) { \
AV_SWAP64(b + 0, a + 0); \
AV_SWAP64(b + 8, a + 8); \
} else { \
AV_COPY128(b, a); \
} \
} else if (xchg) \
AV_SWAP64(b, a); \
else \
AV_COPY64(b, a);