1mlib_VideoInterpAveXY_U8_U8m(e3dMiLaILBi)b Library Fumnlcitbi_oVnisdeoInterpAveXY_U8_U8(3MLIB)
2
3
4

NAME

6       mlib_VideoInterpAveXY_U8_U8  -  half-pixel interpolation in the X and Y
7       directions and averaging for reference block
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_VideoInterpAveXY_U8_U8(mlib_u8 *curr_block,
14            const mlib_u8 *ref_block, mlib_s32 width, mlib_s32 height,
15            mlib_s32 frm_stride, mlib_s32 fld_stride);
16
17

DESCRIPTION

19       The mlib_VideoInterpAveXY_U8_U8() function performs half-pixel interpo‐
20       lation in the X and Y directions and averaging for a reference block of
21       data type mlib_u8 and a current block of data  type  mlib_u8.  In  this
22       mode, the motion-compensated reference block becomes the current block.
23       Thus, the stride applies to both the input reference block and the cur‐
24       rent block.
25

PARAMETERS

27       The function takes the following arguments:
28
29       curr_block    Pointer  to  the current block. curr_block must be 8-byte
30                     aligned.
31
32
33       ref_block     Pointer to the reference block.
34
35
36       width         Width of the blocks.
37
38
39       height        Height of the blocks.
40
41
42       frm_stride    Stride, in bytes, between adjacent rows  in  a  frame  in
43                     both   the   current   block  and  the  reference  block.
44                     frm_stride must be a multiple of eight.
45
46
47       fld_stride    Stride, in bytes, between adjacent rows  in  a  field  in
48                     both  the  current  block and reference block. fld_stride
49                     must be a multiple of eight.
50
51

RETURN VALUES

53       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
54       MLIB_FAILURE.
55

ATTRIBUTES

57       See attributes(5) for descriptions of the following attributes:
58
59
60
61
62       ┌─────────────────────────────┬─────────────────────────────┐
63       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │Interface Stability          │Committed                    │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │MT-Level                     │MT-Safe                      │
68       └─────────────────────────────┴─────────────────────────────┘
69

SEE ALSO

71       mlib_VideoAddBlock_U8_S16(3MLIB),      mlib_VideoCopyRef_S16_U8(3MLIB),
72       mlib_VideoCopyRef_S16_U8_16x16(3MLIB),  mlib_VideoCopyRef_U8_U8(3MLIB),
73       mlib_VideoCopyRef_U8_U8_16x16(3MLIB),                 mlib_VideoCopyRe‐
74       fAve_U8_U8(3MLIB),             mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
75       mlib_VideoH263OverlappedMC_S16_U8(3MLIB),           mlib_VideoH263Over‐
76       lappedMC_U8_U8(3MLIB), mlib_VideoInterpAveX_U8_U8(3MLIB), mlib_VideoIn‐
77       terpAveX_U8_U8_16x16(3MLIB),  mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB),
78       mlib_VideoInterpAveY_U8_U8(3MLIB),                     mlib_VideoInter‐
79       pAveY_U8_U8_16x16(3MLIB),              mlib_VideoInterpX_S16_U8(3MLIB),
80       mlib_VideoInterpX_S16_U8_16x16(3MLIB),  mlib_VideoInterpX_U8_U8(3MLIB),
81       mlib_VideoInterpXY_S16_U8(3MLIB),                      mlib_VideoInter‐
82       pXY_S16_U8_16x16(3MLIB), mlib_VideoInterpXY_U8_U8(3MLIB), mlib_VideoIn‐
83       terpXY_U8_U8_16x16(3MLIB),             mlib_VideoInterpY_S16_U8(3MLIB),
84       mlib_VideoInterpY_S16_U8_16x16(3MLIB),  mlib_VideoInterpY_U8_U8(3MLIB),
85       mlib_VideoInterpY_U8_U8_16x16(3MLIB),                mlib_VideoP64Deci‐
86       mate_U8_U8(3MLIB),                     mlib_VideoP64Loop_S16_U8(3MLIB),
87       mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
88
89
90
91SunOS 5.11                        2 Mar 2007mlib_VideoInterpAveXY_U8_U8(3MLIB)
Impressum