Home
last modified time | relevance | path

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

/external/libgav1/libgav1/src/dsp/arm/
Dintra_edge_neon.cc228 auto* const pixel_buffer = static_cast<uint8_t*>(buffer); in IntraEdgeUpsampler_NEON() local
232 pixel_buffer[-2] = pixel_buffer[-1]; in IntraEdgeUpsampler_NEON()
235 const uint8x8_t src = vld1_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
249 vst1_u8(pixel_buffer - 1, InterleaveLow8(result, src21)); in IntraEdgeUpsampler_NEON()
253 const uint8x16_t src = vld1q_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
260 vst2_u8(pixel_buffer - 1, output); in IntraEdgeUpsampler_NEON()
265 pixel_buffer[size] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_NEON()
266 const uint8x16_t src0 = vld1q_u8(pixel_buffer - 2); in IntraEdgeUpsampler_NEON()
267 const uint8x16_t src1 = vld1q_u8(pixel_buffer - 1); in IntraEdgeUpsampler_NEON()
268 const uint8x16_t src2 = vld1q_u8(pixel_buffer); in IntraEdgeUpsampler_NEON()
[all …]
/external/libgav1/libgav1/examples/
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()
254 static_cast<int>(CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 1)); in GetCVPixelBuffer()
256 static_cast<int>(CVPixelBufferGetBytesPerRowOfPlane(pixel_buffer, 2)); in GetCVPixelBuffer()
258 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 1)); in GetCVPixelBuffer()
260 CVPixelBufferGetBaseAddressOfPlane(pixel_buffer, 2)); in GetCVPixelBuffer()
[all …]
/external/libgav1/libgav1/src/dsp/
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()
/external/libgav1/libgav1/src/dsp/x86/
Dintra_edge_sse4.cc210 auto* const pixel_buffer = static_cast<uint8_t*>(buffer); in IntraEdgeUpsampler_SSE4_1() local
212 temp[0] = temp[1] = pixel_buffer[-1]; in IntraEdgeUpsampler_SSE4_1()
213 memcpy(temp + 2, pixel_buffer, sizeof(temp[0]) * size); in IntraEdgeUpsampler_SSE4_1()
214 temp[size + 2] = pixel_buffer[size - 1]; in IntraEdgeUpsampler_SSE4_1()
216 pixel_buffer[-2] = temp[0]; in IntraEdgeUpsampler_SSE4_1()
228 StoreUnaligned16(pixel_buffer - 1, result_lo); in IntraEdgeUpsampler_SSE4_1()
240 StoreUnaligned16(pixel_buffer + 15, result_hi); in IntraEdgeUpsampler_SSE4_1()
/external/webrtc/sdk/objc/unittests/
Dobjc_video_encoder_factory_tests.mm84 CVPixelBufferRef pixel_buffer;
85 CVPixelBufferCreate(kCFAllocatorDefault, 640, 480, kCVPixelFormatType_32ARGB, nil, &pixel_buffer);
88 [[RTC_OBJC_TYPE(RTCCVPixelBuffer) alloc] initWithPixelBuffer:pixel_buffer]);
102 CVPixelBufferRef pixel_buffer;
103 CVPixelBufferCreate(kCFAllocatorDefault, 640, 480, kCVPixelFormatType_32ARGB, nil, &pixel_buffer);
106 [[RTC_OBJC_TYPE(RTCCVPixelBuffer) alloc] initWithPixelBuffer:pixel_buffer]);
/external/webrtc/sdk/objc/components/video_codec/
DRTCVideoEncoderH264.mm139 CVPixelBufferRef pixel_buffer;
140 CVReturn ret = CVPixelBufferPoolCreatePixelBuffer(nullptr, pixel_buffer_pool, &pixel_buffer);
147 return pixel_buffer;
/external/ImageMagick/coders/
Dsvg.c387 *pixel_buffer; in RenderRSVGImage()
514 pixel_buffer=rsvg_handle_get_pixbuf(svg_handle); in RenderRSVGImage()
516 image->columns=gdk_pixbuf_get_width(pixel_buffer); in RenderRSVGImage()
517 image->rows=gdk_pixbuf_get_height(pixel_buffer); in RenderRSVGImage()
531 g_object_unref(G_OBJECT(pixel_buffer)); in RenderRSVGImage()
580 p=gdk_pixbuf_get_pixels(pixel_buffer); in RenderRSVGImage()
633 g_object_unref(G_OBJECT(pixel_buffer)); in RenderRSVGImage()