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

Function get_dmv

libavcodec/mpeg12dec.c:392–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392static inline int get_dmv(Mpeg12SliceContext *const s)
393{
394 if (get_bits1(&s->gb))
395 return 1 - (get_bits1(&s->gb) << 1);
396 else
397 return 0;
398}
399
400/* motion type (for MPEG-2) */
401#define MT_FIELD 1

Callers 1

mpeg_decode_mbFunction · 0.85

Calls 1

get_bits1Function · 0.85

Tested by

no test coverage detected