1libmlib_mt(3LIB)              Interface Libraries             libmlib_mt(3LIB)
2
3
4

NAME

6       libmlib_mt - multi-threaded mediaLib
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib_mt  -lmlib  [ library... ]
10       #include <mlib.h>
11
12

DESCRIPTION

14       Interfaces in this library provide functions for multimedia processing.
15       Multi-threaded (MT) mediaLib is a software layer developed  on  top  of
16       mediaLib  using  OpenMP.   When  it  is used with a large data set on a
17       multi-processor system, MT mediaLib will partition  data  into  subsets
18       and process the subsets in parallel, thus greatly improving performance
19       of applications that use mediaLib.
20

INTERFACES

22       The shared object libmlib_mt.so.2 provides the same  public  interfaces
23       as those defined in libmlib(3LIB). See Intro(3) for additional informa‐
24       tion on shared object interfaces.
25

USAGE

27       There are two ways to use MT mediaLib.
28
29           1.     Pre-load a multi-threaded mediaLib library during runtime by
30                  setting  the  LD_PRELOAD  environment  variable  as  follows
31                  before starting your application, in Bourne/Korn shell:
32
33                    LD_PRELOAD=libmlib_mt.so
34                    export LD_PRELOAD
35
36                  or in C shell:
37
38                    setenv LD_PRELOAD libmlib_mt.so
39
40                  In this way, you can take advantage of MT  mediaLib  without
41                  rebuilding your application.
42
43           2.     Link your application with a multi-threaded mediaLib library
44                  directly as shown under SYNOPSIS.  In this way, an MT  medi‐
45                  aLib  library  is  always  used whenever your application is
46                  started.
47
48
49       The parallelization of MT mediaLib is controlled, in part, by the  PAR‐
50       ALLEL  environment  variable.  You can change its setting to adjust the
51       degree  of  parallelization  before  starting  your  application,    in
52       Bourne/Korn shell:
53
54         PARALLEL=n
55         export PARALLEL
56
57
58
59       or in C shell:
60
61         setenv PARALLEL n
62
63
64
65       where  n  is  a positive integer for number of threads. Note that other
66       factors also affect the degree of parallelization in MT mediaLib.
67

FILES

69       /usr/lib/libmlib_mt.so.2
70
71           shared object
72
73
74       /usr/lib/64/libmlib_mt.so.2
75
76           64-bit shared object
77
78

ATTRIBUTES

80       See attributes(5) for descriptions of the following attributes:
81
82
83
84
85       ┌─────────────────────────────┬─────────────────────────────┐
86       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
87       ├─────────────────────────────┼─────────────────────────────┤
88       │Availability                 │SUNWmlibt                    │
89       ├─────────────────────────────┼─────────────────────────────┤
90       │MT-Level                     │MT-Safe                      │
91       └─────────────────────────────┴─────────────────────────────┘
92

SEE ALSO

94       Intro(3), libmlib(3LIB), attributes(5)
95
96
97       mediaLib User's Manual
98
99
100
101SunOS 5.11                        15 Oct 2007                 libmlib_mt(3LIB)
Impressum