Home
last modified time | relevance | path

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

12345678

/dports/graphics/sane-backends/sane-backends-1.0.32/backend/
H A Dgt68xx_mid.c360 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_rgb_8_line_mode() local
394 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_rgb_double_8_line_mode() local
440 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_bgr_8_line_mode() local
473 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_rgb_12_line_mode() local
509 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_rgb_double_12_line_mode() local
558 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_rgb_16_line_mode() local
594 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_rgb_double_16_line_mode() local
643 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_bgr_12_line_mode() local
679 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_bgr_16_line_mode() local
715 SANE_Byte *pixel_buffer = reader->pixel_buffer; in line_read_rgb_8_pixel_mode() local
[all …]
/dports/audio/drumgizmo/drumgizmo-0.9.19/plugingui/
H A Dpixelbuffer.cc87 if(pixel_buffer->dirty) in updateBuffer()
90 auto x2 = (std::size_t)std::max((pixel_buffer->x + (int)pixel_buffer->width), 0); in updateBuffer()
92 auto y2 = (std::size_t)std::max((pixel_buffer->y + (int)pixel_buffer->height), 0); in updateBuffer()
94 pixel_buffer->dirty = false; in updateBuffer()
117 if(pixel_buffer->has_last) in updateBuffer()
120 auto x2 = (std::size_t)(pixel_buffer->last_x + pixel_buffer->last_width); in updateBuffer()
122 auto y2 = (std::size_t)(pixel_buffer->last_y + pixel_buffer->last_height); in updateBuffer()
124 pixel_buffer->has_last = false; in updateBuffer()
155 if(!pixel_buffer->visible) in updateBuffer()
165 ((int)height < pixel_buffer->y)) in updateBuffer()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/base/mac/
H A Dvideo_frame_mac.cc38 base::ScopedCFTypeRef<CVPixelBufferRef> pixel_buffer; in WrapVideoFrameInCVPixelBuffer() local
42 pixel_buffer.reset(frame.CvPixelBuffer(), base::scoped_policy::RETAIN); in WrapVideoFrameInCVPixelBuffer()
43 return pixel_buffer; in WrapVideoFrameInCVPixelBuffer()
54 nullptr, io_surface, nullptr, pixel_buffer.InitializeInto()); in WrapVideoFrameInCVPixelBuffer()
57 return pixel_buffer; in WrapVideoFrameInCVPixelBuffer()
59 pixel_buffer.reset(); in WrapVideoFrameInCVPixelBuffer()
79 return pixel_buffer; in WrapVideoFrameInCVPixelBuffer()
125 CVBufferSetAttachment(pixel_buffer, kCVImageBufferColorPrimariesKey, in WrapVideoFrameInCVPixelBuffer()
128 CVBufferSetAttachment(pixel_buffer, kCVImageBufferTransferFunctionKey, in WrapVideoFrameInCVPixelBuffer()
131 CVBufferSetAttachment(pixel_buffer, kCVImageBufferYCbCrMatrixKey, in WrapVideoFrameInCVPixelBuffer()
[all …]
/dports/x11-wm/mutter/mutter-41.1/cogl/cogl/
H A Dcogl-pixel-buffer.c57 COGL_BUFFER_DEFINE (PixelBuffer, pixel_buffer) in COGL_BUFFER_DEFINE() argument
58 COGL_GTYPE_DEFINE_CLASS (PixelBuffer, pixel_buffer) in COGL_BUFFER_DEFINE()
66 CoglPixelBuffer *pixel_buffer = g_new0 (CoglPixelBuffer, 1); in COGL_BUFFER_DEFINE() local
67 CoglBuffer *buffer = COGL_BUFFER (pixel_buffer); in COGL_BUFFER_DEFINE()
77 _cogl_pixel_buffer_object_new (pixel_buffer); in COGL_BUFFER_DEFINE()
81 if (!_cogl_buffer_set_data (COGL_BUFFER (pixel_buffer), in COGL_BUFFER_DEFINE()
87 cogl_object_unref (pixel_buffer); in COGL_BUFFER_DEFINE()
92 return pixel_buffer; in COGL_BUFFER_DEFINE()
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/imaging/
H A DossimRgbGridRemapEngine.cpp89 short pixel_buffer[3]; in remapTile() local
105 pixel_buffer[0] = red_buf[offset] + (short) gridR(samp,line); in remapTile()
106 pixel_buffer[1] = grn_buf[offset] + (short) gridG(samp,line); in remapTile()
107 pixel_buffer[2] = blu_buf[offset] + (short) gridB(samp,line); in remapTile()
112 if (pixel_buffer[0]<0) red_buf[offset] = 0; in remapTile()
113 else if (pixel_buffer[0]>255) red_buf[offset] = 255; in remapTile()
114 else red_buf[offset] = pixel_buffer[0]; in remapTile()
117 if (pixel_buffer[1]<0) grn_buf[offset] = 0; in remapTile()
118 else if (pixel_buffer[1]>255) grn_buf[offset] = 255; in remapTile()
122 if (pixel_buffer[2]<0) blu_buf[offset] = 0; in remapTile()
[all …]
/dports/graphics/cogl/cogl-1.22.8/cogl/
H A Dcogl-pixel-buffer.c75 COGL_BUFFER_DEFINE (PixelBuffer, pixel_buffer) in COGL_BUFFER_DEFINE() argument
76 COGL_GTYPE_DEFINE_CLASS (PixelBuffer, pixel_buffer) in COGL_BUFFER_DEFINE()
84 CoglPixelBuffer *pixel_buffer = g_slice_new0 (CoglPixelBuffer); in COGL_BUFFER_DEFINE() local
85 CoglBuffer *buffer = COGL_BUFFER (pixel_buffer); in COGL_BUFFER_DEFINE()
95 _cogl_pixel_buffer_object_new (pixel_buffer); in COGL_BUFFER_DEFINE()
99 if (!_cogl_buffer_set_data (COGL_BUFFER (pixel_buffer), in COGL_BUFFER_DEFINE()
105 cogl_object_unref (pixel_buffer); in COGL_BUFFER_DEFINE()
110 return pixel_buffer; in COGL_BUFFER_DEFINE()
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl/
H A Dcogl-pixel-buffer.c75 COGL_BUFFER_DEFINE (PixelBuffer, pixel_buffer) in COGL_BUFFER_DEFINE() argument
76 COGL_GTYPE_DEFINE_CLASS (PixelBuffer, pixel_buffer) in COGL_BUFFER_DEFINE()
84 CoglPixelBuffer *pixel_buffer = g_slice_new0 (CoglPixelBuffer); in COGL_BUFFER_DEFINE() local
85 CoglBuffer *buffer = COGL_BUFFER (pixel_buffer); in COGL_BUFFER_DEFINE()
95 _cogl_pixel_buffer_object_new (pixel_buffer); in COGL_BUFFER_DEFINE()
99 if (!_cogl_buffer_set_data (COGL_BUFFER (pixel_buffer), in COGL_BUFFER_DEFINE()
105 cogl_object_unref (pixel_buffer); in COGL_BUFFER_DEFINE()
110 return pixel_buffer; in COGL_BUFFER_DEFINE()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/base/mac/
H A Dvideo_frame_mac.cc35 base::ScopedCFTypeRef<CVPixelBufferRef> pixel_buffer; in WrapVideoFrameInCVPixelBuffer() local
39 pixel_buffer.reset(frame.CvPixelBuffer(), base::scoped_policy::RETAIN); in WrapVideoFrameInCVPixelBuffer()
40 return pixel_buffer; in WrapVideoFrameInCVPixelBuffer()
56 return pixel_buffer; in WrapVideoFrameInCVPixelBuffer()
90 const_cast<VideoFrame*>(&frame), nullptr, pixel_buffer.InitializeInto()); in WrapVideoFrameInCVPixelBuffer()
102 CVBufferSetAttachment(pixel_buffer, kCVImageBufferColorPrimariesKey, in WrapVideoFrameInCVPixelBuffer()
105 CVBufferSetAttachment(pixel_buffer, kCVImageBufferTransferFunctionKey, in WrapVideoFrameInCVPixelBuffer()
108 CVBufferSetAttachment(pixel_buffer, kCVImageBufferYCbCrMatrixKey, in WrapVideoFrameInCVPixelBuffer()
112 return pixel_buffer; in WrapVideoFrameInCVPixelBuffer()
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/common_video/
H A Dcorevideo_frame_buffer.cc20 CoreVideoFrameBuffer::CoreVideoFrameBuffer(CVPixelBufferRef pixel_buffer, in CoreVideoFrameBuffer() argument
27 : NativeHandleBuffer(pixel_buffer, adapted_width, adapted_height), in CoreVideoFrameBuffer()
28 pixel_buffer_(pixel_buffer), in CoreVideoFrameBuffer()
29 buffer_width_(CVPixelBufferGetWidth(pixel_buffer)), in CoreVideoFrameBuffer()
30 buffer_height_(CVPixelBufferGetHeight(pixel_buffer)), in CoreVideoFrameBuffer()
37 CoreVideoFrameBuffer::CoreVideoFrameBuffer(CVPixelBufferRef pixel_buffer) in CoreVideoFrameBuffer() argument
38 : NativeHandleBuffer(pixel_buffer, in CoreVideoFrameBuffer()
39 CVPixelBufferGetWidth(pixel_buffer), in CoreVideoFrameBuffer()
40 CVPixelBufferGetHeight(pixel_buffer)), in CoreVideoFrameBuffer()
41 pixel_buffer_(pixel_buffer), in CoreVideoFrameBuffer()
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/arm/
H A Dintra_edge_neon.cc232 pixel_buffer[-2] = pixel_buffer[-1]; in IntraEdgeUpsampler_NEON()
261 vst2_u8(pixel_buffer - 1, output); in IntraEdgeUpsampler_NEON()
266 pixel_buffer[size] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_NEON()
269 const uint8x16_t src2 = vld1q_u8(pixel_buffer); in IntraEdgeUpsampler_NEON()
276 vst2_u8(pixel_buffer - 1, output_lo); in IntraEdgeUpsampler_NEON()
285 vst2_u8(pixel_buffer + 15, output_hi); in IntraEdgeUpsampler_NEON()
450 pixel_buffer[-2] = pixel_buffer[-1]; in IntraEdgeUpsampler_NEON()
451 pixel_buffer[size] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_NEON()
487 vst2q_u16(pixel_buffer - 1, result_lo); in IntraEdgeUpsampler_NEON()
488 vst2q_u16(pixel_buffer + 15, result_hi); in IntraEdgeUpsampler_NEON()
[all …]
/dports/multimedia/libgav1/libgav1-0.17.0/examples/
H A Dgav1_decode_cv_pixel_buffer_pool.cc219 CVPixelBufferRef pixel_buffer; in GetCVPixelBuffer() local
221 /*allocator=*/nullptr, pool_, aux_attributes.get(), &pixel_buffer); in GetCVPixelBuffer()
229 ret = CVPixelBufferLockBaseAddress(pixel_buffer, /*lockFlags=*/0); in GetCVPixelBuffer()
233 CFRelease(pixel_buffer); in GetCVPixelBuffer()
244 static_cast<int>(CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 0)); in GetCVPixelBuffer()
246 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 0)); in GetCVPixelBuffer()
258 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 1)); in GetCVPixelBuffer()
260 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 2)); in GetCVPixelBuffer()
262 frame_buffer->private_data = pixel_buffer; in GetCVPixelBuffer()
271 CVPixelBufferUnlockBaseAddress(pixel_buffer, /*unlockFlags=*/0); in ReleaseCVPixelBuffer()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/examples/
H A Dgav1_decode_cv_pixel_buffer_pool.cc219 CVPixelBufferRef pixel_buffer; in GetCVPixelBuffer() local
221 /*allocator=*/nullptr, pool_, aux_attributes.get(), &pixel_buffer); in GetCVPixelBuffer()
229 ret = CVPixelBufferLockBaseAddress(pixel_buffer, /*lockFlags=*/0); in GetCVPixelBuffer()
233 CFRelease(pixel_buffer); in GetCVPixelBuffer()
244 static_cast<int>(CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 0)); in GetCVPixelBuffer()
246 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 0)); in GetCVPixelBuffer()
258 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 1)); in GetCVPixelBuffer()
260 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 2)); in GetCVPixelBuffer()
262 frame_buffer->private_data = pixel_buffer; in GetCVPixelBuffer()
271 CVPixelBufferUnlockBaseAddress(pixel_buffer, /*unlockFlags=*/0); in ReleaseCVPixelBuffer()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libgav1/src/examples/
H A Dgav1_decode_cv_pixel_buffer_pool.cc219 CVPixelBufferRef pixel_buffer; in GetCVPixelBuffer() local
221 /*allocator=*/nullptr, pool_, aux_attributes.get(), &pixel_buffer); in GetCVPixelBuffer()
229 ret = CVPixelBufferLockBaseAddress(pixel_buffer, /*lockFlags=*/0); in GetCVPixelBuffer()
233 CFRelease(pixel_buffer); in GetCVPixelBuffer()
244 static_cast<int>(CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 0)); in GetCVPixelBuffer()
246 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 0)); in GetCVPixelBuffer()
258 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 1)); in GetCVPixelBuffer()
260 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 2)); in GetCVPixelBuffer()
262 frame_buffer->private_data = pixel_buffer; in GetCVPixelBuffer()
271 CVPixelBufferUnlockBaseAddress(pixel_buffer, /*unlockFlags=*/0); in ReleaseCVPixelBuffer()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libgav1/src/src/dsp/arm/
H A Dintra_edge_neon.cc223 pixel_buffer[-2] = pixel_buffer[-1]; in IntraEdgeUpsampler_NEON()
226 const uint8x8_t src = vld1_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
244 const uint8x16_t src = vld1q_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
251 vst2_u8(pixel_buffer - 1, output); in IntraEdgeUpsampler_NEON()
256 pixel_buffer[size] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_NEON()
257 const uint8x16_t src0 = vld1q_u8(pixel_buffer - 2); in IntraEdgeUpsampler_NEON()
258 const uint8x16_t src1 = vld1q_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
259 const uint8x16_t src2 = vld1q_u8(pixel_buffer); in IntraEdgeUpsampler_NEON()
260 const uint8x16_t src3 = vld1q_u8(pixel_buffer + 1); in IntraEdgeUpsampler_NEON()
266 vst2_u8(pixel_buffer - 1, output_lo); in IntraEdgeUpsampler_NEON()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/src/dsp/arm/
H A Dintra_edge_neon.cc223 pixel_buffer[-2] = pixel_buffer[-1]; in IntraEdgeUpsampler_NEON()
226 const uint8x8_t src = vld1_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
244 const uint8x16_t src = vld1q_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
251 vst2_u8(pixel_buffer - 1, output); in IntraEdgeUpsampler_NEON()
256 pixel_buffer[size] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_NEON()
257 const uint8x16_t src0 = vld1q_u8(pixel_buffer - 2); in IntraEdgeUpsampler_NEON()
258 const uint8x16_t src1 = vld1q_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
259 const uint8x16_t src2 = vld1q_u8(pixel_buffer); in IntraEdgeUpsampler_NEON()
260 const uint8x16_t src3 = vld1q_u8(pixel_buffer + 1); in IntraEdgeUpsampler_NEON()
266 vst2_u8(pixel_buffer - 1, output_lo); in IntraEdgeUpsampler_NEON()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/ipxe/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/emulators/qemu5/qemu-5.2.0/roms/ipxe/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/ipxe/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/net/ipxe/ipxe-2265a65/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/emulators/qemu-utils/qemu-4.2.1/roms/ipxe/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/ipxe/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/emulators/qemu/qemu-6.2.0/roms/ipxe/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/emulators/qemu60/qemu-6.0.0/roms/ipxe/src/include/ipxe/
H A Dpixbuf.h17 struct pixel_buffer { struct
36 static inline __attribute__ (( always_inline )) struct pixel_buffer * argument
37 pixbuf_get ( struct pixel_buffer *pixbuf ) { in pixbuf_get()
48 pixbuf_put ( struct pixel_buffer *pixbuf ) { in pixbuf_put()
52 extern struct pixel_buffer * alloc_pixbuf ( unsigned int width,
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/
H A Dintra_edge.cc53 auto* const pixel_buffer = static_cast<Pixel*>(buffer); in IntraEdgeUpsampler_C() local
55 temp[0] = temp[1] = pixel_buffer[-1]; in IntraEdgeUpsampler_C()
56 memcpy(temp + 2, pixel_buffer, sizeof(temp[0]) * size); in IntraEdgeUpsampler_C()
57 temp[size + 2] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_C()
59 pixel_buffer[-2] = temp[0]; in IntraEdgeUpsampler_C()
63 pixel_buffer[2 * i - 1] = in IntraEdgeUpsampler_C()
65 pixel_buffer[2 * i] = temp[i + 2]; in IntraEdgeUpsampler_C()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/src/dsp/
H A Dintra_edge.cc53 auto* const pixel_buffer = static_cast<Pixel*>(buffer); in IntraEdgeUpsampler_C() local
55 temp[0] = temp[1] = pixel_buffer[-1]; in IntraEdgeUpsampler_C()
56 memcpy(temp + 2, pixel_buffer, sizeof(temp[0]) * size); in IntraEdgeUpsampler_C()
57 temp[size + 2] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_C()
59 pixel_buffer[-2] = temp[0]; in IntraEdgeUpsampler_C()
63 pixel_buffer[2 * i - 1] = in IntraEdgeUpsampler_C()
65 pixel_buffer[2 * i] = temp[i + 2]; in IntraEdgeUpsampler_C()

12345678