1 /* GStreamer Intel MSDK plugin 2 * Copyright (c) 2018, Intel Corporation 3 * 4 * Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: 9 * 10 * 1. Redistributions of source code must retain the above copyright notice, 11 * this list of conditions and the following disclaimer. 12 * 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. 16 * 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. 20 * 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. 32 */ 33 34 #ifndef __MSDKENUMS_H__ 35 #define __MSDKENUMS_H__ 36 37 #include "msdk.h" 38 39 G_BEGIN_DECLS 40 41 #define _MFX_TRELLIS_NONE 0 42 43 /*========= MSDK Decoder Enums =========================*/ 44 typedef enum 45 { 46 GST_MSDKDEC_OUTPUT_ORDER_DISPLAY = 0, 47 GST_MSDKDEC_OUTPUT_ORDER_DECODE, 48 } GstMskdDecOutputOrder; 49 50 GType 51 gst_msdkdec_output_order_get_type (void); 52 53 /*========= MSDK Encoder Enums =========================*/ 54 GType 55 gst_msdkenc_rate_control_get_type (void); 56 57 GType 58 gst_msdkenc_trellis_quantization_get_type (void); 59 60 GType 61 gst_msdkenc_rc_lookahead_ds_get_type (void); 62 63 GType 64 gst_msdkenc_mbbrc_get_type (void); 65 66 GType 67 gst_msdkenc_adaptive_i_get_type (void); 68 69 GType 70 gst_msdkenc_adaptive_b_get_type (void); 71 72 /*========= MSDK VPP Enums =========================*/ 73 74 GType 75 gst_msdkvpp_rotation_get_type (void); 76 77 typedef enum 78 { 79 GST_MSDKVPP_DEINTERLACE_MODE_AUTO = 0, 80 GST_MSDKVPP_DEINTERLACE_MODE_INTERLACED, 81 GST_MSDKVPP_DEINTERLACE_MODE_DISABLED, 82 } GstMskdVPPDeinterlaceMode; 83 84 GType 85 gst_msdkvpp_deinterlace_mode_get_type (void); 86 87 #define _MFX_DEINTERLACE_METHOD_NONE 0 88 GType 89 gst_msdkvpp_deinterlace_method_get_type (void); 90 91 GType 92 gst_msdkvpp_mirroring_get_type (void); 93 94 GType 95 gst_msdkvpp_scaling_mode_get_type (void); 96 97 #define _MFX_FRC_ALGORITHM_NONE 0 98 GType 99 gst_msdkvpp_frc_algorithm_get_type (void); 100 101 G_END_DECLS 102 #endif 103