Loading...
Searching...
No Matches
h264.h
Go to the documentation of this file.
/* Simple Plugin API */
/* SPDX-FileCopyrightText: Copyright © 2023 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef SPA_VIDEO_H264_H
#define SPA_VIDEO_H264_H
#include <spa/param/format.h>
#ifdef __cplusplus
extern "C" {
#endif
enum spa_h264_stream_format {
SPA_H264_STREAM_FORMAT_UNKNOWN = 0,
SPA_H264_STREAM_FORMAT_AVC,
SPA_H264_STREAM_FORMAT_AVC3,
SPA_H264_STREAM_FORMAT_BYTESTREAM
};
enum spa_h264_alignment {
SPA_H264_ALIGNMENT_UNKNOWN = 0,
SPA_H264_ALIGNMENT_AU,
SPA_H264_ALIGNMENT_NAL
};
struct spa_video_info_h264 {
struct spa_rectangle size;
struct spa_fraction framerate;
struct spa_fraction max_framerate;
enum spa_h264_stream_format stream_format;
enum spa_h264_alignment alignment;
};
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* SPA_VIDEO_H264_H */
spa_h264_alignment
spa_h264_alignment
Definition h264.h:31
spa_h264_stream_format
spa_h264_stream_format
Definition h264.h:24
SPA_H264_ALIGNMENT_UNKNOWN
@ SPA_H264_ALIGNMENT_UNKNOWN
Definition h264.h:32
SPA_H264_ALIGNMENT_NAL
@ SPA_H264_ALIGNMENT_NAL
Definition h264.h:34
SPA_H264_ALIGNMENT_AU
@ SPA_H264_ALIGNMENT_AU
Definition h264.h:33
SPA_H264_STREAM_FORMAT_UNKNOWN
@ SPA_H264_STREAM_FORMAT_UNKNOWN
Definition h264.h:25
SPA_H264_STREAM_FORMAT_BYTESTREAM
@ SPA_H264_STREAM_FORMAT_BYTESTREAM
Definition h264.h:28
SPA_H264_STREAM_FORMAT_AVC
@ SPA_H264_STREAM_FORMAT_AVC
Definition h264.h:26
SPA_H264_STREAM_FORMAT_AVC3
@ SPA_H264_STREAM_FORMAT_AVC3
Definition h264.h:27
format.h
spa/param/format.h
spa_fraction
Definition defs.h:137
spa_rectangle
Definition defs.h:116
spa_video_info_h264
Definition h264.h:37
spa_video_info_h264::alignment
enum spa_h264_alignment alignment
Definition h264.h:42
spa_video_info_h264::size
struct spa_rectangle size
Definition h264.h:38
spa_video_info_h264::framerate
struct spa_fraction framerate
Definition h264.h:39
spa_video_info_h264::stream_format
enum spa_h264_stream_format stream_format
Definition h264.h:41
spa_video_info_h264::max_framerate
struct spa_fraction max_framerate
Definition h264.h:40