| OpenSubdiv

Loading...
Searching...
No Matches
ompKernel.h
Go to the documentation of this file.
1//
2// Copyright 2013 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://opensubdiv.org/license.
6//
7
8#ifndef OPENSUBDIV3_OSD_OMP_KERNEL_H
9#define OPENSUBDIV3_OSD_OMP_KERNEL_H
10
11#include "../version.h"
12
13 namespace OpenSubdiv {
14 namespace OPENSUBDIV_VERSION {
15
16 namespace Osd {
17
18 struct BufferDescriptor;
19
20 void
21 OmpEvalStencils(float const * src, BufferDescriptor const &srcDesc,
22 float * dst, BufferDescriptor const &dstDesc,
23 int const * sizes,
24 int const * offsets,
25 int const * indices,
26 float const * weights,
27 int start, int end);
28
29 void
30 OmpEvalStencils(float const * src, BufferDescriptor const &srcDesc,
31 float * dst, BufferDescriptor const &dstDesc,
32 float * dstDu, BufferDescriptor const &dstDuDesc,
33 float * dstDv, BufferDescriptor const &dstDvDesc,
34 int const * sizes,
35 int const * offsets,
36 int const * indices,
37 float const * weights,
38 float const * duWeights,
39 float const * dvWeights,
40 int start, int end);
41
42 void
43 OmpEvalStencils(float const * src, BufferDescriptor const &srcDesc,
44 float * dst, BufferDescriptor const &dstDesc,
45 float * dstDu, BufferDescriptor const &dstDuDesc,
46 float * dstDv, BufferDescriptor const &dstDvDesc,
47 float * dstDuu, BufferDescriptor const &dstDuuDesc,
48 float * dstDuv, BufferDescriptor const &dstDuvDesc,
49 float * dstDvv, BufferDescriptor const &dstDvvDesc,
50 int const * sizes,
51 int const * offsets,
52 int const * indices,
53 float const * weights,
54 float const * duWeights,
55 float const * dvWeights,
56 float const * duuWeights,
57 float const * duvWeights,
58 float const * dvvWeights,
59 int start, int end);
60
61} // end namespace Osd
62
63} // end namespace OPENSUBDIV_VERSION
64 using namespace OPENSUBDIV_VERSION;
65
66} // end namespace OpenSubdiv
67
68#endif // OPENSUBDIV3_OSD_OMP_KERNEL_H
OpenSubdiv
Definition limits.h:15
OpenSubdiv::OPENSUBDIV_VERSION
Definition limits.h:16
OpenSubdiv::OPENSUBDIV_VERSION::Osd
Definition bufferDescriptor.h:17
OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils
void OmpEvalStencils(float const *src, BufferDescriptor const &srcDesc, float *dst, BufferDescriptor const &dstDesc, int const *sizes, int const *offsets, int const *indices, float const *weights, int start, int end)
OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor
BufferDescriptor is a struct which describes buffer elements in interleaved data buffers....
Definition bufferDescriptor.h:44