/external/webrtc/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 249 dst_frame->buffer(kYPlane), in ConvertToI420() 250 dst_frame->stride(kYPlane), in ConvertToI420() 266 return libyuv::ConvertFromI420(src_frame.buffer(kYPlane), in ConvertFromI420() 267 src_frame.stride(kYPlane), in ConvertFromI420() 283 return libyuv::ConvertFromI420(src_frame.buffer(kYPlane), in ConvertFromYV12() 284 src_frame.stride(kYPlane), in ConvertFromYV12() 304 double psnr = libyuv::I420Psnr(ref_frame->buffer(kYPlane), in I420PSNR() 305 ref_frame->stride(kYPlane), in I420PSNR() 310 test_frame->buffer(kYPlane), in I420PSNR() 311 test_frame->stride(kYPlane), in I420PSNR() [all …]
|
D | scaler.cc | 72 const uint8_t* y_ptr = src_frame.buffer(kYPlane) + in Scale() 73 src_offset_y * src_frame.stride(kYPlane) + in Scale() 83 src_frame.stride(kYPlane), in Scale() 89 dst_frame->buffer(kYPlane), in Scale() 90 dst_frame->stride(kYPlane), in Scale()
|
/external/webrtc/webrtc/common_video/ |
D | video_frame.cc | 37 if (type == kYPlane) in ExpectedSize() 81 height == video_frame_buffer_->height() && stride_y == stride(kYPlane) && in CreateEmptyFrame() 118 memcpy(buffer(kYPlane), buffer_y, expected_size_y); in CreateFrame() 145 CreateFrame(videoFrame.buffer(kYPlane), videoFrame.buffer(kUPlane), in CopyFrame() 147 videoFrame.height(), videoFrame.stride(kYPlane), in CopyFrame() 184 const int plane_height = (type == kYPlane) ? height() : (height() + 1) / 2; in allocated_size() 227 stride(kYPlane) != frame.stride(kYPlane) || in EqualsFrame() 237 return EqualPlane(buffer(kYPlane), frame.buffer(kYPlane), in EqualsFrame() 238 stride(kYPlane), width(), height()) && in EqualsFrame()
|
D | i420_video_frame_unittest.cc | 59 int stride_y = frame.stride(kYPlane); in TEST() 63 EXPECT_EQ(ExpectedSize(stride_y, height, kYPlane), in TEST() 64 frame.allocated_size(kYPlane)); in TEST() 110 memset(small_frame.buffer(kYPlane), 1, small_frame.allocated_size(kYPlane)); in TEST() 150 EXPECT_TRUE(const_frame1_ptr->buffer(kYPlane) == in TEST() 151 const_frame2_ptr->buffer(kYPlane)); in TEST() 207 EXPECT_TRUE(EqualPlane(buffer_y, frame2.buffer(kYPlane), stride_y, 15, 15)); in TEST() 212 EXPECT_LE(kSizeY, frame2.allocated_size(kYPlane)); in TEST() 220 const uint8_t* y = frame.buffer(kYPlane); in TEST() 224 EXPECT_EQ(y, frame.buffer(kYPlane)); in TEST() [all …]
|
D | video_frame_buffer.cc | 65 case kYPlane: in data() 86 case kYPlane: in stride() 172 case kYPlane: in data() 186 case kYPlane: in stride() 224 const uint8_t* y_plane = buffer->data(kYPlane) + in ShallowCenterCrop() 225 buffer->stride(kYPlane) * offset_y + offset_x; in ShallowCenterCrop() 232 y_plane, buffer->stride(kYPlane), in ShallowCenterCrop()
|
D | i420_buffer_pool_unittest.cc | 24 const uint8_t* y_ptr = buffer->data(kYPlane); in TEST() 31 EXPECT_EQ(y_ptr, buffer->data(kYPlane)); in TEST() 71 memset(buffer->MutableData(kYPlane), 0xA5, 16 * buffer->stride(kYPlane)); in TEST()
|
/external/webrtc/webrtc/video/ |
D | video_capture_input_unittest.cc | 83 output_frame_ybuffers_.push_back(frame.buffer(kYPlane)); in AddOutputFrame() 210 ybuffer_pointers.push_back(const_input_frame->buffer(kYPlane)); in TEST_F() 266 (frame1.stride(kYPlane) == frame2.stride(kYPlane)) && in EqualBufferFrames() 270 (frame1.allocated_size(kYPlane) == frame2.allocated_size(kYPlane)) && in EqualBufferFrames() 273 (memcmp(frame1.buffer(kYPlane), frame2.buffer(kYPlane), in EqualBufferFrames() 274 frame1.allocated_size(kYPlane)) == 0) && in EqualBufferFrames()
|
D | video_encoder_unittest.cc | 110 memset(frame_.buffer(webrtc::kYPlane), 16, in EncodeFrame() 111 frame_.allocated_size(webrtc::kYPlane)); in EncodeFrame()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoframe.cc | 36 using webrtc::kYPlane; 100 return video_frame_buffer_ ? video_frame_buffer_->data(kYPlane) : nullptr; in GetYPlane() 112 return video_frame_buffer_ ? video_frame_buffer_->MutableData(kYPlane) in GetYPlane() 127 return video_frame_buffer_ ? video_frame_buffer_->stride(kYPlane) : 0; in GetYPitch() 168 video_frame_buffer_->stride(kYPlane), in MakeExclusive() 173 new_buffer->MutableData(kYPlane), new_buffer->MutableData(kUPlane), in MakeExclusive() 174 new_buffer->MutableData(kVPlane), new_buffer->stride(kYPlane), in MakeExclusive()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | simulcast_unittest.h | 124 EXPECT_NEAR(kColorY, decoded_image.buffer(kYPlane)[i], 1); in Decoded() 234 (plane_num != kYPlane ? (frame->width() + 1) / 2 : frame->width()); in CreateImage() 236 (plane_num != kYPlane ? (frame->height() + 1) / 2 : frame->height()); in CreateImage() 313 memset(input_frame_.buffer(kYPlane), 0, in SetUpCodec() 314 input_frame_.allocated_size(kYPlane)); in SetUpCodec() 563 memset(input_frame_.buffer(kYPlane), 0, in SwitchingToOneStream() 564 input_frame_.allocated_size(kYPlane)); in SwitchingToOneStream() 604 memset(input_frame_.buffer(kYPlane), 0, in SwitchingToOneStream() 605 input_frame_.allocated_size(kYPlane)); in SwitchingToOneStream() 694 plane_offset[kYPlane] = kColorY; in TestRPSIEncodeDecode() [all …]
|
D | simulcast_encoder_adapter.cc | 294 input_image.buffer(kYPlane), input_image.stride(kYPlane), in Encode() 297 src_height, dst_frame.buffer(kYPlane), dst_frame.stride(kYPlane), in Encode()
|
/external/webrtc/webrtc/modules/video_processing/ |
D | video_denoiser.cc | 63 int stride_y = frame.stride(kYPlane); in DenoiseFrame() 71 denoised_frame->CreateFrame(frame.buffer(kYPlane), frame.buffer(kUPlane), in DenoiseFrame() 85 uint8_t* y_dst = denoised_frame->buffer(kYPlane); in DenoiseFrame() 88 const uint8_t* y_src = frame.buffer(kYPlane); in DenoiseFrame()
|
D | video_processing_impl.cc | 54 const uint8_t* buffer = frame.buffer(kYPlane); in GetFrameStats() 101 uint8_t* temp_ptr = frame->buffer(kYPlane); in Brighten()
|
D | deflickering.cc | 133 memcpy(y_sorted + sort_row_idx * width, frame->buffer(kYPlane) + i * width, in ProcessFrame() 230 uint8_t* buffer = frame->buffer(kYPlane); in ProcessFrame()
|
D | brightness_detection.cc | 64 const uint8_t* buffer = frame.buffer(kYPlane); in ProcessFrame()
|
/external/webrtc/webrtc/test/ |
D | frame_generator.cc | 42 memset(frame_.buffer(kYPlane), 0x80, frame_.allocated_size(kYPlane)); in NextFrame() 203 int offset_y = (current_source_frame_->stride(PlaneType::kYPlane) * in CropSourceToScrolledImage() 214 ¤t_source_frame_->buffer(PlaneType::kYPlane)[offset_y], in CropSourceToScrolledImage() 218 current_source_frame_->stride(PlaneType::kYPlane), in CropSourceToScrolledImage()
|
D | frame_generator_unittest.cc | 62 ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane)); in CheckFrameAndMutate() 63 buffer = frame->buffer(PlaneType::kYPlane); in CheckFrameAndMutate()
|
D | fake_texture_frame.h | 45 memset(buffer->MutableData(kYPlane), 0, height_ * width_); in NativeToI420Buffer()
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | brightness_detection_test.cc | 59 uint8_t* frame = video_frame_.buffer(kYPlane); in TEST_F() 96 uint8_t* y_plane = video_frame_.buffer(kYPlane); in TEST_F()
|
/external/webrtc/webrtc/modules/video_coding/codecs/h264/ |
D | h264_video_toolbox_decoder.cc | 67 buffer->MutableData(webrtc::kYPlane), buffer->stride(webrtc::kYPlane), in VideoFrameBufferForPixelBuffer()
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | androidvideocapturer_jni.cc | 166 buffer->MutableData(webrtc::kYPlane), buffer->stride(webrtc::kYPlane), in OnMemoryBufferFrame()
|
D | androidmediadecoder_jni.cc | 701 frame_buffer->MutableData(webrtc::kYPlane), in DeliverPendingOutputs() 702 frame_buffer->stride(webrtc::kYPlane), in DeliverPendingOutputs() 715 frame_buffer->MutableData(webrtc::kYPlane), in DeliverPendingOutputs() 716 frame_buffer->stride(webrtc::kYPlane), in DeliverPendingOutputs()
|
/external/webrtc/webrtc/modules/video_render/android/ |
D | video_render_opengles20.cc | 381 GlTexSubImage2D(width, height, frameToRender.stride(kYPlane), in UpdateTextures() 382 frameToRender.buffer(kYPlane)); in UpdateTextures()
|
/external/webrtc/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 68 (frame1.stride(webrtc::kYPlane) == frame2.stride(webrtc::kYPlane)) && in CompareFrames() 457 memset(test_frame_.buffer(webrtc::kYPlane), 127, kTestWidth * kTestHeight); in SetUp()
|
/external/webrtc/webrtc/common_video/include/ |
D | video_frame_buffer.h | 23 kYPlane = 0, enumerator
|