Home
last modified time | relevance | path

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

12

/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_geometry_aligner_unittest.cc67 std::vector<uint8_t>(cropped_frame->DataY(), in TEST_F()
68 cropped_frame->DataY() + 16)); in TEST_F()
84 std::vector<uint8_t>(cropped_frame->DataY(), in TEST_F()
85 cropped_frame->DataY() + 16)); in TEST_F()
101 std::vector<uint8_t>(cropped_frame->DataY(), in TEST_F()
102 cropped_frame->DataY() + 16)); in TEST_F()
118 std::vector<uint8_t>(cropped_frame->DataY(), in TEST_F()
119 cropped_frame->DataY() + 16)); in TEST_F()
Dvideo_color_aligner_unittest.cc79 EXPECT_EQ(2 * 1 + 6 * 2 + 7 * 3 + 4, adjusted_buffer->DataY()[0]); in TEST_F()
98 EXPECT_EQ(255 - 2, adjusted_buffer->DataY()[0]); in TEST_F()
117 EXPECT_EQ(0 * 1 + 6 * 2 + 7 * 3 + 4, adjusted_buffer->DataY()[0]); in TEST_F()
118 EXPECT_EQ(1 * 1 + 6 * 2 + 7 * 3 + 4, adjusted_buffer->DataY()[1]); in TEST_F()
119 EXPECT_EQ(3 * 1 + 6 * 2 + 7 * 3 + 4, adjusted_buffer->DataY()[2]); in TEST_F()
120 EXPECT_EQ(4 * 1 + 6 * 2 + 7 * 3 + 4, adjusted_buffer->DataY()[3]); 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()
Dvideo_color_aligner.cc100 libyuv::ScalePlane(frame->DataY(), frame->StrideY(), frame->width(), in FlattenYuvData()
194 libyuv::ScalePlane(frame->DataY(), frame->StrideY(), frame->width(), in AdjustColors()
202 rtc::ArrayView<const uint8_t> y_row(frame->DataY() + frame->StrideY() * y, in AdjustColors()
/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()
108 RTC_CHECK(src.DataY()); in Rotate()
144 src.DataY()[x + src.StrideY() * y]; in Rotate()
162 libyuv::I010ToI420(DataY(), StrideY(), DataU(), StrideU(), DataV(), StrideV(), in ToI420()
181 const uint16_t* I010Buffer::DataY() const { in DataY() function in webrtc::I010Buffer
202 return const_cast<uint16_t*>(DataY()); in MutableDataY()
229 const uint16_t* y_plane = src.DataY() + src.StrideY() * offset_y + offset_x; in CropAndScaleFrom()
263 libyuv::CopyPlane_16(picture.DataY(), picture.StrideY(), in PasteFrom()
Di420_buffer.cc79 return Copy(source.width(), source.height(), source.DataY(), source.StrideY(), in Copy()
107 RTC_CHECK(src.DataY()); in Rotate()
123 src.DataY(), src.StrideY(), src.DataU(), src.StrideU(), in Rotate()
145 const uint8_t* I420Buffer::DataY() const { in DataY() function in webrtc::I420Buffer
166 return const_cast<uint8_t*>(DataY()); in MutableDataY()
202 const uint8_t* y_plane = src.DataY() + src.StrideY() * offset_y + offset_x; in CropAndScaleFrom()
246 libyuv::CopyPlane(picture.DataY(), picture.StrideY(), in PasteFrom()
Dvideo_frame_buffer.h109 virtual const uint8_t* DataY() const = 0;
157 virtual const uint16_t* DataY() const = 0;
/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc78 if (PrintPlane(frame.DataY(), width, height, frame.StrideY(), file) < 0) { in PrintVideoFrame()
112 libyuv::I420Copy(input_frame->DataY(), input_frame->StrideY(), in ExtractBuffer()
172 i420_buffer->DataY(), i420_buffer->StrideY(), i420_buffer->DataU(), in ConvertFromI420()
196 yuv_buffer->width(), yuv_buffer->height(), yuv_buffer->DataY(), in ScaleI420ABuffer()
198 yuv_buffer->DataV(), yuv_buffer->StrideV(), axx_buffer->DataY(), in ScaleI420ABuffer()
221 ref_buffer.DataY(), ref_buffer.StrideY(), test_buffer.DataY(), in I420SSE()
250 ref_buffer.DataY(), ref_buffer.StrideY(), test_buffer.DataY(), 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()
[all …]
/external/webrtc/test/testsupport/
Dyuv_frame_reader_unittest.cc72 EXPECT_EQ(kInputFileContents[0], buffer->DataY()[0]); in TEST_F()
73 EXPECT_EQ(kInputFileContents[1], buffer->DataY()[1]); in TEST_F()
74 EXPECT_EQ(kInputFileContents[2], buffer->DataY()[2]); in TEST_F()
75 EXPECT_EQ(kInputFileContents[3], buffer->DataY()[3]); in TEST_F()
Dy4m_frame_reader_unittest.cc79 EXPECT_EQ(kInputVideoContents[0], buffer->DataY()[0]); in TEST_F()
80 EXPECT_EQ(kInputVideoContents[1], buffer->DataY()[1]); in TEST_F()
81 EXPECT_EQ(kInputVideoContents[2], buffer->DataY()[2]); in TEST_F()
82 EXPECT_EQ(kInputVideoContents[3], buffer->DataY()[3]); in TEST_F()
Dvideo_frame_writer_unittest.cc69 ASSERT_EQ(actual->DataY()[x + y * width], in AssertI420BuffersEq()
70 expected->DataY()[x + y * width]); in AssertI420BuffersEq()
/external/webrtc/common_video/
Di420_buffer_pool_unittest.cc29 const uint8_t* y_ptr = buffer->DataY(); in TEST()
36 EXPECT_EQ(y_ptr, buffer->DataY()); in TEST()
51 const uint8_t* y_ptr = buffer->DataY(); in TEST()
59 EXPECT_EQ(y_ptr, buffer->DataY()); in TEST()
Dvideo_frame_buffer.cc50 const uint8_t* DataY() const override { return y_plane_; } in DataY() function in webrtc::__anone8bb240a0111::WrappedYuvBuffer
119 libyuv::I444ToI420(DataY(), StrideY(), DataU(), StrideU(), DataV(), StrideV(), in ToI420()
156 const uint16_t* DataY() const override { return y_plane_; } in DataY() function in webrtc::__anone8bb240a0111::WrappedYuv16BBuffer
191 libyuv::I010ToI420(DataY(), StrideY(), DataU(), StrideU(), DataV(), StrideV(), in ToI420()
Dvideo_frame_unittest.cc182 EXPECT_NEAR(frame.DataY()[x + y * frame.StrideY()] / 256.0, in CheckCrop()
222 EXPECT_EQ(colors[i].y, rotated.DataY()[x + y * rotated.StrideY()]); in CheckRotate()
252 return buf->GetI420()->DataY()[row * buf->GetI420()->StrideY() + col]; in GetY()
254 return buf->GetI010()->DataY()[row * buf->GetI010()->StrideY() + col]; in GetY()
328 EXPECT_EQ(yuv1->DataY(), yuv2->DataY()); in TEST()
/external/webrtc/test/pc/e2e/analyzer/video/
Dsimulcast_dummy_buffer_helper.cc42 if (memcmp(buffer->DataY(), kIrrelatedSimulcastStreamFrameData, 2) != 0) { in IsDummyFrameBuffer()
45 if (memcmp(buffer->DataY() + buffer->StrideY(), in IsDummyFrameBuffer()
/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/test/
Dframe_utils.cc63 return EqualPlane(f1_i420->DataY(), f2_i420->DataY(), f1_i420->StrideY(), in FrameBufsEqual()
Dframe_generator.cc83 yuv_buffer->width(), yuv_buffer->height(), yuv_buffer->DataY(), in NextFrame()
85 yuv_buffer->DataV(), yuv_buffer->StrideV(), axx_buffer->DataY(), in NextFrame()
125 (const_cast<uint8_t*>(buffer->DataY()) + x_ + y * buffer->StrideY()); in Draw()
371 &i420_buffer->DataY()[offset_y], i420_buffer->StrideY(), in CropSourceToScrolledImage()
Dframe_generator_unittest.cc75 buffer = i420_buffer->DataY(); in CheckFrameAndMutate()
91 const uint8_t* buffer = i420_buffer->DataY(); in Hash()
/external/webrtc/sdk/objc/unittests/
Dframe_buffer_helpers.mm82 libyuv::I420ToNV12(i420Buffer->DataY(),
100 libyuv::I420ToARGB(i420Buffer->DataY(),
112 libyuv::I420ToBGRA(i420Buffer->DataY(),
/external/webrtc/rtc_tools/
Dvideo_file_reader_unittest.cc68 EXPECT_EQ(cnt, frame->DataY()[i]); in TEST_F()
118 EXPECT_EQ(cnt, frame->DataY()[i]); in TEST_F()
Dvideo_file_writer_unittest.cc129 EXPECT_EQ(cnt, frame->DataY()[i]); in TEST_F()
142 EXPECT_EQ(cnt, frame->DataY()[i]); in TEST_F()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_decoder_impl.cc111 RTC_DCHECK_EQ(frame_buffer->DataU(), frame_buffer->DataY() + y_size); in AVGetBuffer2()
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()
/external/webrtc/sdk/objc/api/video_frame_buffer/
DRTCNativeI420Buffer.mm91 return _i420Buffer->DataY();
120 libyuv::I420ToARGB(_i420Buffer->DataY(),
/external/webrtc/sdk/android/src/jni/
Dwrapped_native_i420_buffer.cc24 NewDirectByteBuffer(jni, const_cast<uint8_t*>(i420_buffer->DataY()), in WrapI420Buffer()

12