Lines Matching defs:res
191 auto res = AVStrError(number);
192 ASSERT_STREQ(res.c_str(), "No error information");
199 auto res = ConvertTimeFromFFmpeg(number, rational);
200 ASSERT_EQ(res, 2000000000000);
210 auto res = ConvertTimeToFFmpeg(number, rational);
211 ASSERT_EQ(res, ((int64_t)UINT64_C(0x8000000000000000)));
221 auto res = FillAVPicture(frame, &ptr, AVPixelFormat::AV_PIX_FMT_ABGR, 1920, 1080);
222 ASSERT_EQ(res, 0);
230 auto res = GetAVPictureSize(format, height, width);
231 ASSERT_EQ(res, 0);
238 auto res = RemoveDelimiter(str, ch);
239 ASSERT_STREQ(res.c_str(), "hell");
267 std::vector<std::string> res = SplitString(limit, ch);
268 ASSERT_EQ(res.size(), 1);
269 ASSERT_STREQ(res[0].c_str(), "he");
275 auto res = ConvertChannelLayoutFromFFmpeg(index, 0);
278 ASSERT_EQ(AudioChannelLayout::MONO, res);
281 ASSERT_EQ(AudioChannelLayout::STEREO, res);
284 ASSERT_EQ(AudioChannelLayout::CH_4POINT0, res);
287 ASSERT_EQ(AudioChannelLayout::CH_5POINT1, res);
290 ASSERT_EQ(AudioChannelLayout::CH_5POINT1POINT2, res);
293 ASSERT_EQ(AudioChannelLayout::CH_7POINT1POINT2, res);
296 ASSERT_EQ(AudioChannelLayout::CH_7POINT1POINT4, res);
299 ASSERT_EQ(AudioChannelLayout::CH_9POINT1POINT4, res);
302 ASSERT_EQ(AudioChannelLayout::CH_9POINT1POINT6, res);
305 ASSERT_EQ(AudioChannelLayout::CH_22POINT2, res);
308 ASSERT_EQ(AudioChannelLayout::UNKNOWN, res);