Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
a7660331a
tesseract
提交
10e04ffe
T
tesseract
项目概览
a7660331a
/
tesseract
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tesseract
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
10e04ffe
编写于
4月 27, 2017
作者:
Z
zdenop
提交者:
GitHub
4月 27, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #849 from stweil/opencl
opencl: Remove more unused functions and related code
上级
394162e1
582eaeba
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
802 deletion
+0
-802
opencl/openclwrapper.cpp
opencl/openclwrapper.cpp
+0
-776
opencl/openclwrapper.h
opencl/openclwrapper.h
+0
-26
未找到文件。
opencl/openclwrapper.cpp
浏览文件 @
10e04ffe
此差异已折叠。
点击以展开。
opencl/openclwrapper.h
浏览文件 @
10e04ffe
...
...
@@ -241,13 +241,7 @@ public:
static
int
BinaryGenerated
(
const
char
*
clFileName
,
FILE
**
fhandle
);
//static int CompileKernelFile( const char *filename, GPUEnv *gpuInfo, const char *buildOption );
static
l_uint32
*
pixReadFromTiffKernel
(
l_uint32
*
tiffdata
,
l_int32
w
,
l_int32
h
,
l_int32
wpl
,
l_uint32
*
line
);
static
Pix
*
pixReadTiffCl
(
const
char
*
filename
,
l_int32
n
);
static
PIX
*
pixReadStreamTiffCl
(
FILE
*
fp
,
l_int32
n
);
static
PIX
*
pixReadMemTiffCl
(
const
l_uint8
*
data
,
size_t
size
,
l_int32
n
);
static
PIX
*
pixReadFromTiffStreamCl
(
TIFF
*
tif
);
static
int
composeRGBPixelCl
(
int
*
tiffdata
,
int
*
line
,
int
h
,
int
w
);
static
l_int32
getTiffStreamResolutionCl
(
TIFF
*
tif
,
l_int32
*
pxres
,
l_int32
*
pyres
);
static
TIFF
*
fopenTiffCl
(
FILE
*
fp
,
const
char
*
modestring
);
/* OpenCL implementations of Morphological operations*/
...
...
@@ -255,24 +249,6 @@ public:
static
int
initMorphCLAllocations
(
l_int32
wpl
,
l_int32
h
,
PIX
*
pixs
);
static
void
releaseMorphCLBuffers
();
// OpenCL implementation of Morphology Dilate
static
PIX
*
pixDilateBrickCL
(
PIX
*
pixd
,
PIX
*
pixs
,
l_int32
hsize
,
l_int32
vsize
,
bool
reqDataCopy
);
// OpenCL implementation of Morphology Erode
static
PIX
*
pixErodeBrickCL
(
PIX
*
pixd
,
PIX
*
pixs
,
l_int32
hsize
,
l_int32
vsize
,
bool
reqDataCopy
);
// OpenCL implementation of Morphology Close
static
PIX
*
pixCloseBrickCL
(
PIX
*
pixd
,
PIX
*
pixs
,
l_int32
hsize
,
l_int32
vsize
,
bool
reqDataCopy
);
// OpenCL implementation of Morphology Open
static
PIX
*
pixOpenBrickCL
(
PIX
*
pixd
,
PIX
*
pixs
,
l_int32
hsize
,
l_int32
vsize
,
bool
reqDataCopy
);
// OpenCL implementation of Morphology Open
static
PIX
*
pixSubtractCL
(
PIX
*
pixd
,
PIX
*
pixs1
,
PIX
*
pixs2
,
bool
reqDataCopy
);
// OpenCL implementation of Morphology (Hollow = Closed - Open)
static
PIX
*
pixHollowCL
(
PIX
*
pixd
,
PIX
*
pixs
,
l_int32
close_hsize
,
l_int32
close_vsize
,
l_int32
open_hsize
,
l_int32
open_vsize
,
bool
reqDataCopy
);
static
void
pixGetLinesCL
(
PIX
*
pixd
,
PIX
*
pixs
,
PIX
**
pix_vline
,
PIX
**
pix_hline
,
PIX
**
pixClosed
,
bool
getpixClosed
,
l_int32
close_hsize
,
...
...
@@ -290,8 +266,6 @@ public:
//int RegisterKernelWrapper( const char *kernelName, cl_kernel_function function );
//int RunKernelWrapper( cl_kernel_function function, const char * kernelName, void **usrdata );
//int GetKernelEnvAndFunc( const char *kernelName, KernelEnv *env, cl_kernel_function *function );
// static cl_device_id performDeviceSelection( );
//static bool thresholdRectToPixMicroBench( TessScoreEvaluationInputData input, ds_device_type type);
static
int
LoadOpencl
();
#ifdef WIN32
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录