Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Attributes
IOSGLImageAllocator< T > Class Template Reference

Copyright (c) 2016-present, Facebook, Inc. More...

#include <IOSGLImageAllocator.h>

Inheritance diagram for IOSGLImageAllocator< T >:
GLImageAllocator< T >

Public Member Functions

GLImageVector< T > * newImage (int num_images, int width, int height, int channels, int tile_x, int tile_y, bool useCVPixelBuffer)
 Copyright (c) 2016-present, Facebook, Inc. More...
 
template<>
const FourCharCode pixelFormat
 
template<>
const FourCharCode pixelFormat
 
- Public Member Functions inherited from GLImageAllocator< T >
virtual GLImageVector< T > * newImage (int num_images, int width, int height, int channels, int tile_x, int tile_y, std::function< const GLTexture *(const int width, const int height)> textureAllocator)
 
virtual GLImageVector< T > * ShareTexture (const GLuint textureID, int num_images, int width, int height, int channels, int tile_x=1, int tile_y=1)
 

Static Public Attributes

static const FourCharCode pixelFormat
 
- Static Public Attributes inherited from GLImageAllocator< T >
static const GLTexture::Typetype
 

Additional Inherited Members

- Static Public Member Functions inherited from GLImageAllocator< T >
static GLImageAllocator< T > * newGLImageAllocator ()
 Copyright (c) 2016-present, Facebook, Inc. More...
 

Detailed Description

template<class T>
class IOSGLImageAllocator< T >

Copyright (c) 2016-present, Facebook, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 25 of file IOSGLImageAllocator.h.

Member Function Documentation

template<class T >
GLImageVector< T > * IOSGLImageAllocator< T >::newImage ( int  num_images,
int  width,
int  height,
int  channels,
int  tile_x,
int  tile_y,
bool  useCVPixelBuffer 
)
virtual

Copyright (c) 2016-present, Facebook, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Reimplemented from GLImageAllocator< T >.

Definition at line 30 of file IOSGLImageAllocator.cc.


The documentation for this class was generated from the following files: