/usr/include/schroedinger-1.0/schroedinger/schrovideoformat.h is in libschroedinger-dev 1.0.11-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | #ifndef __SCHRO_VIDEO_FORMAT_H__
#define __SCHRO_VIDEO_FORMAT_H__
#include <schroedinger/schroutils.h>
#include <schroedinger/schrobitstream.h>
SCHRO_BEGIN_DECLS
typedef struct _SchroVideoFormat SchroVideoFormat;
struct _SchroVideoFormat {
SchroVideoFormatEnum index;
int width;
int height;
SchroChromaFormat chroma_format;
schro_bool interlaced;
schro_bool top_field_first;
int frame_rate_numerator;
int frame_rate_denominator;
int aspect_ratio_numerator;
int aspect_ratio_denominator;
int clean_width;
int clean_height;
int left_offset;
int top_offset;
int luma_offset;
int luma_excursion;
int chroma_offset;
int chroma_excursion;
SchroColourPrimaries colour_primaries;
SchroColourMatrix colour_matrix;
SchroTransferFunction transfer_function;
int interlaced_coding;
int unused0;
int unused1;
int unused2;
};
int schro_video_format_validate (SchroVideoFormat *format);
void schro_video_format_set_std_video_format (SchroVideoFormat *format,
SchroVideoFormatEnum index);
SchroVideoFormatEnum schro_video_format_get_std_video_format (SchroVideoFormat *format);
void schro_video_format_set_std_frame_rate (SchroVideoFormat *format, int index);
int schro_video_format_get_std_frame_rate (SchroVideoFormat *format);
void schro_video_format_set_std_aspect_ratio (SchroVideoFormat *format, int index);
int schro_video_format_get_std_aspect_ratio (SchroVideoFormat *format);
void schro_video_format_set_std_signal_range (SchroVideoFormat *format,
SchroSignalRange index);
SchroSignalRange schro_video_format_get_std_signal_range (SchroVideoFormat *format);
void schro_video_format_set_std_colour_spec (SchroVideoFormat *format,
SchroColourSpec index);
SchroColourSpec schro_video_format_get_std_colour_spec (SchroVideoFormat *format);
int schro_video_format_get_bit_depth (SchroVideoFormat *format);
#ifdef SCHRO_ENABLE_UNSTABLE_API
int schro_video_format_get_picture_height (SchroVideoFormat *format);
void schro_video_format_get_picture_luma_size (SchroVideoFormat *format,
int *picture_luma_width, int *picture_luma_height);
void schro_video_format_get_picture_chroma_size (SchroVideoFormat *format,
int *picture_chroma_width, int *picture_chroma_height);
void schro_video_format_get_iwt_alloc_size (SchroVideoFormat *format,
int *width, int *height, int transform_depth);
schro_bool schro_video_format_check_MP_DL (SchroVideoFormat *format);
schro_bool schro_video_format_check_VC2_DL (SchroVideoFormat *format);
int schro_video_format_compare_new_sequence (SchroVideoFormat *a, SchroVideoFormat *b);
int schro_video_format_compare (SchroVideoFormat *a, SchroVideoFormat *b);
#endif
SCHRO_END_DECLS
#endif
|