Home
last modified time | relevance | path

Searched refs:pixel_buffer (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_encoder.cc121 CVPixelBufferRef pixel_buffer) { in CopyVideoFrameToPixelBuffer() argument
122 RTC_DCHECK(pixel_buffer); in CopyVideoFrameToPixelBuffer()
123 RTC_DCHECK(CVPixelBufferGetPixelFormatType(pixel_buffer) == in CopyVideoFrameToPixelBuffer()
125 RTC_DCHECK(CVPixelBufferGetHeightOfPlane(pixel_buffer, 0) == in CopyVideoFrameToPixelBuffer()
127 RTC_DCHECK(CVPixelBufferGetWidthOfPlane(pixel_buffer, 0) == in CopyVideoFrameToPixelBuffer()
130 CVReturn cvRet = CVPixelBufferLockBaseAddress(pixel_buffer, 0); in CopyVideoFrameToPixelBuffer()
136 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 0)); in CopyVideoFrameToPixelBuffer()
137 int dst_stride_y = CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 0); in CopyVideoFrameToPixelBuffer()
139 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 1)); in CopyVideoFrameToPixelBuffer()
140 int dst_stride_uv = CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 1); in CopyVideoFrameToPixelBuffer()
[all …]
Dh264_video_toolbox_decoder.cc49 CVPixelBufferRef pixel_buffer) { in VideoFrameBufferForPixelBuffer() argument
50 RTC_DCHECK(pixel_buffer); in VideoFrameBufferForPixelBuffer()
51 RTC_DCHECK(CVPixelBufferGetPixelFormatType(pixel_buffer) == in VideoFrameBufferForPixelBuffer()
53 size_t width = CVPixelBufferGetWidthOfPlane(pixel_buffer, 0); in VideoFrameBufferForPixelBuffer()
54 size_t height = CVPixelBufferGetHeightOfPlane(pixel_buffer, 0); in VideoFrameBufferForPixelBuffer()
58 CVPixelBufferLockBaseAddress(pixel_buffer, kCVPixelBufferLock_ReadOnly); in VideoFrameBufferForPixelBuffer()
60 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 0)); in VideoFrameBufferForPixelBuffer()
61 int src_y_stride = CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 0); in VideoFrameBufferForPixelBuffer()
63 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 1)); in VideoFrameBufferForPixelBuffer()
64 int src_uv_stride = CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 1); in VideoFrameBufferForPixelBuffer()
[all …]
/external/ImageMagick/coders/
Dsvg.c3286 *pixel_buffer; in ReadSVGImage()
3386 pixel_buffer=rsvg_handle_get_pixbuf(svg_handle); in ReadSVGImage()
3388 image->columns=gdk_pixbuf_get_width(pixel_buffer); in ReadSVGImage()
3389 image->rows=gdk_pixbuf_get_height(pixel_buffer); in ReadSVGImage()
3403 g_object_unref(G_OBJECT(pixel_buffer)); in ReadSVGImage()
3452 p=gdk_pixbuf_get_pixels(pixel_buffer); in ReadSVGImage()
3503 g_object_unref(G_OBJECT(pixel_buffer)); in ReadSVGImage()