1 /* GStreamer Intel MSDK plugin
2 * Copyright (c) 2018, Intel Corporation
4 * Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:
10 * 1. Redistributions of source code must retain the above copyright notice,
11 * this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright notice,
14 * this list of conditions and the following disclaimer in the documentation
15 * and/or other materials provided with the distribution.
17 * 3. Neither the name of the copyright holder nor the names of its contributors
18 * may be used to endorse or promote products derived from this software
19 * without specific prior written permission.
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
23 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
25 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
28 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
29 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
30 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
31 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 #ifndef __MSDKENUMS_H__
35 #define __MSDKENUMS_H__
41 #define _MFX_TRELLIS_NONE 0
43 /*========= MSDK Decoder Enums =========================*/
46 GST_MSDKDEC_OUTPUT_ORDER_DISPLAY = 0,
47 GST_MSDKDEC_OUTPUT_ORDER_DECODE,
48 } GstMskdDecOutputOrder;
51 gst_msdkdec_output_order_get_type (void);
53 /*========= MSDK Encoder Enums =========================*/
55 gst_msdkenc_rate_control_get_type (void);
58 gst_msdkenc_trellis_quantization_get_type (void);
61 gst_msdkenc_rc_lookahead_ds_get_type (void);
64 gst_msdkenc_mbbrc_get_type (void);
67 gst_msdkenc_lowdelay_brc_get_type (void);
70 gst_msdkenc_adaptive_i_get_type (void);
73 gst_msdkenc_adaptive_b_get_type (void);
76 gst_msdkenc_tune_mode_get_type (void);
78 /*========= MSDK VPP Enums =========================*/
81 gst_msdkvpp_rotation_get_type (void);
85 GST_MSDKVPP_DEINTERLACE_MODE_AUTO = 0,
86 GST_MSDKVPP_DEINTERLACE_MODE_INTERLACED,
87 GST_MSDKVPP_DEINTERLACE_MODE_DISABLED,
88 } GstMskdVPPDeinterlaceMode;
91 gst_msdkvpp_deinterlace_mode_get_type (void);
93 #define _MFX_DEINTERLACE_METHOD_NONE 0
95 gst_msdkvpp_deinterlace_method_get_type (void);
98 gst_msdkvpp_mirroring_get_type (void);
101 gst_msdkvpp_scaling_mode_get_type (void);
103 #define _MFX_FRC_ALGORITHM_NONE 0
105 gst_msdkvpp_frc_algorithm_get_type (void);
108 gst_msdkenc_transform_skip_get_type (void);
111 gst_msdkenc_intra_refresh_type_get_type (void);