1mlib_VideoInterpX_U8_U8(3MLmIeBd)iaLib Library Functimolnisb_VideoInterpX_U8_U8(3MLIB)
2
3
4

NAME

6       mlib_VideoInterpX_U8_U8 - half-pixel interpolation in the X direction
7

SYNOPSIS

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

DESCRIPTION

18       The  mlib_VideoInterpX_U8_U8()  function performs half-pixel interpola‐
19       tion in the X direction for a reference block of data type mlib_u8  and
20       a  current block of data type mlib_u8. In this mode, the motion-compen‐
21       sated reference block becomes  the  current  block.  Thus,  the  stride
22       applies to both the input reference block and the current block.
23

PARAMETERS

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

RETURN VALUES

51       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
52       MLIB_FAILURE.
53

ATTRIBUTES

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

SEE ALSO

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