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

Function get_VAMvModeVC1

libavcodec/vaapi_vc1.c:28–38  ·  view source on GitHub ↗

Translates FFmpeg MV modes to VA API */

Source from the content-addressed store, hash-verified

26
27/** Translates FFmpeg MV modes to VA API */
28static int get_VAMvModeVC1(enum MVModes mv_mode)
29{
30 switch (mv_mode) {
31 case MV_PMODE_1MV_HPEL_BILIN: return VAMvMode1MvHalfPelBilinear;
32 case MV_PMODE_1MV: return VAMvMode1Mv;
33 case MV_PMODE_1MV_HPEL: return VAMvMode1MvHalfPel;
34 case MV_PMODE_MIXED_MV: return VAMvModeMixedMv;
35 case MV_PMODE_INTENSITY_COMP: return VAMvModeIntensityCompensation;
36 }
37 return 0;
38}
39
40/** Checks whether the MVTYPEMB bitplane is present */
41static inline int vc1_has_MVTYPEMB_bitplane(VC1Context *v)

Callers 2

vc1_get_MVMODEFunction · 0.85
vc1_get_MVMODE2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected