Searched defs:encoded_image (Results 1 - 15 of 15) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/codecs/test/
H A Dpacket_manipulator.cc38 webrtc::EncodedImage* encoded_image) {
46 packet_reader_->InitializeReading(encoded_image->_buffer,
47 encoded_image->_length,
71 encoded_image->_length = new_length;
74 encoded_image->_completeFrame = false;
77 nbr_packets_dropped, encoded_image->_timeStamp,
78 encoded_image->_length);
37 ManipulatePackets( webrtc::EncodedImage* encoded_image) argument
H A Dvideoprocessor.cc228 void VideoProcessorImpl::FrameEncoded(const EncodedImage& encoded_image) { argument
231 encoded_image._timeStamp - prev_time_stamp_ - 1;
233 prev_time_stamp_ = encoded_image._timeStamp;
243 encoded_frame_size_ = encoded_image._length;
245 encoded_frame_type_ = encoded_image._frameType;
248 int frame_number = encoded_image._timeStamp;
253 stat.encoded_frame_length_in_bytes = encoded_image._length;
254 stat.frame_number = encoded_image._timeStamp;
255 stat.frame_type = encoded_image._frameType;
256 stat.bit_rate_in_kbps = encoded_image
[all...]
/external/webrtc/webrtc/video/
H A Dvideo_decoder_unittest.cc85 EncodedImage encoded_image; local
86 fallback_wrapper_.Decode(encoded_image, false, nullptr, nullptr, -1);
90 fallback_wrapper_.Decode(encoded_image, false, nullptr, nullptr, -1);
95 encoded_image._frameType = kVideoFrameKey;
97 fallback_wrapper_.Decode(encoded_image, false, nullptr, nullptr, -1);
101 encoded_image._frameType = kVideoFrameDelta;
102 fallback_wrapper_.Decode(encoded_image, false, nullptr, nullptr, -1);
111 EncodedImage encoded_image; local
114 fallback_wrapper_.Decode(encoded_image, false, nullptr, nullptr, -1));
117 fallback_wrapper_.Decode(encoded_image, fals
129 EncodedImage encoded_image; local
144 EncodedImage encoded_image; local
170 EncodedImage encoded_image; local
182 EncodedImage encoded_image; local
[all...]
H A Dreceive_statistics_proxy.cc196 const EncodedImage& encoded_image,
198 if (codec_specific_info == nullptr || encoded_image.qp_ == -1) {
202 qp_counters_.vp8.Add(encoded_image.qp_);
195 OnPreDecode( const EncodedImage& encoded_image, const CodecSpecificInfo* codec_specific_info) argument
H A Dsend_statistics_proxy_unittest.cc350 EncodedImage encoded_image; local
351 encoded_image._encodedWidth = kEncodedWidth;
352 encoded_image._encodedHeight = kEncodedHeight;
357 statistics_proxy_->OnSendEncodedImage(encoded_image, &rtp_video_header);
359 statistics_proxy_->OnSendEncodedImage(encoded_image, &rtp_video_header);
382 statistics_proxy_->OnSendEncodedImage(encoded_image, &rtp_video_header);
397 EncodedImage encoded_image; local
398 encoded_image._encodedWidth = kEncodedWidth;
399 encoded_image._encodedHeight = kEncodedHeight;
404 statistics_proxy_->OnSendEncodedImage(encoded_image,
[all...]
H A Dvideo_receive_stream.cc371 const EncodedImage& encoded_image,
374 stats_proxy_->OnPreDecode(encoded_image, codec_specific_info);
378 encoded_image, codec_specific_info, fragmentation);
370 Encoded( const EncodedImage& encoded_image, const CodecSpecificInfo* codec_specific_info, const RTPFragmentationHeader* fragmentation) argument
H A Dsend_statistics_proxy.cc250 const EncodedImage& encoded_image,
266 stats->width = encoded_image._encodedWidth;
267 stats->height = encoded_image._encodedHeight;
270 uma_container_->key_frame_counter_.Add(encoded_image._frameType ==
274 encoded_image.adapt_reason_.quality_resolution_downscales > 0 ||
275 encoded_image.adapt_reason_.bw_resolutions_disabled > 0;
277 if (encoded_image.adapt_reason_.quality_resolution_downscales != -1) {
279 encoded_image.adapt_reason_.quality_resolution_downscales > 0;
283 encoded_image.adapt_reason_.quality_resolution_downscales);
286 if (encoded_image
249 OnSendEncodedImage( const EncodedImage& encoded_image, const RTPVideoHeader* rtp_video_header) argument
[all...]
H A Dvie_encoder.cc454 const EncodedImage& encoded_image,
465 stats_proxy_->OnSendEncodedImage(encoded_image, rtp_video_hdr);
468 encoded_image._frameType, payload_type, encoded_image._timeStamp,
469 encoded_image.capture_time_ms_, encoded_image._buffer,
470 encoded_image._length, &fragmentation_header, rtp_video_hdr)
452 SendData( const uint8_t payload_type, const EncodedImage& encoded_image, const webrtc::RTPFragmentationHeader& fragmentation_header, const RTPVideoHeader* rtp_video_hdr) argument
/external/webrtc/webrtc/modules/video_coding/
H A Dmedia_optimization_unittest.cc38 EncodedImage encoded_image; local
39 encoded_image._length = bytes_per_frame;
40 encoded_image._timeStamp = next_timestamp_;
41 encoded_image._frameType = kVideoFrameKey;
42 ASSERT_EQ(VCM_OK, media_opt_.UpdateWithEncodedData(encoded_image));
H A Dvideo_coding_impl.cc57 virtual int32_t Encoded(const EncodedImage& encoded_image, argument
62 return callback_->Encoded(encoded_image, codec_specific_info,
H A Dgeneric_encoder.cc260 const EncodedImage& encoded_image,
264 "timestamp", encoded_image._timeStamp);
265 post_encode_callback_->Encoded(encoded_image, NULL, NULL);
273 fwrite(encoded_image._buffer, 1, encoded_image._length,
287 _payloadType, encoded_image, *fragmentationHeader, rtpVideoHeaderPtr);
293 _mediaOpt->UpdateWithEncodedData(encoded_image);
259 Encoded( const EncodedImage& encoded_image, const CodecSpecificInfo* codecSpecificInfo, const RTPFragmentationHeader* fragmentationHeader) argument
H A Dmedia_optimization.cc337 const EncodedImage& encoded_image) {
338 size_t encoded_length = encoded_image._length;
339 uint32_t timestamp = encoded_image._timeStamp;
357 const bool delta_frame = encoded_image._frameType != kVideoFrameKey;
336 UpdateWithEncodedData( const EncodedImage& encoded_image) argument
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
H A Dvp8_sequence_coder.cc28 int Encoded(const webrtc::EncodedImage& encoded_image,
32 webrtc::EncodedImage encoded_image() { return encoded_image_; } function in class:Vp8SequenceCoderEncodeCallback
46 const webrtc::EncodedImage& encoded_image,
49 if (encoded_image_._size < encoded_image._size) {
52 encoded_image_._buffer = new uint8_t[encoded_image._size];
53 encoded_image_._size = encoded_image._size;
55 memcpy(encoded_image_._buffer, encoded_image._buffer, encoded_image._size);
56 encoded_image_._length = encoded_image._length;
58 if (fwrite(encoded_image
45 Encoded( const webrtc::EncodedImage& encoded_image, const webrtc::CodecSpecificInfo* codecSpecificInfo, const webrtc::RTPFragmentationHeader* fragmentation) argument
[all...]
H A Dsimulcast_unittest.h66 virtual int32_t Encoded(const EncodedImage& encoded_image, argument
71 if (encoded_image._frameType == kVideoFrameKey) {
73 encoded_key_frame_._buffer = new uint8_t[encoded_image._size];
74 encoded_key_frame_._size = encoded_image._size;
75 encoded_key_frame_._length = encoded_image._length;
77 encoded_key_frame_._completeFrame = encoded_image._completeFrame;
78 memcpy(encoded_key_frame_._buffer, encoded_image._buffer,
79 encoded_image._length);
82 encoded_frame_._buffer = new uint8_t[encoded_image._size];
83 encoded_frame_._size = encoded_image
[all...]
/external/webrtc/webrtc/test/
H A Dfake_encoder.cc151 int32_t FakeH264Encoder::Encoded(const EncodedImage& encoded_image, argument
159 encoded_image._length > kSpsSize + kPpsSize + 1) {
168 encoded_image._length - (kSpsSize + kPpsSize);
172 encoded_image._buffer[fragmentation.fragmentationOffset[0]] = kSpsNalHeader;
173 encoded_image._buffer[fragmentation.fragmentationOffset[1]] = kPpsNalHeader;
174 encoded_image._buffer[fragmentation.fragmentationOffset[2]] = kIdrNalHeader;
179 fragmentation.fragmentationLength[0] = encoded_image._length;
181 encoded_image._buffer[fragmentation.fragmentationOffset[0]] = kNalHeader;
185 for (size_t i = 0; i < encoded_image._length; ++i) {
188 encoded_image
[all...]

Completed in 270 milliseconds