#include "internal.h"
#include "vp56.h"
#include "vp9.h"
#include "vp9data.h"
Go to the source code of this file.
|
static av_always_inline void | clamp_mv (VP56mv *dst, const VP56mv *src, VP9Context *s) |
|
static void | find_ref_mvs (VP9Context *s, VP56mv *pmv, int ref, int z, int idx, int sb) |
|
static av_always_inline int | read_mv_component (VP9Context *s, int idx, int hp) |
|
void | ff_vp9_fill_mv (VP9Context *s, VP56mv *mv, int mode, int sb) |
|
#define INVALID_MV 0x80008000U |
#define RETURN_DIRECT_MV |
( |
|
mv) | |
|
Value:do { \
if (!idx) { \
AV_WN32A(pmv, m); \
return; \
} else if (mem == INVALID_MV) { \
mem = m; \
} else if (m != mem) { \
AV_WN32A(pmv, m); \
return; \
} \
} while (0)
Referenced by find_ref_mvs().
Value:do { \
uint32_t m; \
clamp_mv(&tmp, &
mv, s); \
if (!idx) { \
AV_WN32A(pmv, m); \
return; \
} else if (mem == INVALID_MV) { \
mem = m; \
} else if (m != mem) { \
AV_WN32A(pmv, m); \
return; \
} \
} else { \
if (!idx) { \
return; \
} else if (mem == INVALID_MV) { \
mem = m; \
} else if (m != mem) { \
return; \
} \
} \
} while (0)
Referenced by find_ref_mvs().
#define RETURN_SCALE_MV |
( |
|
mv, |
|
|
|
scale |
|
) |
| |
Value:do { \
RETURN_MV(mv_temp); \
} else { \
} \
} while (0)
Referenced by find_ref_mvs().