NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
niftk-nightly
Libraries
NVAPI
video
conversion.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
libvideo: a library for SDI video processing.
4
5
Copyright (c) University College London (UCL). All rights reserved.
6
7
This software is distributed WITHOUT ANY WARRANTY; without even
8
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9
PURPOSE.
10
11
See LICENSE.txt in the top level directory for details.
12
13
=============================================================================*/
14
15
16
#pragma once
17
#ifndef LIBVIDEO_CONVERSION_H_794A3B56C8CF4B2686CCCB149B3D7749
18
#define LIBVIDEO_CONVERSION_H_794A3B56C8CF4B2686CCCB149B3D7749
19
20
#include <
video/dllexport.h
>
21
22
23
namespace
video
24
{
25
26
27
// 8 bit only
28
// pitch in bytes
29
// width/height in pixels
30
void
convert_nv12_to_rgba
(
void
*
src
,
unsigned
int
srcpitch,
unsigned
int
srcheight,
void
*
dst
,
unsigned
int
dstpitch,
unsigned
int
width
,
unsigned
int
height
);
31
32
33
}
// namespace
34
35
#endif // LIBVIDEO_CONVERSION_H_794A3B56C8CF4B2686CCCB149B3D7749
src
GLenum src
Definition:
glew.h:2406
dllexport.h
dst
GLenum GLenum dst
Definition:
glew.h:2406
video
Definition:
compress.cxx:30
height
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
Definition:
glew.h:1236
width
GLint GLint GLint GLint GLint GLint GLsizei width
Definition:
glew.h:1236
video::convert_nv12_to_rgba
void convert_nv12_to_rgba(void *src, unsigned int srcpitch, unsigned int srcheight, void *dst, unsigned int dstpitch, unsigned int width, unsigned int height)
Definition:
conversion.cxx:23
Generated on Thu Aug 4 2016 06:02:43 for NifTK by
1.8.8