Home
last modified time | relevance | path

Searched refs:kVPlane (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc249 dst_frame->buffer(kVPlane), in ConvertToI420()
250 dst_frame->stride(kVPlane), in ConvertToI420()
265 src_frame.buffer(kVPlane), in ConvertFromI420()
266 src_frame.stride(kVPlane), in ConvertFromI420()
279 src_frame.buffer(kVPlane), in ConvertFromYV12()
280 src_frame.stride(kVPlane), in ConvertFromYV12()
298 src_frame->buffer(kVPlane), in MirrorI420LeftRight()
299 src_frame->stride(kVPlane), in MirrorI420LeftRight()
304 dst_frame->buffer(kVPlane), in MirrorI420LeftRight()
305 dst_frame->stride(kVPlane), in MirrorI420LeftRight()
[all …]
Dscaler.cc66 src_frame.buffer(kVPlane), in Scale()
67 src_frame.stride(kVPlane), in Scale()
73 dst_frame->buffer(kVPlane), in Scale()
74 dst_frame->stride(kVPlane), in Scale()
Dlibyuv_unittest.cc342 memset(test_frame.buffer(kVPlane), 255, half_width * half_height); in TEST_F()
351 plane_offset[kVPlane] = 200; in TEST_F()
372 EXPECT_EQ(0, memcmp(in_frame.buffer(kVPlane), in TEST_F()
373 test_in_frame.buffer(kVPlane), half_width * half_height)); in TEST_F()
384 EXPECT_EQ(0, memcmp(in_frame.buffer(kVPlane), in TEST_F()
385 test_in_frame.buffer(kVPlane), half_width * half_height)); in TEST_F()
/external/chromium_org/media/cast/test/utility/
Dvideo_utility.cc27 frame1->data(VideoFrame::kVPlane), in I420PSNR()
28 frame1->stride(VideoFrame::kVPlane), in I420PSNR()
33 frame2->data(VideoFrame::kVPlane), in I420PSNR()
34 frame2->stride(VideoFrame::kVPlane), in I420PSNR()
43 int stride_v = frame->stride(VideoFrame::kVPlane); in PopulateVideoFrame()
47 uint8* v_plane = frame->data(VideoFrame::kVPlane); in PopulateVideoFrame()
78 int stride_v = frame->stride(VideoFrame::kVPlane); in PopulateVideoFrameWithNoise()
82 uint8* v_plane = frame->data(VideoFrame::kVPlane); in PopulateVideoFrameWithNoise()
97 uint8* v_plane = frame->data(VideoFrame::kVPlane); in PopulateVideoFrameFromFile()
Dgenerate_barcode_video.cc41 DumpPlane(frame, media::VideoFrame::kVPlane); in main()
/external/chromium_org/third_party/webrtc/common_video/
Di420_video_frame_unittest.cc66 int stride_v = frame.stride(kVPlane); in TEST()
72 EXPECT_EQ(ExpectedSize(stride_v, height, kVPlane), in TEST()
73 frame.allocated_size(kVPlane)); in TEST()
118 EXPECT_EQ(kSizeV, frame1.allocated_size(kVPlane)); in TEST()
171 EXPECT_EQ(memcmp(buffer_v, frame2.buffer(kVPlane), kSizeUv), 0); in TEST()
175 EXPECT_LE(kSizeUv, frame2.allocated_size(kVPlane)); in TEST()
263 (frame1.allocated_size(kVPlane) == frame2.allocated_size(kVPlane))); in EqualFrames()
272 (frame1.stride(kVPlane) != frame2.stride(kVPlane)) || in EqualFramesExceptSize()
283 int size_v = std::min(frame1.allocated_size(kVPlane), in EqualFramesExceptSize()
284 frame2.allocated_size(kVPlane)); in EqualFramesExceptSize()
[all …]
Di420_video_frame.cc70 videoFrame.allocated_size(kVPlane), in CopyFrame()
71 videoFrame.buffer(kVPlane), in CopyFrame()
74 videoFrame.stride(kVPlane)); in CopyFrame()
177 case kVPlane : in GetPlane()
191 case kVPlane : in GetPlane()
/external/chromium_org/media/filters/
Dskcanvas_video_renderer.cc52 video_frame->stride(media::VideoFrame::kVPlane)); in ConvertVideoFrameToBitmap()
92 video_frame->data(media::VideoFrame::kVPlane) + uv_offset, in ConvertVideoFrameToBitmap()
93 video_frame->stride(media::VideoFrame::kVPlane), in ConvertVideoFrameToBitmap()
104 video_frame->data(media::VideoFrame::kVPlane) + uv_offset, in ConvertVideoFrameToBitmap()
120 video_frame->data(media::VideoFrame::kVPlane) + uv_offset, in ConvertVideoFrameToBitmap()
121 video_frame->stride(media::VideoFrame::kVPlane), in ConvertVideoFrameToBitmap()
135 video_frame->data(media::VideoFrame::kVPlane) + uv_offset, in ConvertVideoFrameToBitmap()
153 video_frame->data(media::VideoFrame::kVPlane) + uv_offset, in ConvertVideoFrameToBitmap()
154 video_frame->stride(media::VideoFrame::kVPlane), in ConvertVideoFrameToBitmap()
/external/chromium_org/media/base/
Dvideo_frame.cc212 frame->strides_[kVPlane] = coded_size.width() / 2; in WrapExternalPackedMemory()
215 frame->data_[kVPlane] = data + (coded_size.GetArea() * 5 / 4); in WrapExternalPackedMemory()
299 frame->strides_[kVPlane] = v_stride; in WrapExternalYuvData()
302 frame->data_[kVPlane] = v_data; in WrapExternalYuvData()
438 case VideoFrame::kVPlane: in PlaneSize()
451 case VideoFrame::kVPlane: in PlaneSize()
463 case VideoFrame::kVPlane: in PlaneSize()
474 case VideoFrame::kVPlane: in PlaneSize()
516 case kVPlane: in PlaneHorizontalBitsPerPixel()
530 case kVPlane: in PlaneHorizontalBitsPerPixel()
[all …]
Dvideo_frame_unittest.cc36 uint8* v_plane = frame->data(VideoFrame::kVPlane); in InitializeYV12Frame()
39 memset(v_plane, 0x80, frame->stride(VideoFrame::kVPlane)); in InitializeYV12Frame()
41 v_plane += frame->stride(VideoFrame::kVPlane); in InitializeYV12Frame()
50 yv12_frame->stride(VideoFrame::kVPlane)); in ExpectFrameColor()
66 yv12_frame->data(VideoFrame::kVPlane), in ExpectFrameColor()
189 uint8* v_plane = frame->data(VideoFrame::kVPlane); in TEST()
194 v_plane += frame->stride(VideoFrame::kVPlane); in TEST()
Dvideo_util.cc62 CopyPlane(VideoFrame::kVPlane, source, stride, rows, frame); in CopyVPlane()
87 uint8* v_plane = frame->data(VideoFrame::kVPlane); in FillYUV()
90 int v_row_bytes = frame->row_bytes(VideoFrame::kVPlane); in FillYUV()
95 v_plane += frame->stride(VideoFrame::kVPlane); in FillYUV()
155 LetterboxPlane(frame, VideoFrame::kVPlane, half_view_area, 0x80); in LetterboxYUV()
285 const int kV = VideoFrame::kVPlane; in CopyRGBToVideoFrame()
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_capturer_unittest.cc220 (frame1.stride(kVPlane) == frame2.stride(kVPlane)) && in EqualBufferFrames()
226 (frame1.allocated_size(kVPlane) == frame2.allocated_size(kVPlane)) && in EqualBufferFrames()
231 (memcmp(frame1.buffer(kVPlane), frame2.buffer(kVPlane), in EqualBufferFrames()
232 frame1.allocated_size(kVPlane)) == 0)); in EqualBufferFrames()
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dffmpeg_cdm_video_decoder.cc256 !av_frame_->data[cdm::VideoFrame::kVPlane]) { in DecodeFrame()
303 CopyPlane(av_frame_->data[cdm::VideoFrame::kVPlane], in CopyAvFrameTo()
304 av_frame_->linesize[cdm::VideoFrame::kVPlane], in CopyAvFrameTo()
320 cdm_video_frame->SetPlaneOffset(cdm::VideoFrame::kVPlane, in CopyAvFrameTo()
325 cdm_video_frame->SetStride(cdm::VideoFrame::kVPlane, uv_stride); in CopyAvFrameTo()
Dfake_cdm_video_decoder.cc75 decoded_frame->SetPlaneOffset(cdm::VideoFrame::kVPlane, v_offset); in DecodeFrame()
78 decoded_frame->SetStride(cdm::VideoFrame::kVPlane, uv_stride); in DecodeFrame()
Dlibvpx_cdm_video_decoder.cc182 cdm_video_frame->SetPlaneOffset(cdm::VideoFrame::kVPlane, in CopyVpxImageTo()
189 cdm_video_frame->SetStride(cdm::VideoFrame::kVPlane, in CopyVpxImageTo()
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/
Dcolor_enhancement_test.cc108 EXPECT_EQ(0, memcmp(video_frame_.buffer(kVPlane), in TEST_F()
109 refVideoFrame.buffer(kVPlane), in TEST_F()
139 EXPECT_NE(0, memcmp(testVideoFrame.buffer(kVPlane), in TEST_F()
/external/chromium_org/third_party/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc72 (frame1.stride(webrtc::kVPlane) == frame2.stride(webrtc::kVPlane)) && in CompareFrames()
450 memset(test_frame_.buffer(webrtc::kVPlane), 127, in SetUp()
500 memset(test_frame_.buffer(webrtc::kVPlane), 0xAA, in TEST_F()
501 test_frame_.allocated_size(webrtc::kVPlane)); in TEST_F()
512 memset(aligned_test_frame.buffer(webrtc::kVPlane), 0, in TEST_F()
521 unsigned char* v_plane = test_frame_.buffer(webrtc::kVPlane); in TEST_F()
539 current_pointer = aligned_test_frame.buffer(webrtc::kVPlane); in TEST_F()
/external/chromium_org/content/renderer/media/webrtc/
Dwebrtc_video_capturer_adapter.cc152 const uint8* src_v = src->data(media::VideoFrame::kVPlane) + in UpdateI420Buffer()
153 visible_rect.y() / 2 * src->stride(media::VideoFrame::kVPlane) + in UpdateI420Buffer()
179 src->stride(media::VideoFrame::kVPlane), in UpdateI420Buffer()
Dvideo_destination_handler.cc157 new_frame->data(media::VideoFrame::kVPlane), in PutFrame()
158 new_frame->stride(media::VideoFrame::kVPlane), in PutFrame()
/external/chromium_org/third_party/webrtc/test/
Dframe_generator.cc42 memset(frame_.buffer(kVPlane), v, frame_.allocated_size(kVPlane)); in NextFrame()
/external/chromium_org/content/common/gpu/media/
Dandroid_video_encode_accelerator.cc208 frame->row_bytes(VideoFrame::kVPlane) == in Encode()
209 frame->stride(VideoFrame::kVPlane) && in Encode()
312 frame->data(VideoFrame::kVPlane), in QueueInput()
313 frame->stride(VideoFrame::kVPlane), in QueueInput()
/external/chromium_org/media/cast/test/
Dlinux_output_window.cc127 video_frame->data(VideoFrame::kVPlane), in RenderFrame()
128 video_frame->stride(VideoFrame::kVPlane), in RenderFrame()
/external/chromium_org/content/renderer/pepper/
Dpepper_media_stream_video_track_host.cc105 src->data(VideoFrame::kVPlane), in ConvertFromMediaVideoFrame()
106 src->stride(VideoFrame::kVPlane), in ConvertFromMediaVideoFrame()
114 src->data(VideoFrame::kVPlane), in ConvertFromMediaVideoFrame()
130 {VideoFrame::kYPlane, VideoFrame::kVPlane, in ConvertFromMediaVideoFrame()
133 VideoFrame::kVPlane}, // I420 in ConvertFromMediaVideoFrame()
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/
Dcolor_enhancement.cc34 ptr_v = frame->buffer(kVPlane); in ColorEnhancement()
/external/chromium_org/media/tools/player_x11/
Dx11_video_renderer.cc107 video_frame->stride(media::VideoFrame::kVPlane)); in Paint()
116 video_frame->data(media::VideoFrame::kVPlane), in Paint()

123