Home
last modified time | relevance | path

Searched refs:kYPlane (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc249 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 …]
Dscaler.cc72 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/
Dvideo_frame.cc37 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()
Di420_video_frame_unittest.cc59 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 …]
Dvideo_frame_buffer.cc65 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()
Di420_buffer_pool_unittest.cc24 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/
Dvideo_capture_input_unittest.cc83 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()
Dvideo_encoder_unittest.cc110 memset(frame_.buffer(webrtc::kYPlane), 16, in EncodeFrame()
111 frame_.allocated_size(webrtc::kYPlane)); in EncodeFrame()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe.cc36 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/
Dsimulcast_unittest.h124 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 …]
Dsimulcast_encoder_adapter.cc294 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/
Dvideo_denoiser.cc63 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()
Dvideo_processing_impl.cc54 const uint8_t* buffer = frame.buffer(kYPlane); in GetFrameStats()
101 uint8_t* temp_ptr = frame->buffer(kYPlane); in Brighten()
Ddeflickering.cc133 memcpy(y_sorted + sort_row_idx * width, frame->buffer(kYPlane) + i * width, in ProcessFrame()
230 uint8_t* buffer = frame->buffer(kYPlane); in ProcessFrame()
Dbrightness_detection.cc64 const uint8_t* buffer = frame.buffer(kYPlane); in ProcessFrame()
/external/webrtc/webrtc/test/
Dframe_generator.cc42 memset(frame_.buffer(kYPlane), 0x80, frame_.allocated_size(kYPlane)); in NextFrame()
203 int offset_y = (current_source_frame_->stride(PlaneType::kYPlane) * in CropSourceToScrolledImage()
214 &current_source_frame_->buffer(PlaneType::kYPlane)[offset_y], in CropSourceToScrolledImage()
218 current_source_frame_->stride(PlaneType::kYPlane), in CropSourceToScrolledImage()
Dframe_generator_unittest.cc62 ASSERT_EQ(y_size, frame->allocated_size(PlaneType::kYPlane)); in CheckFrameAndMutate()
63 buffer = frame->buffer(PlaneType::kYPlane); in CheckFrameAndMutate()
Dfake_texture_frame.h45 memset(buffer->MutableData(kYPlane), 0, height_ * width_); in NativeToI420Buffer()
/external/webrtc/webrtc/modules/video_processing/test/
Dbrightness_detection_test.cc59 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/
Dh264_video_toolbox_decoder.cc67 buffer->MutableData(webrtc::kYPlane), buffer->stride(webrtc::kYPlane), in VideoFrameBufferForPixelBuffer()
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidvideocapturer_jni.cc166 buffer->MutableData(webrtc::kYPlane), buffer->stride(webrtc::kYPlane), in OnMemoryBufferFrame()
Dandroidmediadecoder_jni.cc701 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/
Dvideo_render_opengles20.cc381 GlTexSubImage2D(width, height, frameToRender.stride(kYPlane), in UpdateTextures()
382 frameToRender.buffer(kYPlane)); in UpdateTextures()
/external/webrtc/webrtc/common_video/include/
Dvideo_frame_buffer.h23 kYPlane = 0, enumerator
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc68 (frame1.stride(webrtc::kYPlane) == frame2.stride(webrtc::kYPlane)) && in CompareFrames()
457 memset(test_frame_.buffer(webrtc::kYPlane), 127, kTestWidth * kTestHeight); in SetUp()

12