Home
last modified time | relevance | path

Searched refs:decoded_frame (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/modules/video_coding/codecs/h264/test/
Dh264_impl_unittest.cc66 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
68 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
69 ASSERT_TRUE(decoded_frame); in TEST_F()
70 EXPECT_GT(I420PSNR(&input_frame, decoded_frame.get()), 36); in TEST_F()
72 const ColorSpace color_space = *decoded_frame->color_space(); in TEST_F()
91 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
93 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
94 ASSERT_TRUE(decoded_frame); in TEST_F()
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer_unittest.cc110 auto decoded_frame = bfd.PopNextFrame(); in TEST() local
111 ASSERT_TRUE(decoded_frame); in TEST()
112 ASSERT_EQ(size - kHeaderSize, decoded_frame->SerializeAsString().size()); in TEST()
169 std::unique_ptr<Frame> decoded_frame = bfd.PopNextFrame(); in TEST() local
170 ASSERT_TRUE(decoded_frame); in TEST()
171 ASSERT_TRUE(FrameEq(serialized_frame, *decoded_frame)); in TEST()
193 std::unique_ptr<Frame> decoded_frame = bfd.PopNextFrame(); in TEST() local
194 ASSERT_TRUE(decoded_frame); in TEST()
195 ASSERT_TRUE(FrameEq(frame, *decoded_frame)); in TEST()
216 std::unique_ptr<Frame> decoded_frame = bfd.PopNextFrame(); in TEST() local
[all …]
/external/webrtc/modules/video_coding/
Dgeneric_decoder_unittest.cc97 absl::optional<VideoFrame> decoded_frame = user_callback_.WaitForFrame(10); in TEST_F() local
98 ASSERT_TRUE(decoded_frame.has_value()); in TEST_F()
99 EXPECT_EQ(decoded_frame->packet_infos().size(), 3U); in TEST_F()
113 absl::optional<VideoFrame> decoded_frame = user_callback_.WaitForFrame(200); in TEST_F() local
114 ASSERT_TRUE(decoded_frame.has_value()); in TEST_F()
115 EXPECT_EQ(decoded_frame->packet_infos().size(), 3U); in TEST_F()
/external/webrtc/modules/video_coding/codecs/multiplex/test/
Dmultiplex_adapter_unittest.cc223 std::unique_ptr<VideoFrame> decoded_frame; in TEST_P() local
225 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_P()
226 ASSERT_TRUE(decoded_frame); in TEST_P()
227 EXPECT_GT(I420PSNR(input_frame.get(), decoded_frame.get()), 36); in TEST_P()
228 CheckData(decoded_frame->video_frame_buffer()); in TEST_P()
240 std::unique_ptr<VideoFrame> decoded_frame; in TEST_P() local
242 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_P()
243 ASSERT_TRUE(decoded_frame); in TEST_P()
244 EXPECT_GT(I420PSNR(yuva_frame.get(), decoded_frame.get()), 36); in TEST_P()
249 ExtractAXXFrame(*decoded_frame); in TEST_P()
[all …]
/external/openscreen/cast/standalone_sender/
Dsimulated_capturer.h65 const AVFrame& decoded_frame);
68 virtual void DeliverDataToClient(const AVFrame& decoded_frame,
147 const AVFrame& decoded_frame) final;
151 void DeliverDataToClient(const AVFrame& decoded_frame,
198 void DeliverDataToClient(const AVFrame& decoded_frame,
/external/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc298 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
300 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
301 ASSERT_TRUE(decoded_frame); in TEST_F()
303 EXPECT_GT(I420PSNR(&input_frame, decoded_frame.get()), 36); in TEST_F()
394 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
396 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
397 ASSERT_TRUE(decoded_frame); in TEST_F()
399 EXPECT_GT(I420PSNR(&input_frame, decoded_frame.get()), 36); in TEST_F()
400 EXPECT_EQ(kInitialTimestampRtp, decoded_frame->timestamp()); in TEST_F()
426 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
[all …]
/external/openscreen/cast/standalone_receiver/
Dsdl_player_base.cc125 OSP_DCHECK(!it->second.decoded_frame); in OnFrameDecoded()
128 it->second.decoded_frame = AVFrameUniquePtr(av_frame_clone(&frame)); in OnFrameDecoded()
156 if (it == frames_to_render_.end() || !it->second.decoded_frame) { in RenderAndSchedulePresentation()
178 if (next_it == frames_to_render_.end() || !next_it->second.decoded_frame) { in RenderAndSchedulePresentation()
Dsdl_audio_player.cc76 OSP_DCHECK(next_frame.decoded_frame); in RenderNextFrame()
77 const AVFrame& frame = *next_frame.decoded_frame; in RenderNextFrame()
Dsdl_video_player.cc72 OSP_DCHECK(frame.decoded_frame); in RenderNextFrame()
73 const AVFrame& picture = *frame.decoded_frame; in RenderNextFrame()
Dsdl_player_base.h48 AVFrameUniquePtr decoded_frame; member
/external/webrtc/test/testsupport/
Divf_video_frame_generator.cc128 void IvfVideoFrameGenerator::OnFrameDecoded(const VideoFrame& decoded_frame) { in OnFrameDecoded() argument
130 next_frame_ = decoded_frame; in OnFrameDecoded()
Divf_video_frame_generator.h55 void OnFrameDecoded(const VideoFrame& decoded_frame);
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_decoder.cc157 VideoFrame decoded_frame = VideoFrame::Builder() in Decode() local
164 decode_complete_callback_->Decoded(decoded_frame, absl::nullopt, in Decode()
/external/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc463 void VideoProcessor::FrameDecoded(const VideoFrame& decoded_frame, in FrameDecoded() argument
472 stats_->GetFrameWithTimestamp(decoded_frame.timestamp(), spatial_idx); in FrameDecoded()
496 frame_stat->decoded_width = decoded_frame.width(); in FrameDecoded()
497 frame_stat->decoded_height = decoded_frame.height(); in FrameDecoded()
510 *decoded_frame.video_frame_buffer()->ToI420(), frame_stat, calc_ssim); in FrameDecoded()
527 ExtractI420BufferWithSize(decoded_frame, config_.codec_settings.width, in FrameDecoded()
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc106 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
108 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
109 ASSERT_TRUE(decoded_frame); in TEST_F()
110 EXPECT_GT(I420PSNR(&input_frame, decoded_frame.get()), 36); in TEST_F()
112 const ColorSpace color_space = *decoded_frame->color_space(); in TEST_F()
131 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
133 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
134 ASSERT_TRUE(decoded_frame); in TEST_F()
136 ASSERT_TRUE(decoded_frame->color_space()); in TEST_F()
138 EXPECT_FALSE(decoded_frame->color_space()->hdr_metadata()); in TEST_F()
[all …]
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_decoder_impl.cc339 VideoFrame decoded_frame = VideoFrame::Builder() in Decode() local
348 decoded_image_callback_->Decoded(decoded_frame, absl::nullopt, qp); in Decode()
/external/pigweed/pw_hdlc/
Ddocs.rst180 Result<Frame> decoded_frame = decoder.Process(data);
182 if (decoded_frame.ok()) {