Lines Matching defs:ti

1107 static void parseVideoInfo(MatroskaFile *mf,ulonglong toplen,struct TrackInfo *ti) {
1113 ti->AV.Video.Interlaced = readUInt(mf,(unsigned)len)!=0;
1119 ti->AV.Video.StereoMode = (unsigned char)v;
1125 ti->AV.Video.PixelWidth = (unsigned)v;
1127 ti->AV.Video.DisplayWidth = ti->AV.Video.PixelWidth;
1133 ti->AV.Video.PixelHeight = (unsigned)v;
1135 ti->AV.Video.DisplayHeight = ti->AV.Video.PixelHeight;
1141 ti->AV.Video.DisplayWidth = (unsigned)v;
1148 ti->AV.Video.DisplayHeight = (unsigned)v;
1155 ti->AV.Video.DisplayUnit = (unsigned char)v;
1161 ti->AV.Video.AspectRatioType = (unsigned char)v;
1167 ti->AV.Video.CropB = (unsigned)v;
1173 ti->AV.Video.CropT = (unsigned)v;
1179 ti->AV.Video.CropL = (unsigned)v;
1185 ti->AV.Video.CropR = (unsigned)v;
1188 ti->AV.Video.ColourSpace = (unsigned)readUInt(mf,4);
1191 ti->AV.Video.GammaValue = readFloat(mf,(unsigned)len);
1196 static void parseAudioInfo(MatroskaFile *mf,ulonglong toplen,struct TrackInfo *ti) {
1201 ti->AV.Audio.SamplingFreq = readFloat(mf,(unsigned)len);
1204 ti->AV.Audio.OutputSamplingFreq = readFloat(mf,(unsigned)len);
1210 ti->AV.Audio.Channels = (unsigned char)v;
1221 ti->AV.Audio.BitDepth = (unsigned char)v;
1225 if (ti->AV.Audio.Channels == 0)
1226 ti->AV.Audio.Channels = 1;
1227 if (mkv_TruncFloat(ti->AV.Audio.SamplingFreq) == 0)
1228 ti->AV.Audio.SamplingFreq = mkfi(8000);
1229 if (mkv_TruncFloat(ti->AV.Audio.OutputSamplingFreq)==0)
1230 ti->AV.Audio.OutputSamplingFreq = ti->AV.Audio.SamplingFreq;
3183 TrackInfo *ti;
3186 ti = mkv_GetTrackInfo(mf, tracknum);
3187 if (ti == NULL) {
3192 if (!ti->CompEnabled) {
3197 if (ti->CompMethod != COMP_ZLIB) {