Twitch SDK (Internal)
rgbyuv.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
12 
13 namespace ttv
14 {
15  namespace broadcast
16  {
17  void RGBtoYUV(const uint8_t* rgbBuffer,
18  uint32_t bgraMask,
19  uint width,
20  uint height,
21  uint8_t* YBuffer,
22  uint8_t* UVBuffer,
23  YUVFormat yuvFormat,
24  bool verticalFlip = false);
25  }
26 }
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
YUVFormat
Definition: broadcasttypes.h:58
unsigned int uint
Definition: coretypes.h:18
void RGBtoYUV(const uint8_t *rgbBuffer, uint32_t bgraMask, uint width, uint height, uint8_t *YBuffer, uint8_t *UVBuffer, YUVFormat yuvFormat, bool verticalFlip=false)