NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
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
GLenum src
Definition: glew.h:2406
GLenum GLenum dst
Definition: glew.h:2406
Definition: compress.cxx:30
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
Definition: glew.h:1236
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1236
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