Home
last modified time | relevance | path

Searched refs:EncodedImage (Results 1 – 25 of 157) sorted by relevance

1234567

/external/webrtc/modules/video_coding/
Dencoded_frame.h24 class RTC_EXPORT VCMEncodedFrame : protected EncodedImage {
44 const webrtc::EncodedImage& EncodedImage() const { in EncodedImage() function
45 return static_cast<const webrtc::EncodedImage&>(*this); in EncodedImage()
48 using EncodedImage::ColorSpace;
49 using EncodedImage::data;
50 using EncodedImage::GetEncodedData;
51 using EncodedImage::NtpTimeMs;
52 using EncodedImage::PacketInfos;
53 using EncodedImage::Retain;
54 using EncodedImage::set_size;
[all …]
/external/webrtc/api/video/
Dencoded_image.cc64 EncodedImage::EncodedImage() : EncodedImage(nullptr, 0, 0) {} in EncodedImage() function in webrtc::EncodedImage
66 EncodedImage::EncodedImage(EncodedImage&&) = default;
67 EncodedImage::EncodedImage(const EncodedImage&) = default;
69 EncodedImage::EncodedImage(uint8_t* buffer, size_t size, size_t capacity) in EncodedImage() function in webrtc::EncodedImage
72 EncodedImage::~EncodedImage() = default;
74 EncodedImage& EncodedImage::operator=(EncodedImage&&) = default;
75 EncodedImage& EncodedImage::operator=(const EncodedImage&) = default;
77 void EncodedImage::Retain() { in Retain()
84 void EncodedImage::SetEncodeTime(int64_t encode_start_ms, in SetEncodeTime()
90 absl::optional<size_t> EncodedImage::SpatialLayerFrameSize( in SpatialLayerFrameSize()
[all …]
Dencoded_image.h72 class RTC_EXPORT EncodedImage {
74 EncodedImage();
75 EncodedImage(EncodedImage&&);
77 EncodedImage(const EncodedImage&);
78 EncodedImage(uint8_t* buffer, size_t length, size_t capacity);
80 ~EncodedImage();
82 EncodedImage& operator=(EncodedImage&&);
84 EncodedImage& operator=(const EncodedImage&);
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_encoded_image_data_injector_unittest.cc38 EncodedImage source(buffer.data(), 10, 10); in TEST()
56 EncodedImage source(buffer.data(), 10, 10); in TEST()
74 EncodedImage source1(buffer1.data(), 10, 10); in TEST()
77 EncodedImage source2(buffer2.data(), 10, 10); in TEST()
80 EncodedImage source3(buffer3.data(), 10, 10); in TEST()
83 EncodedImage intermediate1 = injector.InjectData(510, false, source1, 1); in TEST()
84 EncodedImage intermediate2 = injector.InjectData(520, true, source2, 1); in TEST()
85 EncodedImage intermediate3 = injector.InjectData(520, false, source3, 1); in TEST()
116 EncodedImage source1(buffer1.data(), 10, 10); in TEST()
118 EncodedImage source2(buffer2.data(), 10, 10); in TEST()
[all …]
Dsingle_process_encoded_image_data_injector_unittest.cc38 EncodedImage source(buffer.data(), 10, 10); in TEST()
58 EncodedImage source(buffer.data(), 10, 10); in TEST()
75 EncodedImage source(buffer.data(), 10, 10); in TEST()
78 EncodedImage intermediate = injector.InjectData(512, false, source, 1); in TEST()
100 EncodedImage source(buffer.data(), 10, 10); in TEST()
103 EncodedImage intermediate = injector.InjectData(512, false, source, 1); in TEST()
131 EncodedImage source1(buffer1.data(), 10, 10); in TEST()
134 EncodedImage source2(buffer2.data(), 10, 10); in TEST()
137 EncodedImage source3(buffer3.data(), 10, 10); in TEST()
140 EncodedImage intermediate1 = injector.InjectData(510, false, source1, 1); in TEST()
[all …]
Dencoded_image_data_injector.h31 virtual EncodedImage InjectData(uint16_t id,
33 const EncodedImage& source,
39 EncodedImage image;
53 virtual EncodedImageExtractionResult ExtractData(const EncodedImage& source,
Ddefault_encoded_image_data_injector.h62 EncodedImage InjectData(uint16_t id,
64 const EncodedImage& source,
66 EncodedImageExtractionResult ExtractData(const EncodedImage& source,
Ddefault_encoded_image_data_injector.cc39 EncodedImage DefaultEncodedImageDataInjector::InjectData( in InjectData()
42 const EncodedImage& source, in InjectData()
44 EncodedImage out = source; in InjectData()
64 const EncodedImage& source, in ExtractData()
66 EncodedImage out = source; in ExtractData()
Dsingle_process_encoded_image_data_injector.h49 EncodedImage InjectData(uint16_t id,
51 const EncodedImage& source,
53 EncodedImageExtractionResult ExtractData(const EncodedImage& source,
Dsingle_process_encoded_image_data_injector.cc28 EncodedImage SingleProcessEncodedImageDataInjector::InjectData( in InjectData()
31 const EncodedImage& source, in InjectData()
48 EncodedImage out = source; in InjectData()
56 const EncodedImage& source, in ExtractData()
58 EncodedImage out = source; in ExtractData()
/external/webrtc/api/video_codecs/test/
Dvideo_decoder_software_fallback_wrapper_unittest.cc49 int32_t Decode(const EncodedImage& input_image, in Decode()
88 EncodedImage encoded_image; in TEST_F()
103 EncodedImage encoded_image; in TEST_F()
120 EncodedImage encoded_image; in TEST_F()
138 EncodedImage encoded_image; in TEST_F()
153 EncodedImage encoded_image; in TEST_F()
174 EncodedImage encoded_image; in TEST_F()
212 EncodedImage encoded_image; in TEST_F()
226 EncodedImage encoded_image; in TEST_F()
250 EncodedImage encoded_image; in TEST_F()
[all …]
/external/webrtc/video/
Dframe_encode_metadata_writer_unittest.cc42 Result OnEncodedImage(const EncodedImage& encoded_image, in OnEncodedImage()
60 bool IsTimingFrame(const EncodedImage& image) { in IsTimingFrame()
105 EncodedImage image; in GetTimingFrames()
199 EncodedImage image; in TEST()
227 image.timing_ = EncodedImage::Timing(); in TEST()
239 EncodedImage image; in TEST()
264 image.timing_ = EncodedImage::Timing(); in TEST()
291 EncodedImage image; in TEST()
309 image.timing_ = EncodedImage::Timing(); in TEST()
319 image.timing_ = EncodedImage::Timing(); in TEST()
[all …]
Dframe_encode_metadata_writer.h38 void FillTimingInfo(size_t simulcast_svc_idx, EncodedImage* encoded_image);
43 EncodedImage* encoded_image);
54 EncodedImage* encoded_image) RTC_EXCLUSIVE_LOCKS_REQUIRED(lock_);
/external/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.h93 const webrtc::EncodedImage& encoded_image, in OnEncodedImage()
113 const webrtc::EncodedImage& encoded_image, in EncodeCallbackTask()
128 webrtc::EncodedImage encoded_image_;
169 void FrameEncoded(const webrtc::EncodedImage& encoded_image,
175 void DecodeFrame(const EncodedImage& encoded_image, size_t simulcast_svc_idx);
179 const webrtc::EncodedImage* BuildAndStoreSuperframe(
180 const EncodedImage& encoded_image,
221 std::vector<EncodedImage> merged_encoded_frames_
Dvideo_codec_unittest.h44 Result OnEncodedImage(const EncodedImage& frame,
83 bool WaitForEncodedFrame(EncodedImage* frame,
91 std::vector<EncodedImage>* frames,
113 std::vector<EncodedImage> encoded_frames_
/external/webrtc/sdk/android/api/org/webrtc/
DEncodedImage.java21 public class EncodedImage implements RefCounted { class
72 private EncodedImage(ByteBuffer buffer, @Nullable Runnable releaseCallback, int encodedWidth, in EncodedImage() method in EncodedImage
137 private EncodedImage.FrameType frameType;
171 public Builder setFrameType(EncodedImage.FrameType frameType) { in setFrameType()
191 public EncodedImage createEncodedImage() { in createEncodedImage()
192 return new EncodedImage(buffer, releaseCallback, encodedWidth, encodedHeight, captureTimeNs, in createEncodedImage()
DVideoEncoder.java14 import org.webrtc.EncodedImage;
71 public final EncodedImage.FrameType[] frameTypes;
74 public EncodeInfo(EncodedImage.FrameType[] frameTypes) { in EncodeInfo()
248 void onEncodedFrame(EncodedImage frame, CodecSpecificInfo info); in onEncodedFrame()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DHardwareVideoEncoderTest.java85 private BlockingQueue<EncodedImage> frameQueue = new LinkedBlockingQueue<>();
88 public void onEncodedFrame(EncodedImage frame, VideoEncoder.CodecSpecificInfo info) { in onEncodedFrame()
97 frameQueue.offer(EncodedImage.builder() in onEncodedFrame()
109 public EncodedImage poll() { in poll()
111 EncodedImage image = frameQueue.poll(ENCODE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in poll()
121 final EncodedImage image = poll(); in assertFrameEncoded()
392 new EncodedImage.FrameType[] {EncodedImage.FrameType.VideoFrameDelta}); in testEncode()
413 new EncodedImage.FrameType[] {EncodedImage.FrameType.VideoFrameDelta}); in testEncodeAltenatingBuffers()
438 new EncodedImage.FrameType[] {EncodedImage.FrameType.VideoFrameDelta}); in testEncodeDifferentSizes()
/external/webrtc/sdk/android/src/jni/
Dencoded_image.h23 class EncodedImage; variable
30 const EncodedImage& image);
35 EncodedImage JavaToNativeEncodedImage(JNIEnv* env,
/external/webrtc/sdk/objc/unittests/
DRTCEncodedImage_xctest.mm22 webrtc::EncodedImage encoded_image;
36 webrtc::EncodedImage result_encoded_image = [encodedImage nativeEncodedImage];
45 webrtc::EncodedImage encoded_image;
50 webrtc::EncodedImage result_encoded_image = [encodedImage nativeEncodedImage];
/external/webrtc/modules/video_coding/utility/
Dsimulcast_test_fixture_impl.cc77 Result OnEncodedImage(const EncodedImage& encoded_image, in OnEncodedImage()
121 void GetLastEncodedKeyFrame(EncodedImage* encoded_key_frame) { in GetLastEncodedKeyFrame()
124 void GetLastEncodedFrame(EncodedImage* encoded_frame) { in GetLastEncodedFrame()
129 EncodedImage encoded_key_frame_;
130 EncodedImage encoded_frame_;
354 AllOf(Field(&EncodedImage::_frameType, frame_type), in ExpectStreams()
355 Field(&EncodedImage::_encodedWidth, kDefaultWidth / 4), in ExpectStreams()
356 Field(&EncodedImage::_encodedHeight, kDefaultHeight / 4)), in ExpectStreams()
366 AllOf(Field(&EncodedImage::_frameType, frame_type), in ExpectStreams()
367 Field(&EncodedImage::_encodedWidth, kDefaultWidth / 2), in ExpectStreams()
[all …]
/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_encoded_image_packer.h86 EncodedImage encoded_image;
112 static EncodedImage PackAndRelease(const MultiplexImage& image);
115 static MultiplexImage Unpack(const EncodedImage& combined_image);
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc100 EncodedImage encoded_frame; in TEST_F()
125 EncodedImage encoded_frame; in TEST_F()
143 EncodedImage encoded_frame; in TEST_F()
293 std::vector<EncodedImage> encoded_frame; in TEST_F()
311 std::vector<EncodedImage> encoded_frame; in TEST_F()
355 std::vector<EncodedImage> encoded_frame; in TEST_F()
376 std::vector<EncodedImage> encoded_frame; in TEST_F()
400 std::vector<EncodedImage> encoded_frame; in TEST_F()
412 std::vector<EncodedImage> encoded_frame; in TEST_F()
432 std::vector<EncodedImage> encoded_frame; in TEST_F()
[all …]
/external/webrtc/call/
Drtp_payload_params_unittest.cc56 EncodedImage encoded_image; in TEST()
97 EncodedImage encoded_image; in TEST()
156 EncodedImage encoded_image; in TEST()
178 EncodedImage encoded_image; in TEST()
200 EncodedImage encoded_image; in TEST()
235 EncodedImage encoded_image; in TEST()
281 EncodedImage encoded_image; in TEST()
307 EncodedImage encoded_image; in TEST()
330 EncodedImage encoded_image; in TEST()
386 EncodedImage encoded_image; in ConvertAndCheck()
[all …]
/external/webrtc/sdk/objc/api/peerconnection/
DRTCEncodedImage+Private.h21 - (instancetype)initWithNativeEncodedImage : (const webrtc::EncodedImage &)encodedImage;
22 - (webrtc::EncodedImage)nativeEncodedImage;

1234567