MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / get_flags

Function get_flags

libavcodec/motion_est.c:104–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104static int get_flags(MotionEstContext *c, int direct, int chroma){
105 return ((c->avctx->flags&AV_CODEC_FLAG_QPEL) ? FLAG_QPEL : 0)
106 + (direct ? FLAG_DIRECT : 0)
107 + (chroma ? FLAG_CHROMA : 0);
108}
109
110static av_always_inline int cmp_direct_inline(MPVEncContext *const s, const int x, const int y, const int subx, const int suby,
111 const int size, const int h, int ref_index, int src_index,

Callers 1

ff_me_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected