• Home
  • Raw
  • Download

Lines Matching refs:encoded_image

242   EncodedImage encoded_image;  in TEST()  local
243 encoded_image.SetTimestamp(1); in TEST()
244 encoded_image.capture_time_ms_ = 2; in TEST()
245 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
246 encoded_image.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST()
250 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
254 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
258 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
262 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
424 EncodedImage encoded_image; in TEST() local
425 encoded_image.SetTimestamp(1); in TEST()
426 encoded_image.capture_time_ms_ = 2; in TEST()
427 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
428 encoded_image.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST()
430 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
435 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
444 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
451 encoded_image._frameType = VideoFrameType::kVideoFrameDelta; in TEST()
455 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
470 EncodedImage encoded_image; in TEST() local
471 encoded_image.SetTimestamp(1); in TEST()
472 encoded_image.capture_time_ms_ = 2; in TEST()
473 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
474 encoded_image.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST()
491 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
492 encoded_image.SetTimestamp(2); in TEST()
493 encoded_image.capture_time_ms_ = 3; in TEST()
495 test.router()->OnEncodedImage(encoded_image, nullptr).error); in TEST()
635 EncodedImage encoded_image; in TEST() local
636 encoded_image.SetTimestamp(1); in TEST()
637 encoded_image.capture_time_ms_ = 2; in TEST()
638 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
639 encoded_image.SetEncodedData( in TEST()
641 encoded_image.SetSpatialIndex(0); in TEST()
662 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
669 encoded_image.SetSpatialIndex(1); in TEST()
682 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
742 EncodedImage encoded_image; in TEST() local
743 encoded_image.SetTimestamp(1); in TEST()
744 encoded_image.capture_time_ms_ = 2; in TEST()
745 encoded_image.SetEncodedData( in TEST()
760 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
764 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
772 encoded_image._frameType = VideoFrameType::kVideoFrameDelta; in TEST()
777 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
849 EncodedImage encoded_image; in TEST() local
850 encoded_image.SetTimestamp(1); in TEST()
851 encoded_image.capture_time_ms_ = 2; in TEST()
852 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
853 encoded_image.SetEncodedData( in TEST()
870 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
878 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
905 EncodedImage encoded_image; in TEST() local
906 encoded_image.SetTimestamp(1); in TEST()
907 encoded_image.capture_time_ms_ = 2; in TEST()
908 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
909 encoded_image._encodedWidth = 320; in TEST()
910 encoded_image._encodedHeight = 180; in TEST()
911 encoded_image.SetEncodedData( in TEST()
923 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
927 encoded_image._frameType = VideoFrameType::kVideoFrameDelta; in TEST()
928 encoded_image.SetTimestamp(3000); in TEST()
932 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
960 EncodedImage encoded_image; in TEST() local
961 encoded_image.SetTimestamp(1); in TEST()
962 encoded_image.capture_time_ms_ = 2; in TEST()
963 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
964 encoded_image._encodedWidth = 320; in TEST()
965 encoded_image._encodedHeight = 180; in TEST()
966 encoded_image.SetEncodedData( in TEST()
974 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
978 encoded_image._frameType = VideoFrameType::kVideoFrameDelta; in TEST()
979 encoded_image.SetTimestamp(3000); in TEST()
980 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
1006 EncodedImage encoded_image; in TEST() local
1007 encoded_image.SetTimestamp(1); in TEST()
1008 encoded_image.capture_time_ms_ = 2; in TEST()
1009 encoded_image.SetEncodedData( in TEST()
1024 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
1028 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()
1036 encoded_image._frameType = VideoFrameType::kVideoFrameKey; in TEST()
1038 EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error, in TEST()