/third_party/ffmpeg/libavcodec/ |
D | pcxenc.c | 59 const uint8_t *src, int src_plane_size, int nplanes) in pcx_rle_encode() argument 65 if (dst_size < 2LL * src_plane_size * nplanes || src_plane_size <= 0) in pcx_rle_encode() 68 for (p = 0; p < nplanes; p++) { in pcx_rle_encode() 71 const uint8_t *src_plane_end = src_plane + src_plane_size * nplanes; in pcx_rle_encode() 73 src_plane += nplanes; in pcx_rle_encode() 75 for (; ; src_plane += nplanes) { in pcx_rle_encode() 104 int bpp, nplanes, i, y, line_bytes, written, ret, max_pkt_size, sw, sh; in pcx_encode_frame() local 117 nplanes = 3; in pcx_encode_frame() 125 nplanes = 1; in pcx_encode_frame() 131 nplanes = 1; in pcx_encode_frame() [all …]
|
D | pcx.c | 79 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 == 1 && bits_per_pixel == 8) { in pcx_decode_frame() [all …]
|
D | diracdec.c | 1653 int mx, my, i, epel, nplanes = 0; in mc_subpel() local 1675 nplanes = 1; in mc_subpel() 1679 nplanes = 4; in mc_subpel() 1706 nplanes = 2; in mc_subpel() 1710 nplanes = 2; in mc_subpel() 1730 for (i = 0; i < nplanes; i++) { in mc_subpel() 1738 return (nplanes>>1) + epel; in mc_subpel()
|
/third_party/gstreamer/gstplugins_bad/ext/wayland/ |
D | wllinuxdmabuf.c | 78 guint nplanes, flags = 0; in gst_wl_linux_dmabuf_construct_wl_buffer() local 95 nplanes = GST_VIDEO_INFO_N_PLANES (info); in gst_wl_linux_dmabuf_construct_wl_buffer() 104 for (i = 0; i < nplanes; i++) { in gst_wl_linux_dmabuf_construct_wl_buffer() 156 data.wbuf, width, height, (char *) &format, nplanes); in gst_wl_linux_dmabuf_construct_wl_buffer()
|
/third_party/NuttX/drivers/video/ |
D | fb.c | 736 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/gstreamer/gstplugins_bad/ext/x265/ |
D | gstx265enc.c | 710 gst_x265_enc_gst_to_x265_video_format (GstVideoFormat format, gint * nplanes) in gst_x265_enc_gst_to_x265_video_format() argument 719 if (nplanes) in gst_x265_enc_gst_to_x265_video_format() 720 *nplanes = 3; in gst_x265_enc_gst_to_x265_video_format() 727 if (nplanes) in gst_x265_enc_gst_to_x265_video_format() 728 *nplanes = 3; in gst_x265_enc_gst_to_x265_video_format() 735 if (nplanes) in gst_x265_enc_gst_to_x265_video_format() 736 *nplanes = 3; in gst_x265_enc_gst_to_x265_video_format() 1465 gint nplanes = 0; in gst_x265_enc_handle_frame() local 1481 gst_x265_enc_gst_to_x265_video_format (info->finfo->format, &nplanes); in gst_x265_enc_handle_frame() 1482 for (i = 0; i < nplanes; i++) { in gst_x265_enc_handle_frame()
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
D | dri_helpers.h | 35 int nplanes; member
|
D | dri_helpers.c | 677 for (unsigned i = 0; i < map->nplanes; i++) { in dri2_yuv_dma_buf_supported()
|
D | dri2.c | 935 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/gstreamer/gstplugins_bad/ext/svthevcenc/ |
D | gstsvthevcenc.c | 761 gint * nplanes) in gst_svthevc_enc_gst_to_svthevc_video_format() argument 768 if (nplanes) in gst_svthevc_enc_gst_to_svthevc_video_format() 769 *nplanes = 3; in gst_svthevc_enc_gst_to_svthevc_video_format() 774 if (nplanes) in gst_svthevc_enc_gst_to_svthevc_video_format() 775 *nplanes = 3; in gst_svthevc_enc_gst_to_svthevc_video_format() 780 if (nplanes) in gst_svthevc_enc_gst_to_svthevc_video_format() 781 *nplanes = 3; in gst_svthevc_enc_gst_to_svthevc_video_format()
|
/third_party/mesa3d/src/virtio/virtio-gpu/ |
D | virgl_protocol.h | 664 #define VIRGL_PIPE_RES_SET_TYPE_SIZE(nplanes) (8 + (nplanes) * 2) argument
|
/third_party/cups-filters/filter/ |
D | pdftoraster.cxx | 128 unsigned int nplanes; variable 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/main/ |
D | egldriver.h | 186 EGLint *fourcc, EGLint *nplanes,
|
D | eglapi.c | 2379 EGLint *fourcc, EGLint *nplanes, in eglExportDMABUFImageQueryMESA() argument 2394 ret = disp->Driver->ExportDMABUFImageQueryMESA(disp, img, fourcc, nplanes, modifiers); in eglExportDMABUFImageQueryMESA()
|
/third_party/NuttX/include/nuttx/video/ |
D | fb.h | 299 uint8_t nplanes; /* Number of color planes supported */ member
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | egl_dri2.c | 2337 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() argument 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 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()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_texture.c | 1602 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()
|