Home
last modified time | relevance | path

Searched refs:encoded_frame (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc49 const EncodedImage& encoded_frame, in Encoded() argument
52 if (encoded_frame_->_size < encoded_frame._length) { in Encoded()
54 frame_buffer_.reset(new uint8_t[encoded_frame._length]); in Encoded()
56 encoded_frame_->_size = encoded_frame._length; in Encoded()
58 memcpy(encoded_frame_->_buffer, encoded_frame._buffer, encoded_frame._length); in Encoded()
59 encoded_frame_->_length = encoded_frame._length; in Encoded()
60 encoded_frame_->_encodedWidth = encoded_frame._encodedWidth; in Encoded()
61 encoded_frame_->_encodedHeight = encoded_frame._encodedHeight; in Encoded()
62 encoded_frame_->_timeStamp = encoded_frame._timeStamp; in Encoded()
63 encoded_frame_->_frameType = encoded_frame._frameType; in Encoded()
[all …]
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer_unittest.cc66 std::vector<char> encoded_frame; in GetSimpleFrame() local
67 encoded_frame.resize(size); in GetSimpleFrame()
68 char* enc_buf = encoded_frame.data(); in GetSimpleFrame()
72 PERFETTO_CHECK(encoded_frame.size() == size); in GetSimpleFrame()
73 return encoded_frame; in GetSimpleFrame()
77 const std::vector<char>& encoded_frame, in CheckedMemcpy() argument
79 ASSERT_GE(rbuf.size, encoded_frame.size() + offset); in CheckedMemcpy()
80 memcpy(rbuf.data + offset, encoded_frame.data(), encoded_frame.size()); in CheckedMemcpy()
/external/webp/src/mux/
Danim_encode.c312 static void FrameRelease(EncodedFrame* const encoded_frame) { in FrameRelease() argument
313 if (encoded_frame != NULL) { in FrameRelease()
314 WebPDataClear(&encoded_frame->sub_frame_.bitstream); in FrameRelease()
315 WebPDataClear(&encoded_frame->key_frame_.bitstream); in FrameRelease()
316 memset(encoded_frame, 0, sizeof(*encoded_frame)); in FrameRelease()
1013 EncodedFrame* const encoded_frame) { in PickBestCandidate() argument
1031 ? &encoded_frame->key_frame_ in PickBestCandidate()
1032 : &encoded_frame->sub_frame_; in PickBestCandidate()
1061 EncodedFrame* const encoded_frame, in SetFrame() argument
1172 PickBestCandidate(enc, candidates, is_key_frame, encoded_frame); in SetFrame()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h107 void GetLastEncodedFrame(EncodedImage* encoded_frame) { in GetLastEncodedFrame() argument
108 *encoded_frame = encoded_frame_; in GetLastEncodedFrame()
750 EncodedImage encoded_frame; in TestRPSIEncodeDecode() local
751 encoder_callback.GetLastEncodedKeyFrame(&encoded_frame); in TestRPSIEncodeDecode()
752 decoder_->Decode(encoded_frame, false, NULL); in TestRPSIEncodeDecode()
753 encoder_callback.GetLastEncodedFrame(&encoded_frame); in TestRPSIEncodeDecode()
754 decoder_->Decode(encoded_frame, false, NULL); in TestRPSIEncodeDecode()
916 EncodedImage encoded_frame; in TestStrideEncodeDecode() local
918 encoder_callback.GetLastEncodedKeyFrame(&encoded_frame); in TestStrideEncodeDecode()
919 EXPECT_EQ(0, decoder_->Decode(encoded_frame, false, NULL)); in TestStrideEncodeDecode()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dvideo_coding.gypi33 'encoded_frame.h',
61 'encoded_frame.cc',
DBUILD.gn21 "encoded_frame.cc",
22 "encoded_frame.h",
/external/webrtc/webrtc/video/
Dreplay.cc203 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) { in EncodedFrameCallback() argument
204 fwrite(encoded_frame.data_, 1, encoded_frame.length_, file_); in EncodedFrameCallback()
Dend_to_end_tests.cc1663 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) { in TEST_F() argument
1664 frame_type_ = encoded_frame.frame_type_; in TEST_F()
1665 length_ = encoded_frame.length_; in TEST_F()
1667 memcpy(buffer_.get(), encoded_frame.data_, length_); in TEST_F()
Dvideo_send_stream_tests.cc659 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) { in TestPacketFragmentationSize() argument
/external/webrtc/webrtc/
Dframe_callback.h45 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) = 0;