aboutsummaryrefslogtreecommitdiff
path: root/include/codec_query/codec_query.h
blob: 316217d19222c507e339a980cbfb657d011102c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef GSR_CODEC_QUERY_H
#define GSR_CODEC_QUERY_H

#include <stdbool.h>

typedef struct {
    bool supported;
    bool low_power;
} gsr_supported_video_codec;

typedef struct {
    gsr_supported_video_codec h264;
    gsr_supported_video_codec hevc;
    gsr_supported_video_codec hevc_hdr;
    gsr_supported_video_codec hevc_10bit;
    gsr_supported_video_codec av1;
    gsr_supported_video_codec av1_hdr;
    gsr_supported_video_codec av1_10bit;
    gsr_supported_video_codec vp8;
    gsr_supported_video_codec vp9;
} gsr_supported_video_codecs;

#endif /* GSR_CODEC_QUERY_H */