WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
cscore_raw.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include "wpi/cs/cscore_c.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/**
14 * @defgroup cscore_raw_cfunc Raw Image Functions
15 * @{
16 */
17uint64_t CS_GrabRawSinkFrame(CS_Sink sink, struct WPI_RawFrame* rawImage,
18 CS_Status* status);
19uint64_t CS_GrabRawSinkFrameTimeout(CS_Sink sink, struct WPI_RawFrame* rawImage,
20 double timeout, CS_Status* status);
22 struct WPI_RawFrame* rawImage,
23 double timeout,
24 uint64_t lastFrameTime,
25 CS_Status* status);
26
28 CS_Status* status);
29
31 const struct WPI_String* name, CS_Bool isCv, void* data,
32 void (*processFrame)(void* data, uint64_t time), CS_Status* status);
33
35 CS_Status* status);
36
38 const CS_VideoMode* mode, CS_Status* status);
39/** @} */
40
41#ifdef __cplusplus
42} // extern "C"
43#endif
and restrictions which apply to each piece of software is included later in this file and or inside of the individual applicable source files The disclaimer of warranty in the WPILib license above applies to all code in and nothing in any of the other licenses gives permission to use the names of FIRST nor the names of the WPILib contributors to endorse or promote products derived from this software The following pieces of software have additional or alternate and or glfw and nanopb were modified for use in Google Inc All rights reserved Redistribution and use in source and binary with or without are permitted provided that the following conditions are this list of conditions and the following disclaimer *Redistributions in binary form must reproduce the above copyright this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution *Neither the name of Google Inc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED BUT NOT LIMITED THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY OR CONSEQUENTIAL WHETHER IN STRICT OR EVEN IF ADVISED OF THE POSSIBILITY OF SUCH January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation source
Definition ThirdPartyNotices.txt:123
@ name
Definition base.h:690
uint64_t CS_GrabRawSinkFrameTimeout(CS_Sink sink, struct WPI_RawFrame *rawImage, double timeout, CS_Status *status)
CS_Source CS_CreateRawSource(const struct WPI_String *name, CS_Bool isCv, const CS_VideoMode *mode, CS_Status *status)
CS_Sink CS_CreateRawSink(const struct WPI_String *name, CS_Bool isCv, CS_Status *status)
CS_Sink CS_CreateRawSinkCallback(const struct WPI_String *name, CS_Bool isCv, void *data, void(*processFrame)(void *data, uint64_t time), CS_Status *status)
void CS_PutRawSourceFrame(CS_Source source, const struct WPI_RawFrame *image, CS_Status *status)
uint64_t CS_GrabRawSinkFrameTimeoutWithFrameTime(CS_Sink sink, struct WPI_RawFrame *rawImage, double timeout, uint64_t lastFrameTime, CS_Status *status)
uint64_t CS_GrabRawSinkFrame(CS_Sink sink, struct WPI_RawFrame *rawImage, CS_Status *status)
CS_Handle CS_Source
Definition cscore_c.h:48
int CS_Status
Definition cscore_c.h:41
CS_Handle CS_Sink
Definition cscore_c.h:47
int CS_Bool
Definition cscore_c.h:40
Video mode.
Definition cscore_c.h:87
Raw Frame.
Definition RawFrame.h:17
A const UTF8 string.
Definition string.h:12