PipeWire 1.6.5

Loading...
Searching...
No Matches
h265.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2025 Wim Taymans */
3/* SPDX-FileCopyrightText: Copyright © 2025 Arun Raghavan */
4/* SPDX-License-Identifier: MIT */
5
6#ifndef SPA_VIDEO_H265_H
7#define SPA_VIDEO_H265_H
8
9#ifdef __cplusplus
10 extern "C" {
11#endif
12
17
18#include <spa/param/format.h>
19
20 enum spa_h265_stream_format {
21 SPA_H265_STREAM_FORMAT_UNKNOWN = 0,
22 SPA_H265_STREAM_FORMAT_HVC1,
23 SPA_H265_STREAM_FORMAT_HEV1,
24 SPA_H265_STREAM_FORMAT_BYTESTREAM
25};
26
27 enum spa_h265_alignment {
28 SPA_H265_ALIGNMENT_UNKNOWN = 0,
29 SPA_H265_ALIGNMENT_AU,
30 SPA_H265_ALIGNMENT_NAL
31};
32
33 struct spa_video_info_h265 {
34 struct spa_rectangle size;
35 struct spa_fraction framerate;
36 struct spa_fraction max_framerate;
37 enum spa_h265_stream_format stream_format;
38 enum spa_h265_alignment alignment;
39};
40
44
45#ifdef __cplusplus
46} /* extern "C" */
47#endif
48
49#endif /* SPA_VIDEO_H265_H */
spa_h265_alignment
spa_h265_alignment
Definition h265.h:32
spa_h265_stream_format
spa_h265_stream_format
Definition h265.h:25
SPA_H265_ALIGNMENT_NAL
@ SPA_H265_ALIGNMENT_NAL
Definition h265.h:35
SPA_H265_ALIGNMENT_AU
@ SPA_H265_ALIGNMENT_AU
Definition h265.h:34
SPA_H265_ALIGNMENT_UNKNOWN
@ SPA_H265_ALIGNMENT_UNKNOWN
Definition h265.h:33
SPA_H265_STREAM_FORMAT_HVC1
@ SPA_H265_STREAM_FORMAT_HVC1
Definition h265.h:27
SPA_H265_STREAM_FORMAT_UNKNOWN
@ SPA_H265_STREAM_FORMAT_UNKNOWN
Definition h265.h:26
SPA_H265_STREAM_FORMAT_BYTESTREAM
@ SPA_H265_STREAM_FORMAT_BYTESTREAM
Definition h265.h:29
SPA_H265_STREAM_FORMAT_HEV1
@ SPA_H265_STREAM_FORMAT_HEV1
Definition h265.h:28
format.h
spa/param/format.h
spa_fraction
Definition defs.h:137
spa_rectangle
Definition defs.h:116
spa_video_info_h265
Definition h265.h:38
spa_video_info_h265::framerate
struct spa_fraction framerate
Definition h265.h:40
spa_video_info_h265::stream_format
enum spa_h265_stream_format stream_format
Definition h265.h:42
spa_video_info_h265::size
struct spa_rectangle size
Definition h265.h:39
spa_video_info_h265::alignment
enum spa_h265_alignment alignment
Definition h265.h:43
spa_video_info_h265::max_framerate
struct spa_fraction max_framerate
Definition h265.h:41