oper_32b.h revision 41050cdb033641ddf26831d9272c0930f7b40a2d
1/*
2 ** Copyright 2003-2010, VisualOn, Inc.
3 **
4 ** Licensed under the Apache License, Version 2.0 (the "License");
5 ** you may not use this file except in compliance with the License.
6 ** You may obtain a copy of the License at
7 **
8 **     http://www.apache.org/licenses/LICENSE-2.0
9 **
10 ** Unless required by applicable law or agreed to in writing, software
11 ** distributed under the License is distributed on an "AS IS" BASIS,
12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ** See the License for the specific language governing permissions and
14 ** limitations under the License.
15 */
16
17
18/* Double precision operations */
19/* $Id$ */
20
21#ifndef __OPER_32B_H__
22#define __OPER_32B_H__
23
24void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo);
25Word32 L_Comp (Word16 hi, Word16 lo);
26Word32 Mpy_32 (Word16 hi1, Word16 lo1, Word16 hi2, Word16 lo2);
27Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n);
28Word32 Div_32 (Word32 L_num, Word16 denom_hi, Word16 denom_lo);
29
30#endif //__OPER_32B_H__
31
32