UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
src
hwaccel_vaapi.h
Go to the documentation of this file.
1
7
/*
8
* Copyright (c) 2018-2021 CESNET z.s.p.o.
9
*
10
* Redistribution and use in source and binary forms, with or without
11
* modification, is permitted provided that the following conditions
12
* are met:
13
*
14
* 1. Redistributions of source code must retain the above copyright
15
* notice, this list of conditions and the following disclaimer.
16
*
17
* 2. Redistributions in binary form must reproduce the above copyright
18
* notice, this list of conditions and the following disclaimer in the
19
* documentation and/or other materials provided with the distribution.
20
*
21
* 3. All advertising materials mentioning features or use of this software
22
* must display the following acknowledgement:
23
*
24
* This product includes software developed by CESNET z.s.p.o.
25
*
26
* 4. Neither the name of the CESNET nor the names of its contributors may be
27
* used to endorse or promote products derived from this software without
28
* specific prior written permission.
29
*
30
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS
31
* "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
32
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
33
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
34
* EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
35
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
36
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
37
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
39
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
40
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
41
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42
*
43
*/
44
45
#ifndef HWACCEL_VAAPI_H
46
#define HWACCEL_VAAPI_H
47
48
#ifdef HWACC_VAAPI
49
50
#ifdef __cplusplus
51
extern
"C"
{
52
#endif
53
54
#include "
types.h
"
55
56
struct
AVCodecContext;
57
struct
hw_accel_state
;
58
struct
vaapi_ctx
;
59
60
void
vaapi_uninit
(
struct
hw_accel_state
*s);
61
int
vaapi_init
(
struct
AVCodecContext *s,
62
struct
hw_accel_state
*
state
,
63
codec_t
out_codec);
64
65
#ifdef __cplusplus
66
}
67
#endif
68
69
#endif
//HWACC_VAAPI
70
71
#endif
state
void ** state
Definition
aja_win32_stub.cpp:46
vaapi_init
int vaapi_init(struct AVCodecContext *s, struct hw_accel_state *state, codec_t out_codec)
Definition
hwaccel_vaapi.c:279
vaapi_uninit
void vaapi_uninit(struct hw_accel_state *s)
Definition
hwaccel_vaapi.c:84
hw_accel_state
Definition
hwaccel_libav_common.h:68
vaapi_ctx
Definition
hwaccel_vaapi.c:66
types.h
This file contains some common data types.
codec_t
codec_t
Definition
types.h:65
Generated on Wed Sep 25 2024 14:27:16 for UltraGrid by
1.12.0