/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/ |
D | vp8_impl_unittest.cc | 49 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/ |
D | buffered_frame_deserializer_unittest.cc | 66 std::vector<char> encoded_frame; in GetSimpleFrame() local 67 encoded_frame.resize(size); in GetSimpleFrame() 68 char* enc_buf = encoded_frame.data(); in GetSimpleFrame() 73 PERFETTO_CHECK(encoded_frame.size() == size); in GetSimpleFrame() 74 return encoded_frame; in GetSimpleFrame() 78 const std::vector<char>& encoded_frame, in CheckedMemcpy() argument 80 ASSERT_GE(rbuf.size, encoded_frame.size() + offset); in CheckedMemcpy() 81 memcpy(rbuf.data + offset, encoded_frame.data(), encoded_frame.size()); in CheckedMemcpy()
|
/external/webp/src/mux/ |
D | anim_encode.c | 312 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/libgav1/libgav1/src/ |
D | decoder_impl.cc | 902 EncodedFrame* const encoded_frame = &frame; in ParseAndSchedule() local 903 encoded_frame->temporal_unit = &temporal_units_.Back(); in ParseAndSchedule() 904 frame_thread_pool_->Schedule([this, encoded_frame]() { in ParseAndSchedule() 906 const StatusCode status = DecodeFrame(encoded_frame); in ParseAndSchedule() 907 encoded_frame->state = {}; in ParseAndSchedule() 908 encoded_frame->frame = nullptr; in ParseAndSchedule() 909 TemporalUnit& temporal_unit = *encoded_frame->temporal_unit; in ParseAndSchedule() 939 StatusCode DecoderImpl::DecodeFrame(EncodedFrame* const encoded_frame) { in DecodeFrame() argument 940 const ObuSequenceHeader& sequence_header = encoded_frame->sequence_header; in DecodeFrame() 941 const ObuFrameHeader& frame_header = encoded_frame->frame_header; in DecodeFrame() [all …]
|
D | decoder_impl.h | 187 StatusCode DecodeFrame(EncodedFrame* encoded_frame);
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | simulcast_unittest.h | 107 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/ |
D | video_coding.gypi | 33 'encoded_frame.h', 61 'encoded_frame.cc',
|
D | BUILD.gn | 21 "encoded_frame.cc", 22 "encoded_frame.h",
|
/external/webrtc/webrtc/video/ |
D | replay.cc | 203 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) { in EncodedFrameCallback() argument 204 fwrite(encoded_frame.data_, 1, encoded_frame.length_, file_); in EncodedFrameCallback()
|
D | end_to_end_tests.cc | 1663 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()
|
D | video_send_stream_tests.cc | 659 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) { in TestPacketFragmentationSize() argument
|
/external/webrtc/webrtc/ |
D | frame_callback.h | 45 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) = 0;
|