Debian Codegraph @

gst/mpegtsmux/gstbasetsmuxjpegxs.h

raw symbols SCIP
1 /* Support for JPEG-XS
2 *
3 * Copyright (C) <2024> Centricular ltd
4 * @author Edward Hervey <[email protected]>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 * SPDX-License-Identifier: LGPL-2.0-or-later
22 */
23
24 #ifndef __BASETSMUX_JPEGXS_H__
25 #define __BASETSMUX_JPEGXS_H__
26
27 #include "gstbasetsmux.h"
28
29 typedef struct jpegxs_private_data
30 {
31 guint32 brat;
32 guint32 frat;
33 guint16 schar;
34 guint16 Ppih;
35 guint16 Plev;
36 guint8 color_primaries;
37 guint8 transfer_characteristics;
38 guint8 matrix_coefficients;
39 gboolean video_full_range_flag;
40 guint32 tcod;
41 } jpegxs_private_data;
42
43 GstBuffer *gst_base_ts_mux_prepare_jpegxs (GstBuffer * buf, GstBaseTsMuxPad * pad,
44 GstBaseTsMux * mux);
45
46 void gst_base_ts_mux_free_jpegxs (gpointer prepare_data);
47
48 #endif /* __BASETSMUX_JPEGXS_H__ */