This file is indexed.

/usr/i686-w64-mingw32/include/medparam.idl is in mingw-w64-i686-dev 3.1.0-1.

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
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* This file is part of the KDE project
   Copyright (C) 2007 Shane King

   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public
   License as published by the Free Software Foundation; either
   version 2 of the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public License
   along with this program; see the file COPYING.  If not, write to
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301, USA.
*/

import "unknwn.idl";
import "strmif.idl";

typedef DWORD MP_TIMEDATA;
typedef DWORD MP_CAPS;
typedef DWORD MP_FLAGS;
typedef float MP_DATA;

typedef enum _MP_Type {
    MPT_INT,
    MPT_FLOAT,
    MPT_BOOL,
    MPT_ENUM,
    MPT_MAX,
} MP_TYPE;

typedef enum _MP_CURVE_TYPE {
    MP_CURVE_JUMP       = 0x0001, 
    MP_CURVE_LINEAR     = 0x0002, 
    MP_CURVE_SQUARE     = 0x0004, 
    MP_CURVE_INVSQUARE  = 0x0008, 
    MP_CURVE_SINE       = 0x0010, 
} MP_CURVE_TYPE;

typedef struct _MP_PARAMINFO {
    MP_TYPE    mpType;
    MP_CAPS    mopCaps;
    MP_DATA    mpdMinValue;
    MP_DATA    mpdMaxValue;
    MP_DATA    mpdNeutralValue;
    WCHAR      szUnitText[32];
    WCHAR      szLabel[32]; 
} MP_PARAMINFO;

typedef struct _MP_ENVELOPE_SEGMENT {
    REFERENCE_TIME   rtStart;
    REFERENCE_TIME   rtEnd;
    MP_DATA          valStart;
    MP_DATA          valEnd;
    MP_CURVE_TYPE    iCurve;
    MP_FLAGS         flags;
} MP_ENVELOPE_SEGMENT;

const MP_CAPS MP_CAPS_CURVE_JUMP        = MP_CURVE_JUMP;
const MP_CAPS MP_CAPS_CURVE_LINEAR      = MP_CURVE_LINEAR;
const MP_CAPS MP_CAPS_CURVE_SQUARE      = MP_CURVE_SQUARE;
const MP_CAPS MP_CAPS_CURVE_INVSQUARE   = MP_CURVE_INVSQUARE;
const MP_CAPS MP_CAPS_CURVE_SINE        = MP_CURVE_SINE;

[
    object,
    uuid(6d6cbb61-a223-44aa-842f-a2f06750be6e)
]
interface IMediaParams : IUnknown
{
    HRESULT AddEnvelope(
        DWORD dwParamIndex,
        DWORD cPoints,
        MP_ENVELOPE_SEGMENT *pEnvelope
    );

    HRESULT FlushEnvelope(
        DWORD dwParamIndex,
        REFERENCE_TIME refTimeStart,
        REFERENCE_TIME refTimeEnd
    );

    HRESULT GetParam(
        DWORD dwParamIndex,
        MP_DATA *pValue
    );

    HRESULT SetParam(
        DWORD dwParamIndex,
        MP_DATA value
    );

    HRESULT SetTimeFormat(
        GUID guidTimeFormat,
        MP_TIMEDATA mpTimeData
    );
}

[
    object,
    uuid(6d6cbb60-a223-44aa-842f-a2f06750be6d)
]
interface IMediaParamInfo : IUnknown
{
    HRESULT GetParamCount(
        DWORD *pdwParams
    );
    
    HRESULT GetParamInfo(
        DWORD dwParamIndex,
        MP_PARAMINFO *pInfo
    );
    
    HRESULT GetParamText(
        DWORD dwParamIndex,
        WCHAR **ppwchText
    );   
   
    HRESULT GetNumTimeFormats(
        DWORD *pdwNumTimeFormats
    );
 
    HRESULT GetSupportedTimeFormat(
        DWORD dwFormatIndex,
        GUID *pguidTimeFormat
    );
    
    HRESULT GetCurrentTimeFormat(
        GUID *pguidTimeFormat,
        MP_TIMEDATA *pTimeData
    );    
}