FFmpeg
Macros
h264chroma_template.c File Reference
#include <stddef.h>
#include "libavutil/avassert.h"
#include "bit_depth_template.c"

Go to the source code of this file.

Macros

#define H264_CHROMA_MC(OPNAME, OP)
 
#define op_avg(a, b)   a = (((a)+(((b) + 32)>>6)+1)>>1)
 
#define op_put(a, b)   a = (((b) + 32)>>6)
 

Macro Definition Documentation

◆ H264_CHROMA_MC

#define H264_CHROMA_MC (   OPNAME,
  OP 
)

Definition at line 28 of file h264chroma_template.c.

◆ op_avg

#define op_avg (   a,
  b 
)    a = (((a)+(((b) + 32)>>6)+1)>>1)

Definition at line 204 of file h264chroma_template.c.

◆ op_put

#define op_put (   a,
  b 
)    a = (((b) + 32)>>6)

Definition at line 205 of file h264chroma_template.c.