Home
last modified time | relevance | path

Searched refs:nplanes (Results 1 - 16 of 16) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dpcxenc.c43 * @param nplanes number of planes in input buffer
45 * @bug will not work for nplanes != 1 && bpp != 8
48 const uint8_t *src, int src_plane_size, int nplanes) in pcx_rle_encode()
54 if (dst_size < 2LL * src_plane_size * nplanes || src_plane_size <= 0) in pcx_rle_encode()
57 for (p = 0; p < nplanes; p++) { in pcx_rle_encode()
60 const uint8_t *src_plane_end = src_plane + src_plane_size * nplanes; in pcx_rle_encode()
62 src_plane += nplanes; in pcx_rle_encode()
64 for (; ; src_plane += nplanes) { in pcx_rle_encode()
93 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local
106 nplanes in pcx_encode_frame()
47 pcx_rle_encode( uint8_t *dst, int dst_size, const uint8_t *src, int src_plane_size, int nplanes) pcx_rle_encode() argument
[all...]
H A Dpcx.c79 unsigned int w, h, bits_per_pixel, bytes_per_line, nplanes, stride, y, x, in pcx_decode_frame() local
113 nplanes = bytestream2_get_byteu(&gb); in pcx_decode_frame()
115 bytes_per_scanline = nplanes * bytes_per_line; in pcx_decode_frame()
117 if (bytes_per_scanline < (w * bits_per_pixel * nplanes + 7) / 8 || in pcx_decode_frame()
123 switch ((nplanes << 8) + bits_per_pixel) { in pcx_decode_frame()
158 if (nplanes == 3 && bits_per_pixel == 8) { in pcx_decode_frame()
172 } else if (nplanes == 1 && bits_per_pixel == 8) { in pcx_decode_frame()
199 } else if (nplanes == 1) { /* all packed formats, max. 16 colors */ in pcx_decode_frame()
223 for (i = nplanes - 1; i >= 0; i--) { in pcx_decode_frame()
234 if (nplanes in pcx_decode_frame()
[all...]
H A Ddiracdec.c1654 int mx, my, i, epel, nplanes = 0; in mc_subpel() local
1676 nplanes = 1; in mc_subpel()
1680 nplanes = 4; in mc_subpel()
1707 nplanes = 2; in mc_subpel()
1711 nplanes = 2; in mc_subpel()
1731 for (i = 0; i < nplanes; i++) { in mc_subpel()
1739 return (nplanes>>1) + epel; in mc_subpel()
/third_party/ffmpeg/libavfilter/
H A Dvf_blockdetect.c209 int nplanes = 0; in blockdetect_filter_frame() local
222 nplanes++; in blockdetect_filter_frame()
227 if (nplanes) in blockdetect_filter_frame()
228 block /= nplanes; in blockdetect_filter_frame()
H A Dvf_blurdetect.c270 int nplanes = 0; in blurdetect_filter_frame() local
283 nplanes++; in blurdetect_filter_frame()
307 if (nplanes) in blurdetect_filter_frame()
308 blur /= nplanes; in blurdetect_filter_frame()
/third_party/NuttX/drivers/video/
H A Dfb.c736 int nplanes; in fb_register() local
779 nplanes = vinfo.nplanes; in fb_register()
780 DEBUGASSERT(vinfo.nplanes > 0 && (unsigned)plane < vinfo.nplanes); in fb_register()
818 if (nplanes < 2) in fb_register()
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri_helpers.h35 int nplanes; member
H A Ddri_helpers.c677 for (unsigned i = 0; i < map->nplanes; i++) { in dri2_yuv_dma_buf_supported()
H A Ddri2.c935 for (i = (use_lowered ? map->nplanes : format_planes) - 1; i >= 0; i--) { in dri2_create_image_from_winsys()
1041 return map->nplanes; in dri2_get_modifier_num_planes()
1805 if (plane >= dri2_get_mapping_by_format(image->dri_format)->nplanes) in dri2_map_image()
/third_party/mesa3d/src/virtio/virtio-gpu/
H A Dvirgl_protocol.h664 #define VIRGL_PIPE_RES_SET_TYPE_SIZE(nplanes) (8 + (nplanes) * 2)
/third_party/mesa3d/src/egl/main/
H A Degldriver.h186 EGLint *fourcc, EGLint *nplanes,
H A Deglapi.c2379 EGLint *fourcc, EGLint *nplanes, in eglExportDMABUFImageQueryMESA()
2394 ret = disp->Driver->ExportDMABUFImageQueryMESA(disp, img, fourcc, nplanes, modifiers); in eglExportDMABUFImageQueryMESA()
2378 eglExportDMABUFImageQueryMESA(EGLDisplay dpy, EGLImage image, EGLint *fourcc, EGLint *nplanes, EGLuint64KHR *modifiers) eglExportDMABUFImageQueryMESA() argument
/third_party/cups-filters/filter/
H A Dpdftoraster.cxx128 unsigned int nplanes; member
1622 for (unsigned int plane = 0;plane < nplanes;plane++) { in writePageImage()
1635 for (unsigned int plane = 0;plane < nplanes;plane++) { in writePageImage()
2040 nplanes = header.cupsNumColors; in main()
2042 nplanes = 1; in main()
/third_party/mesa3d/src/egl/drivers/dri2/
H A Degl_dri2.c2337 int nplanes; member
2368 if (plane < 0 || plane >= f->nplanes) { in dri2_create_image_wayland_wl_buffer()
3078 EGLint *fourcc, EGLint *nplanes, in dri2_export_dma_buf_image_query_mesa()
3090 if (nplanes) in dri2_export_dma_buf_image_query_mesa()
3091 *nplanes = num_planes; in dri2_export_dma_buf_image_query_mesa()
3124 EGLint nplanes; in dri2_export_dma_buf_image_mesa() local
3134 /* Query nplanes so that we know how big the given array is. */ in dri2_export_dma_buf_image_mesa()
3136 __DRI_IMAGE_ATTRIB_NUM_PLANES, &nplanes); in dri2_export_dma_buf_image_mesa()
3137 memset(fds, -1, nplanes * sizeof(int)); in dri2_export_dma_buf_image_mesa()
3077 dri2_export_dma_buf_image_query_mesa(_EGLDisplay *disp, _EGLImage *img, EGLint *fourcc, EGLint *nplanes, EGLuint64KHR *modifiers) dri2_export_dma_buf_image_query_mesa() argument
/third_party/NuttX/include/nuttx/video/
H A Dfb.h299 uint8_t nplanes; /* Number of color planes supported */ member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_texture.c1602 unsigned nplanes = ac_surface_get_nplanes(&tex->surface); in si_texture_from_winsys_buffer() local
1606 if (plane >= nplanes || ptex->buffer != tex->buffer.buf || in si_texture_from_winsys_buffer()
1618 if (plane != nplanes && tex->num_planes == 1) { in si_texture_from_winsys_buffer()

Completed in 32 milliseconds