Lines Matching refs:encodedImage

76 - (instancetype)initWithNativeEncodedImage:(const webrtc::EncodedImage &)encodedImage {
80 self.encodedData = encodedImage.GetEncodedData();
83 length:encodedImage.size()
85 self.encodedWidth = rtc::dchecked_cast<int32_t>(encodedImage._encodedWidth);
86 self.encodedHeight = rtc::dchecked_cast<int32_t>(encodedImage._encodedHeight);
87 self.timeStamp = encodedImage.Timestamp();
88 self.captureTimeMs = encodedImage.capture_time_ms_;
89 self.ntpTimeMs = encodedImage.ntp_time_ms_;
90 self.flags = encodedImage.timing_.flags;
91 self.encodeStartMs = encodedImage.timing_.encode_start_ms;
92 self.encodeFinishMs = encodedImage.timing_.encode_finish_ms;
93 self.frameType = static_cast<RTCFrameType>(encodedImage._frameType);
94 self.rotation = static_cast<RTCVideoRotation>(encodedImage.rotation_);
95 self.completeFrame = encodedImage._completeFrame;
96 self.qp = @(encodedImage.qp_);
97 self.contentType = (encodedImage.content_type_ == webrtc::VideoContentType::SCREENSHARE) ?
107 webrtc::EncodedImage encodedImage;
109 encodedImage.SetEncodedData(self.encodedData);
111 encodedImage.SetEncodedData(ObjCEncodedImageBuffer::Create(self.buffer));
113 encodedImage.set_size(self.buffer.length);
114 encodedImage._encodedWidth = rtc::dchecked_cast<uint32_t>(self.encodedWidth);
115 encodedImage._encodedHeight = rtc::dchecked_cast<uint32_t>(self.encodedHeight);
116 encodedImage.SetTimestamp(self.timeStamp);
117 encodedImage.capture_time_ms_ = self.captureTimeMs;
118 encodedImage.ntp_time_ms_ = self.ntpTimeMs;
119 encodedImage.timing_.flags = self.flags;
120 encodedImage.timing_.encode_start_ms = self.encodeStartMs;
121 encodedImage.timing_.encode_finish_ms = self.encodeFinishMs;
122 encodedImage._frameType = webrtc::VideoFrameType(self.frameType);
123 encodedImage.rotation_ = webrtc::VideoRotation(self.rotation);
124 encodedImage._completeFrame = self.completeFrame;
125 encodedImage.qp_ = self.qp ? self.qp.intValue : -1;
126 encodedImage.content_type_ = (self.contentType == RTCVideoContentTypeScreenshare) ?
130 return encodedImage;