5 #ifndef SPA_VIDEO_H264_UTILS_H 6 #define SPA_VIDEO_H264_UTILS_H 21 #ifndef SPA_API_VIDEO_H264_UTILS 23 #define SPA_API_VIDEO_H264_UTILS SPA_API_IMPL 25 #define SPA_API_VIDEO_H264_UTILS static inline enum spa_h264_stream_format stream_format
Definition: h264.h:41
#define SPA_POD_OPT_Id(val)
Definition: parser.h:530
uint32_t denom
Definition: defs.h:139
media type (Id enum spa_media_type)
Definition: format.h:93
#define SPA_POD_OPT_Rectangle(val)
Definition: parser.h:546
struct spa_rectangle size
Definition: h264.h:38
uint32_t height
Definition: defs.h:118
size (Rectangle)
Definition: format.h:123
SPA_API_POD_BUILDER void * spa_pod_builder_pop(struct spa_pod_builder *builder, struct spa_pod_frame *frame)
Definition: builder.h:187
SPA_API_POD_BUILDER int spa_pod_builder_push_object(struct spa_pod_builder *builder, struct spa_pod_frame *frame, uint32_t type, uint32_t id)
Definition: builder.h:479
media subtype (Id enum spa_media_subtype)
Definition: format.h:94
frame rate (Fraction)
Definition: format.h:124
#define SPA_POD_OPT_Fraction(val)
Definition: parser.h:548
struct spa_fraction framerate
Definition: h264.h:39
SPA_API_POD_BUILDER int spa_pod_builder_add(struct spa_pod_builder *builder,...)
Definition: builder.h:691
uint32_t width
Definition: defs.h:117
#define spa_pod_parse_object(pod, type, id,...)
Definition: parser.h:586
#define SPA_POD_Rectangle(val)
Definition: vararg.h:102
#define SPA_POD_Fraction(val)
Definition: vararg.h:111
(Id enum spa_h264_alignment)
Definition: format.h:139
enum spa_h264_alignment alignment
Definition: h264.h:42
SPA_API_VIDEO_H264_UTILS struct spa_pod * spa_format_video_h264_build(struct spa_pod_builder *builder, uint32_t id, const struct spa_video_info_h264 *info)
Definition: h264-utils.h:50
(Id enum spa_h264_stream_format)
Definition: format.h:138
maximum frame rate (Fraction)
Definition: format.h:125
#define SPA_POD_Id(val)
Definition: vararg.h:49
SPA_API_VIDEO_H264_UTILS int spa_format_video_h264_parse(const struct spa_pod *format, struct spa_video_info_h264 *info)
Definition: h264-utils.h:37
struct spa_fraction max_framerate
Definition: h264.h:40
#define SPA_API_VIDEO_H264_UTILS
Definition: h264-utils.h:32