6aaf5b8fc89e3853a52b916468c776dcf7aa1a9e
[platform/upstream/gstreamer.git] / subprojects / gstreamer-vaapi / tests / internal / codec.h
1 /*
2  *  codec.h - Codec utilities for the tests
3  *
4  *  Copyright (C) 2013 Intel Corporation
5  *    Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
6  *
7  *  This library is free software; you can redistribute it and/or
8  *  modify it under the terms of the GNU Lesser General Public License
9  *  as published by the Free Software Foundation; either version 2.1
10  *  of the License, or (at your option) any later version.
11  *
12  *  This library is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  *  Lesser General Public License for more details.
16  *
17  *  You should have received a copy of the GNU Lesser General Public
18  *  License along with this library; if not, write to the Free
19  *  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  *  Boston, MA 02110-1301 USA
21  */
22
23 #ifndef CODEC_H
24 #define CODEC_H
25
26 #include <gst/vaapi/gstvaapiprofile.h>
27
28 const gchar *
29 string_from_codec(GstVaapiCodec codec);
30
31 GstCaps *
32 caps_from_codec(GstVaapiCodec codec);
33
34 GstVaapiCodec
35 identify_codec_from_string(const gchar *codec_str);
36
37 GstVaapiCodec
38 identify_codec(const gchar *filename);
39
40 #endif /* CODEC_H */