Home
last modified time | relevance | path

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

/external/webrtc/modules/video_coding/
Dgeneric_decoder_unittest.cc100 absl::optional<VideoFrame> decoded_frame = user_callback_.PopLastFrame(); in TEST_F() local
101 ASSERT_TRUE(decoded_frame.has_value()); in TEST_F()
102 EXPECT_EQ(decoded_frame->packet_infos().size(), 3U); in TEST_F()
136 absl::optional<VideoFrame> decoded_frame = user_callback_.PopLastFrame(); in TEST_F() local
137 ASSERT_TRUE(decoded_frame.has_value()); in TEST_F()
138 EXPECT_EQ(decoded_frame->packet_infos().size(), 3U); in TEST_F()
145 absl::optional<VideoFrame> decoded_frame = user_callback_.PopLastFrame(); in TEST_F() local
146 ASSERT_TRUE(decoded_frame.has_value()); in TEST_F()
148 decoded_frame->render_parameters().max_composition_delay_in_frames, in TEST_F()
161 absl::optional<VideoFrame> decoded_frame = user_callback_.PopLastFrame(); in TEST_F() local
[all …]
/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/codecs/multiplex/test/
Dmultiplex_adapter_unittest.cc222 std::unique_ptr<VideoFrame> decoded_frame; in TEST_P() local
224 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_P()
225 ASSERT_TRUE(decoded_frame); in TEST_P()
226 EXPECT_GT(I420PSNR(input_frame.get(), decoded_frame.get()), 36); in TEST_P()
227 CheckData(decoded_frame->video_frame_buffer()); in TEST_P()
239 std::unique_ptr<VideoFrame> decoded_frame; in TEST_P() local
241 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_P()
242 ASSERT_TRUE(decoded_frame); in TEST_P()
243 EXPECT_GT(I420PSNR(yuva_frame.get(), decoded_frame.get()), 36); in TEST_P()
248 ExtractAXXFrame(*decoded_frame); in TEST_P()
[all …]
/external/openscreen/cast/standalone_sender/
Dsimulated_capturer.h67 const AVFrame& decoded_frame);
70 virtual void DeliverDataToClient(const AVFrame& decoded_frame,
153 const AVFrame& decoded_frame) final;
157 void DeliverDataToClient(const AVFrame& decoded_frame,
204 void DeliverDataToClient(const AVFrame& decoded_frame,
/external/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc486 void VideoProcessor::CalcFrameQuality(const I420BufferInterface& decoded_frame, in CalcFrameQuality() argument
498 decoded_frame, frame_stat, calc_ssim); in CalcFrameQuality()
503 void VideoProcessor::WriteDecodedFrame(const I420BufferInterface& decoded_frame, in WriteDecodedFrame() argument
511 if (decoded_frame.width() == input_video_width && in WriteDecodedFrame()
512 decoded_frame.height() == input_video_height) { in WriteDecodedFrame()
513 scaled_frame = &decoded_frame; in WriteDecodedFrame()
517 static_cast<double>(decoded_frame.width()) / decoded_frame.height()); in WriteDecodedFrame()
520 scaled_buffer->ScaleFrom(decoded_frame); in WriteDecodedFrame()
536 void VideoProcessor::FrameDecoded(const VideoFrame& decoded_frame, in FrameDecoded() argument
545 stats_->GetFrameWithTimestamp(decoded_frame.timestamp(), spatial_idx); in FrameDecoded()
[all …]
Dvideoprocessor.h174 void CalcFrameQuality(const I420BufferInterface& decoded_frame,
177 void WriteDecodedFrame(const I420BufferInterface& decoded_frame,
/external/crosvm/devices/src/virtio/video/decoder/backend/
Dvaapi.rs495 pub fn output_picture(&mut self, decoded_frame: &dyn DynDecodedHandle) -> Result<bool> { in output_picture()
506 let display_resolution = decoded_frame.display_resolution(); in output_picture()
508 let mut picture = decoded_frame.dyn_picture_mut(); in output_picture()
523 let timestamp = decoded_frame.timestamp(); in output_picture()
551 while let Some(mut decoded_frame) = self.ready_queue.pop_front() { in drain_ready_queue()
552 let display_order = decoded_frame.display_order().expect( in drain_ready_queue()
574 self.ready_queue.push_front(decoded_frame); in drain_ready_queue()
577 self.ready_queue.push_front(decoded_frame); in drain_ready_queue()
587 decoded_frame = self.ready_queue.pop_front().unwrap(); in drain_ready_queue()
590 let display_order = decoded_frame.display_order().expect( in drain_ready_queue()
[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.cc80 OSP_DCHECK(frame.decoded_frame); in RenderNextFrame()
81 const AVFrame& picture = *frame.decoded_frame; in RenderNextFrame()
Dsdl_player_base.h48 AVFrameUniquePtr decoded_frame; member
/external/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc285 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
287 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
288 ASSERT_TRUE(decoded_frame); in TEST_F()
290 EXPECT_GT(I420PSNR(&input_frame, decoded_frame.get()), 36); in TEST_F()
501 std::unique_ptr<VideoFrame> decoded_frame; in TEST_F() local
503 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_F()
504 ASSERT_TRUE(decoded_frame); in TEST_F()
506 EXPECT_GT(I420PSNR(&input_frame, decoded_frame.get()), 36); in TEST_F()
507 EXPECT_EQ(kInitialTimestampRtp, decoded_frame->timestamp()); in TEST_F()
/external/webrtc/test/testsupport/
Divf_video_frame_generator.cc126 void IvfVideoFrameGenerator::OnFrameDecoded(const VideoFrame& decoded_frame) { in OnFrameDecoded() argument
128 next_frame_ = decoded_frame; in OnFrameDecoded()
Divf_video_frame_generator.h55 void OnFrameDecoded(const VideoFrame& decoded_frame);
/external/webrtc/modules/video_coding/codecs/av1/
Ddav1d_decoder.cc186 VideoFrame decoded_frame = VideoFrame::Builder() in Decode() local
193 decode_complete_callback_->Decoded(decoded_frame, absl::nullopt, in Decode()
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc145 std::unique_ptr<VideoFrame> decoded_frame; in TEST_P() local
147 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_P()
148 ASSERT_TRUE(decoded_frame); in TEST_P()
149 EXPECT_GT(I420PSNR(&input_frame, decoded_frame.get()), 36); in TEST_P()
151 const ColorSpace color_space = *decoded_frame->color_space(); in TEST_P()
195 std::unique_ptr<VideoFrame> decoded_frame; in TEST_P() local
197 ASSERT_TRUE(WaitForDecodedFrame(&decoded_frame, &decoded_qp)); in TEST_P()
198 ASSERT_TRUE(decoded_frame); in TEST_P()
200 ASSERT_TRUE(decoded_frame->color_space()); in TEST_P()
202 EXPECT_FALSE(decoded_frame->color_space()->hdr_metadata()); in TEST_P()
[all …]
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_decoder_impl.cc578 VideoFrame decoded_frame = VideoFrame::Builder() in Decode() local
587 decoded_image_callback_->Decoded(decoded_frame, absl::nullopt, qp); in Decode()
/external/pigweed/pw_hdlc/
Ddocs.rst201 Result<Frame> decoded_frame = decoder.Process(data);
203 if (decoded_frame.ok()) {