Home
last modified time | relevance | path

Searched refs:DataU (Results 1 – 25 of 43) sorted by relevance

12

/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_geometry_aligner_unittest.cc71 std::vector<uint8_t>(cropped_frame->DataU(), cropped_frame->DataU() + 4)); in TEST_F()
88 std::vector<uint8_t>(cropped_frame->DataU(), cropped_frame->DataU() + 4)); in TEST_F()
105 std::vector<uint8_t>(cropped_frame->DataU(), cropped_frame->DataU() + 4)); in TEST_F()
122 std::vector<uint8_t>(cropped_frame->DataU(), cropped_frame->DataU() + 4)); in TEST_F()
Dvideo_color_aligner_unittest.cc80 EXPECT_EQ(2 * 5 + 6 * 6 + 7 * 7 + 8, adjusted_buffer->DataU()[0]); in TEST_F()
99 EXPECT_EQ(255 - 6, adjusted_buffer->DataU()[0]); in TEST_F()
122 EXPECT_EQ(2 * 5 + 6 * 6 + 7 * 7 + 8, adjusted_buffer->DataU()[0]); in TEST_F()
Dvideo_quality_analysis.cc36 ref_buffer->DataY(), ref_buffer->StrideY(), ref_buffer->DataU(), in CalculateMetric()
38 test_buffer->DataY(), test_buffer->StrideY(), test_buffer->DataU(), in CalculateMetric()
/external/webrtc/api/video/
Di010_buffer.cc72 source.DataY(), source.StrideY(), source.DataU(), source.StrideU(), in Copy()
91 source.DataY(), source.StrideY(), source.DataU(), source.StrideU(), in Copy()
109 RTC_CHECK(src.DataU()); in Rotate()
150 src.DataU()[src_x + src.StrideU() * src_y]; in Rotate()
162 libyuv::I010ToI420(DataY(), StrideY(), DataU(), StrideU(), DataV(), StrideV(), in ToI420()
184 const uint16_t* I010Buffer::DataU() const { in DataU() function in webrtc::I010Buffer
205 return const_cast<uint16_t*>(DataU()); in MutableDataU()
231 src.DataU() + src.StrideU() * uv_offset_y + uv_offset_x; in CropAndScaleFrom()
268 picture.DataU(), picture.StrideU(), in PasteFrom()
Di420_buffer.cc80 source.DataU(), source.StrideU(), source.DataV(), in Copy()
108 RTC_CHECK(src.DataU()); in Rotate()
123 src.DataY(), src.StrideY(), src.DataU(), src.StrideU(), in Rotate()
148 const uint8_t* I420Buffer::DataU() const { in DataU() function in webrtc::I420Buffer
169 return const_cast<uint8_t*>(DataU()); in MutableDataU()
204 src.DataU() + src.StrideU() * uv_offset_y + uv_offset_x; in CropAndScaleFrom()
251 picture.DataU(), picture.StrideU(), in PasteFrom()
Dvideo_frame_buffer.h110 virtual const uint8_t* DataU() const = 0;
158 virtual const uint16_t* DataU() const = 0;
Di010_buffer.h48 const uint16_t* DataU() const override;
/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc81 if (PrintPlane(frame.DataU(), chroma_width, chroma_height, frame.StrideU(), in PrintVideoFrame()
113 input_frame->DataU(), input_frame->StrideU(), in ExtractBuffer()
172 i420_buffer->DataY(), i420_buffer->StrideY(), i420_buffer->DataU(), in ConvertFromI420()
197 yuv_buffer->StrideY(), yuv_buffer->DataU(), yuv_buffer->StrideU(), in ScaleI420ABuffer()
226 ref_buffer.DataU(), ref_buffer.StrideU(), test_buffer.DataU(), in I420SSE()
255 ref_buffer.DataU(), ref_buffer.StrideU(), test_buffer.DataU(), in I420APSNR()
295 ref_buffer.DataY(), ref_buffer.StrideY(), ref_buffer.DataU(), in I420PSNR()
297 test_buffer.DataY(), test_buffer.StrideY(), test_buffer.DataU(), in I420PSNR()
325 ref_buffer.DataY(), ref_buffer.StrideY(), ref_buffer.DataU(), in I420ASSIM()
327 test_buffer.DataY(), test_buffer.StrideY(), test_buffer.DataU(), in I420ASSIM()
[all …]
/external/webrtc/common_video/
Di420_buffer_pool_unittest.cc30 const uint8_t* u_ptr = buffer->DataU(); in TEST()
37 EXPECT_EQ(u_ptr, buffer->DataU()); in TEST()
52 const uint8_t* u_ptr = buffer->DataU(); in TEST()
60 EXPECT_EQ(u_ptr, buffer->DataU()); in TEST()
Dvideo_frame_buffer.cc52 const uint8_t* DataU() const override { return u_plane_; } in DataU() function in webrtc::__anone8bb240a0111::WrappedYuvBuffer
119 libyuv::I444ToI420(DataY(), StrideY(), DataU(), StrideU(), DataV(), StrideV(), in ToI420()
158 const uint16_t* DataU() const override { return u_plane_; } in DataU() function in webrtc::__anone8bb240a0111::WrappedYuv16BBuffer
191 libyuv::I010ToI420(DataY(), StrideY(), DataU(), StrideU(), DataV(), StrideV(), in ToI420()
Dvideo_frame_unittest.cc184 EXPECT_NEAR(frame.DataU()[x / 2 + (y / 2) * frame.StrideU()] / 256.0, in CheckCrop()
224 rotated.DataU()[(x / 2) + (y / 2) * rotated.StrideU()]); in CheckRotate()
233 ->DataU()[row / 2 * buf->GetI420()->StrideU() + col / 2]; in GetU()
236 ->DataU()[row / 2 * buf->GetI010()->StrideU() + col / 2]; in GetU()
329 EXPECT_EQ(yuv1->DataU(), yuv2->DataU()); in TEST()
/external/webrtc/examples/unityplugin/
Dvideo_observer.cc29 OnI420FrameReady(i420_buffer->DataY(), i420_buffer->DataU(), in OnFrame()
38 OnI420FrameReady(i420a_buffer->DataY(), i420a_buffer->DataU(), in OnFrame()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_decoder_impl.cc111 RTC_DCHECK_EQ(frame_buffer->DataU(), frame_buffer->DataY() + y_size); in AVGetBuffer2()
112 RTC_DCHECK_EQ(frame_buffer->DataV(), frame_buffer->DataU() + uv_size); in AVGetBuffer2()
317 RTC_DCHECK_GE(av_frame_->data[kUPlaneIndex], i420_buffer->DataU()); in Decode()
320 i420_buffer->DataU() + in Decode()
/external/webrtc/test/
Dframe_utils.cc65 EqualPlane(f1_i420->DataU(), f2_i420->DataU(), f1_i420->StrideU(), in FrameBufsEqual()
Dframe_generator_unittest.cc78 buffer = i420_buffer->DataU(); in CheckFrameAndMutate()
95 buffer = i420_buffer->DataU(); in Hash()
Dframe_generator.cc84 yuv_buffer->StrideY(), yuv_buffer->DataU(), yuv_buffer->StrideU(), in NextFrame()
130 uint8_t* pos_u = (const_cast<uint8_t*>(buffer->DataU()) + x_ / 2 + in Draw()
372 &i420_buffer->DataU()[offset_u], i420_buffer->StrideU(), in CropSourceToScrolledImage()
/external/webrtc/sdk/objc/unittests/
Dframe_buffer_helpers.mm84 i420Buffer->DataU(),
102 i420Buffer->DataU(),
114 i420Buffer->DataU(),
/external/webrtc/rtc_tools/
Dvideo_file_reader_unittest.cc70 EXPECT_EQ(cnt, frame->DataU()[i]); in TEST_F()
120 EXPECT_EQ(cnt, frame->DataU()[i]); in TEST_F()
Dvideo_file_writer_unittest.cc131 EXPECT_EQ(cnt, frame->DataU()[i]); in TEST_F()
144 EXPECT_EQ(cnt, frame->DataU()[i]); in TEST_F()
/external/webrtc/sdk/objc/api/video_frame_buffer/
DRTCNativeI420Buffer.mm95 return _i420Buffer->DataU();
122 _i420Buffer->DataU(),
/external/webrtc/test/testsupport/
Dvideo_frame_writer_unittest.cc80 ASSERT_EQ(actual->DataU()[x + y * chroma_width], in AssertI420BuffersEq()
81 expected->DataU()[x + y * chroma_width]); in AssertI420BuffersEq()
Dyuv_frame_reader_unittest.cc76 EXPECT_EQ(kInputFileContents[4], buffer->DataU()[0]); in TEST_F()
Dy4m_frame_reader_unittest.cc83 EXPECT_EQ(kInputVideoContents[4], buffer->DataU()[0]); in TEST_F()
/external/webrtc/sdk/android/src/jni/
Dwrapped_native_i420_buffer.cc27 NewDirectByteBuffer(jni, const_cast<uint8_t*>(i420_buffer->DataU()), in WrapI420Buffer()
/external/webrtc/test/pc/e2e/analyzer/video/
Dsimulcast_dummy_buffer_helper.cc49 if (memcmp(buffer->DataU(), kIrrelatedSimulcastStreamFrameData + 4, 1) != 0) { in IsDummyFrameBuffer()

12