Home
last modified time | relevance | path

Searched refs:encoded_frame_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc35 : encoded_frame_(frame), encode_complete_(false) {} in Vp8UnitTestEncodeCompleteCallback()
37 virtual int Encoded(const EncodedImage& encoded_frame_,
43 EncodedImage* const encoded_frame_; member in webrtc::Vp8UnitTestEncodeCompleteCallback
52 if (encoded_frame_->_size < encoded_frame._length) { in Encoded()
53 delete[] encoded_frame_->_buffer; in Encoded()
55 encoded_frame_->_buffer = frame_buffer_.get(); 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()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h63 delete[] encoded_frame_._buffer; in ~Vp8TestEncodedImageCallback()
81 delete[] encoded_frame_._buffer; in Encoded()
82 encoded_frame_._buffer = new uint8_t[encoded_image._size]; in Encoded()
83 encoded_frame_._size = encoded_image._size; in Encoded()
84 encoded_frame_._length = encoded_image._length; in Encoded()
85 memcpy(encoded_frame_._buffer, encoded_image._buffer, in Encoded()
108 *encoded_frame = encoded_frame_; in GetLastEncodedFrame()
113 EncodedImage encoded_frame_; variable