Home
last modified time | relevance | path

Searched refs:encoded_image (Results 1 – 25 of 29) sorted by relevance

12

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

12