Home
last modified time | relevance | path

Searched refs:i420_buffer (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/sdk/android/src/jni/
Dwrapped_native_i420_buffer.cc22 const rtc::scoped_refptr<I420BufferInterface>& i420_buffer) { in WrapI420Buffer() argument
24 NewDirectByteBuffer(jni, const_cast<uint8_t*>(i420_buffer->DataY()), in WrapI420Buffer()
25 i420_buffer->StrideY() * i420_buffer->height()); in WrapI420Buffer()
27 NewDirectByteBuffer(jni, const_cast<uint8_t*>(i420_buffer->DataU()), in WrapI420Buffer()
28 i420_buffer->StrideU() * i420_buffer->ChromaHeight()); in WrapI420Buffer()
30 NewDirectByteBuffer(jni, const_cast<uint8_t*>(i420_buffer->DataV()), in WrapI420Buffer()
31 i420_buffer->StrideV() * i420_buffer->ChromaHeight()); in WrapI420Buffer()
34 jni, i420_buffer->width(), i420_buffer->height(), y_buffer, in WrapI420Buffer()
35 i420_buffer->StrideY(), u_buffer, i420_buffer->StrideU(), v_buffer, in WrapI420Buffer()
36 i420_buffer->StrideV(), jlongFromPointer(i420_buffer.get())); in WrapI420Buffer()
Dwrapped_native_i420_buffer.h26 const rtc::scoped_refptr<I420BufferInterface>& i420_buffer);
/external/webrtc/common_video/
Dvideo_frame_buffer.cc117 rtc::scoped_refptr<I420Buffer> i420_buffer = in ToI420() local
120 i420_buffer->MutableDataY(), i420_buffer->StrideY(), in ToI420()
121 i420_buffer->MutableDataU(), i420_buffer->StrideU(), in ToI420()
122 i420_buffer->MutableDataV(), i420_buffer->StrideV(), in ToI420()
124 return i420_buffer; in ToI420()
188 rtc::scoped_refptr<I420Buffer> i420_buffer = in ToI420() local
192 i420_buffer->MutableDataY(), i420_buffer->StrideY(), in ToI420()
193 i420_buffer->MutableDataU(), i420_buffer->StrideU(), in ToI420()
194 i420_buffer->MutableDataV(), i420_buffer->StrideV(), in ToI420()
199 return i420_buffer; in ToI420()
/external/webrtc/examples/unityplugin/
Dvideo_observer.cc27 rtc::scoped_refptr<webrtc::I420BufferInterface> i420_buffer = in OnFrame() local
29 OnI420FrameReady(i420_buffer->DataY(), i420_buffer->DataU(), in OnFrame()
30 i420_buffer->DataV(), nullptr, i420_buffer->StrideY(), in OnFrame()
31 i420_buffer->StrideU(), i420_buffer->StrideV(), 0, in OnFrame()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_decoder_impl.cc304 const webrtc::I420BufferInterface* i420_buffer = in Decode() local
310 RTC_DCHECK_LE(av_frame_->width, i420_buffer->width()); in Decode()
311 RTC_DCHECK_LE(av_frame_->height, i420_buffer->height()); in Decode()
312 RTC_DCHECK_GE(av_frame_->data[kYPlaneIndex], i420_buffer->DataY()); in Decode()
316 i420_buffer->DataY() + i420_buffer->StrideY() * i420_buffer->height()); in Decode()
317 RTC_DCHECK_GE(av_frame_->data[kUPlaneIndex], i420_buffer->DataU()); in Decode()
320 i420_buffer->DataU() + in Decode()
321 i420_buffer->StrideU() * i420_buffer->height() / 2); in Decode()
322 RTC_DCHECK_GE(av_frame_->data[kVPlaneIndex], i420_buffer->DataV()); in Decode()
325 i420_buffer->DataV() + in Decode()
[all …]
/external/webrtc/media/base/
Dfake_video_renderer.h92 rtc::scoped_refptr<const webrtc::I420BufferInterface> i420_buffer = in CheckFrameColorYuv() local
97 const uint8_t* y_plane = i420_buffer->DataY(); in CheckFrameColorYuv()
99 int32_t y_pitch = i420_buffer->StrideY(); in CheckFrameColorYuv()
110 int chroma_width = i420_buffer->ChromaWidth(); in CheckFrameColorYuv()
111 int chroma_height = i420_buffer->ChromaHeight(); in CheckFrameColorYuv()
112 const uint8_t* u_plane = i420_buffer->DataU(); in CheckFrameColorYuv()
113 const uint8_t* v_plane = i420_buffer->DataV(); in CheckFrameColorYuv()
116 int32_t u_pitch = i420_buffer->StrideU(); in CheckFrameColorYuv()
117 int32_t v_pitch = i420_buffer->StrideV(); in CheckFrameColorYuv()
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_color_aligner_unittest.cc72 const rtc::scoped_refptr<I420BufferInterface> i420_buffer = I420Buffer::Copy( in TEST_F() local
77 AdjustColors(color_matrix, i420_buffer); in TEST_F()
91 const rtc::scoped_refptr<I420BufferInterface> i420_buffer = I420Buffer::Copy( in TEST_F() local
96 AdjustColors(color_matrix, i420_buffer); in TEST_F()
110 const rtc::scoped_refptr<I420BufferInterface> i420_buffer = I420Buffer::Copy( in TEST_F() local
115 AdjustColors(color_matrix, i420_buffer); in TEST_F()
/external/webrtc/test/
Dframe_generator_unittest.cc72 rtc::scoped_refptr<I420BufferInterface> i420_buffer = in CheckFrameAndMutate() local
75 buffer = i420_buffer->DataY(); in CheckFrameAndMutate()
78 buffer = i420_buffer->DataU(); in CheckFrameAndMutate()
81 buffer = i420_buffer->DataV(); in CheckFrameAndMutate()
89 rtc::scoped_refptr<I420BufferInterface> i420_buffer = in Hash() local
91 const uint8_t* buffer = i420_buffer->DataY(); in Hash()
95 buffer = i420_buffer->DataU(); in Hash()
99 buffer = i420_buffer->DataV(); in Hash()
Dframe_generator.cc356 rtc::scoped_refptr<I420BufferInterface> i420_buffer = in CropSourceToScrolledImage() local
359 (i420_buffer->StrideY() * pixels_scrolled_y) + pixels_scrolled_x; in CropSourceToScrolledImage()
360 int offset_u = (i420_buffer->StrideU() * (pixels_scrolled_y / 2)) + in CropSourceToScrolledImage()
362 int offset_v = (i420_buffer->StrideV() * (pixels_scrolled_y / 2)) + in CropSourceToScrolledImage()
371 &i420_buffer->DataY()[offset_y], i420_buffer->StrideY(), in CropSourceToScrolledImage()
372 &i420_buffer->DataU()[offset_u], i420_buffer->StrideU(), in CropSourceToScrolledImage()
373 &i420_buffer->DataV()[offset_v], i420_buffer->StrideV(), in CropSourceToScrolledImage()
374 KeepRefUntilDone(i420_buffer)), in CropSourceToScrolledImage()
/external/webrtc/api/video/
Di010_buffer.cc159 rtc::scoped_refptr<I420Buffer> i420_buffer = in ToI420() local
163 i420_buffer->MutableDataY(), i420_buffer->StrideY(), in ToI420()
164 i420_buffer->MutableDataU(), i420_buffer->StrideU(), in ToI420()
165 i420_buffer->MutableDataV(), i420_buffer->StrideV(), in ToI420()
170 return i420_buffer; in ToI420()
DDEPS17 "i420_buffer\.h": [
DBUILD.gn91 "i420_buffer.cc",
92 "i420_buffer.h",
/external/webrtc/sdk/objc/native/src/
Dobjc_video_track_source.mm17 #include "api/video/i420_buffer.h"
107 rtc::scoped_refptr<I420Buffer> i420_buffer = I420Buffer::Create(adapted_width, adapted_height);
109 i420_buffer->CropAndScaleFrom(*buffer->ToI420(), crop_x, crop_y, crop_width, crop_height);
110 buffer = i420_buffer;
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_encoder.cc429 auto i420_buffer = prepped_input_frame.video_frame_buffer()->GetI420(); in Encode() local
431 const_cast<unsigned char*>(i420_buffer->DataY()); in Encode()
433 const_cast<unsigned char*>(i420_buffer->DataU()); in Encode()
435 const_cast<unsigned char*>(i420_buffer->DataV()); in Encode()
436 frame_for_encode_->stride[AOM_PLANE_Y] = i420_buffer->StrideY(); in Encode()
437 frame_for_encode_->stride[AOM_PLANE_U] = i420_buffer->StrideU(); in Encode()
438 frame_for_encode_->stride[AOM_PLANE_V] = i420_buffer->StrideV(); in Encode()
/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc169 rtc::scoped_refptr<I420BufferInterface> i420_buffer = in ConvertFromI420() local
172 i420_buffer->DataY(), i420_buffer->StrideY(), i420_buffer->DataU(), in ConvertFromI420()
173 i420_buffer->StrideU(), i420_buffer->DataV(), i420_buffer->StrideV(), in ConvertFromI420()
/external/webrtc/test/pc/e2e/analyzer/video/
Dvideo_quality_analyzer_injection_helper.cc187 rtc::scoped_refptr<I420BufferInterface> i420_buffer = in OnFrame() local
189 if (IsDummyFrameBuffer(i420_buffer)) { in OnFrame()
196 frame_copy.set_video_frame_buffer(I420Buffer::Copy(*i420_buffer)); in OnFrame()
/external/webrtc/sdk/objc/api/video_frame_buffer/
DRTCNativeMutableI420Buffer.mm15 #include "api/video/i420_buffer.h"
DRTCNativeI420Buffer.mm13 #include "api/video/i420_buffer.h"
/external/webrtc/modules/video_coding/utility/
Dsimulcast_test_fixture_impl.cc140 rtc::scoped_refptr<I420BufferInterface> i420_buffer = in Decoded() local
143 EXPECT_NEAR(kColorY, i420_buffer->DataY()[i], 1); in Decoded()
147 for (int i = 0; i < i420_buffer->ChromaWidth(); ++i) { in Decoded()
148 EXPECT_NEAR(kColorU, i420_buffer->DataU()[i], 4); in Decoded()
149 EXPECT_NEAR(kColorV, i420_buffer->DataV()[i], 4); in Decoded()
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc987 rtc::scoped_refptr<I420BufferInterface> i420_buffer; in Encode() local
992 i420_buffer = input_image.video_frame_buffer()->ToI420(); in Encode()
995 raw_->planes[VPX_PLANE_Y] = const_cast<uint8_t*>(i420_buffer->DataY()); in Encode()
996 raw_->planes[VPX_PLANE_U] = const_cast<uint8_t*>(i420_buffer->DataU()); in Encode()
997 raw_->planes[VPX_PLANE_V] = const_cast<uint8_t*>(i420_buffer->DataV()); in Encode()
998 raw_->stride[VPX_PLANE_Y] = i420_buffer->StrideY(); in Encode()
999 raw_->stride[VPX_PLANE_U] = i420_buffer->StrideU(); in Encode()
1000 raw_->stride[VPX_PLANE_V] = i420_buffer->StrideV(); in Encode()
/external/webrtc/video/
Dvideo_stream_encoder.cc1377 auto i420_buffer = video_frame.video_frame_buffer()->ToI420(); in EncodeVideoFrame() local
1378 if (!i420_buffer) { in EncodeVideoFrame()
1390 cropped_buffer->CropAndScaleFrom(*i420_buffer, crop_width_ / 2, in EncodeVideoFrame()
1399 cropped_buffer->ScaleFrom(*i420_buffer); in EncodeVideoFrame()
/external/webrtc/
DAndroid.bp2228 srcs: ["api/video/i420_buffer.cc"],
/external/webrtc/android_tools/
Dsorted_targets.txt39768 "//api/video/i420_buffer.cc": [
39769 "obj/api/video/video_frame_i420/i420_buffer.o"
39773 "//api/video/i420_buffer.cc",
39774 "//api/video/i420_buffer.h"