/dports/devel/p5-SDL/SDL-2.548/src/Core/objects/ |
H A D | PixelFormat.xs | 34 SDL_PixelFormat *pixelformat 38 if(pixelformat->palette) 48 SDL_PixelFormat *pixelformat 56 SDL_PixelFormat *pixelformat 64 SDL_PixelFormat *pixelformat 66 RETVAL = pixelformat->Rloss; 72 SDL_PixelFormat *pixelformat 80 SDL_PixelFormat *pixelformat 88 SDL_PixelFormat *pixelformat 96 SDL_PixelFormat *pixelformat [all …]
|
/dports/games/pioneer/pioneer-20210723/contrib/PicoDDS/ |
H A D | PicoDDS.cpp | 209 0x0==surfacedata_.pixelformat.gBitMask && in GetTextureFormat() 210 0x0==surfacedata_.pixelformat.bBitMask && in GetTextureFormat() 211 0x0==surfacedata_.pixelformat.alpahbitmask) in GetTextureFormat() 215 0x0==surfacedata_.pixelformat.gBitMask && in GetTextureFormat() 216 0x0==surfacedata_.pixelformat.bBitMask && in GetTextureFormat() 221 0x0==surfacedata_.pixelformat.gBitMask && in GetTextureFormat() 275 switch(surfacedata_.pixelformat.fourCC) in GetDXTFormat() 323 switch(surfacedata_.pixelformat.fourCC) in GetOpenGLFormat() 388 header.pixelformat.size=ReadDword(pData); in ReadHeader() 389 header.pixelformat.flags=ReadDword(pData); in ReadHeader() [all …]
|
/dports/games/openbor3482/openbor-2c1ecd7/engine/source/gamelib/ |
H A D | screen.c | 26 if(pixelformat==PIXEL_x8) in allocscreen() 32 screen->pixelformat = pixelformat; in allocscreen() 50 int pixelformat = src->pixelformat; in copyscreen() local 52 if(pixelformat!=dest->pixelformat) return; in copyscreen() 82 int pixelformat = src->pixelformat; in copyscreen_o() local 91 if(dest->pixelformat != src->pixelformat) return; in copyscreen_o() 300 if(dest->pixelformat==PIXEL_8) in putscreen() 340 int pixelformat = src->pixelformat; in scalescreen() local 342 if(dest->pixelformat!=pixelformat) return; in scalescreen() 388 int pixelformat = dest->pixelformat; in zoomscreen() local [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/test-drivers/vimc/ |
H A D | vimc-common.c | 26 .pixelformat = V4L2_PIX_FMT_BGR24, 41 .pixelformat = V4L2_PIX_FMT_RGB24, 47 .pixelformat = V4L2_PIX_FMT_ARGB32, 55 .pixelformat = V4L2_PIX_FMT_SBGGR8, 61 .pixelformat = V4L2_PIX_FMT_SGBRG8, 67 .pixelformat = V4L2_PIX_FMT_SGRBG8, 73 .pixelformat = V4L2_PIX_FMT_SRGGB8, 79 .pixelformat = V4L2_PIX_FMT_SBGGR10, 232 if (vimc_pix_map_list[i].pixelformat == pixelformat) in vimc_pix_map_by_pixelformat() 257 fmt->pixelformat = pix_map->pixelformat; in vimc_get_pix_format() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/test-drivers/vimc/ |
H A D | vimc-common.c | 26 .pixelformat = V4L2_PIX_FMT_BGR24, 41 .pixelformat = V4L2_PIX_FMT_RGB24, 47 .pixelformat = V4L2_PIX_FMT_ARGB32, 55 .pixelformat = V4L2_PIX_FMT_SBGGR8, 61 .pixelformat = V4L2_PIX_FMT_SGBRG8, 67 .pixelformat = V4L2_PIX_FMT_SGRBG8, 73 .pixelformat = V4L2_PIX_FMT_SRGGB8, 79 .pixelformat = V4L2_PIX_FMT_SBGGR10, 232 if (vimc_pix_map_list[i].pixelformat == pixelformat) in vimc_pix_map_by_pixelformat() 257 fmt->pixelformat = pix_map->pixelformat; in vimc_get_pix_format() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/test-drivers/vimc/ |
H A D | vimc-common.c | 26 .pixelformat = V4L2_PIX_FMT_BGR24, 41 .pixelformat = V4L2_PIX_FMT_RGB24, 47 .pixelformat = V4L2_PIX_FMT_ARGB32, 55 .pixelformat = V4L2_PIX_FMT_SBGGR8, 61 .pixelformat = V4L2_PIX_FMT_SGBRG8, 67 .pixelformat = V4L2_PIX_FMT_SGRBG8, 73 .pixelformat = V4L2_PIX_FMT_SRGGB8, 79 .pixelformat = V4L2_PIX_FMT_SBGGR10, 232 if (vimc_pix_map_list[i].pixelformat == pixelformat) in vimc_pix_map_by_pixelformat() 257 fmt->pixelformat = pix_map->pixelformat; in vimc_get_pix_format() [all …]
|
/dports/games/openbor3711/openbor-6ec17fa/engine/source/gamelib/ |
H A D | screen.c | 26 if(pixelformat==PIXEL_x8) in allocscreen() 32 screen->pixelformat = pixelformat; in allocscreen() 51 int pixelformat = src->pixelformat; in copyscreen() local 53 if(pixelformat!=dest->pixelformat) return; in copyscreen() 83 int pixelformat = src->pixelformat; in copyscreen_o() local 92 if(dest->pixelformat != src->pixelformat) return; in copyscreen_o() 310 if(dest->pixelformat==PIXEL_8) in _putscreen() 371 int pixelformat = src->pixelformat; in scalescreen() local 373 if(dest->pixelformat!=pixelformat) return; in scalescreen() 419 int pixelformat = dest->pixelformat; in zoomscreen() local [all …]
|
/dports/games/openbor3979/openbor-2bcf25b/engine/source/gamelib/ |
H A D | screen.c | 26 if(pixelformat == PIXEL_x8) in allocscreen() 40 screen->pixelformat = pixelformat; in allocscreen() 42 if(pixelformat == PIXEL_x8) in allocscreen() 68 int pixelformat = src->pixelformat; in copyscreen() local 70 if(pixelformat != dest->pixelformat) in copyscreen() 116 int pixelformat = src->pixelformat; in copyscreen_o() local 180 if(dest->pixelformat != src->pixelformat) in copyscreen_o() 609 int pixelformat = src->pixelformat; in scalescreen() local 611 if(dest->pixelformat != pixelformat) in scalescreen() 663 int pixelformat = dest->pixelformat; in zoomscreen() local [all …]
|
/dports/games/openbor4432/openbor-ba1eb4f/engine/source/gamelib/ |
H A D | screen.c | 26 if(pixelformat == PIXEL_x8) in allocscreen() 40 screen->pixelformat = pixelformat; in allocscreen() 42 if(pixelformat == PIXEL_x8) in allocscreen() 68 int pixelformat = src->pixelformat; in copyscreen() local 70 if(pixelformat != dest->pixelformat) in copyscreen() 116 int pixelformat = src->pixelformat; in copyscreen_o() local 180 if(dest->pixelformat != src->pixelformat) in copyscreen_o() 609 int pixelformat = src->pixelformat; in scalescreen() local 611 if(dest->pixelformat != pixelformat) in scalescreen() 663 int pixelformat = dest->pixelformat; in zoomscreen() local [all …]
|
/dports/games/openbor/openbor-3caaddd5/engine/source/gamelib/ |
H A D | screen.c | 26 if(pixelformat == PIXEL_x8) in allocscreen() 40 screen->pixelformat = pixelformat; in allocscreen() 42 if(pixelformat == PIXEL_x8) in allocscreen() 68 int pixelformat = src->pixelformat; in copyscreen() local 70 if(pixelformat != dest->pixelformat) in copyscreen() 116 int pixelformat = src->pixelformat; in copyscreen_o() local 180 if(dest->pixelformat != src->pixelformat) in copyscreen_o() 609 int pixelformat = src->pixelformat; in scalescreen() local 611 if(dest->pixelformat != pixelformat) in scalescreen() 663 int pixelformat = dest->pixelformat; in zoomscreen() local [all …]
|
/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/utils/v4l2-ctl/ |
H A D | v4l2-ctl-sdr.cpp | 58 vfmt.fmt.sdr.pixelformat = v4l2_fourcc(optarg[0], in sdr_cmd() 76 in_vfmt.fmt.sdr.pixelformat = vfmt.fmt.sdr.pixelformat; in sdr_set() 78 if (in_vfmt.fmt.sdr.pixelformat < 256) { in sdr_set() 81 fmt.index = in_vfmt.fmt.sdr.pixelformat; in sdr_set() 85 fmt.pixelformat = 0; in sdr_set() 87 in_vfmt.fmt.sdr.pixelformat = fmt.pixelformat; in sdr_set() 101 in_vfmt.fmt.sdr.pixelformat = vfmt.fmt.sdr.pixelformat; in sdr_set() 103 if (in_vfmt.fmt.sdr.pixelformat < 256) { in sdr_set() 106 fmt.index = in_vfmt.fmt.sdr.pixelformat; in sdr_set() 110 fmt.pixelformat = 0; in sdr_set() [all …]
|
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/v4l2-ctl/ |
H A D | v4l2-ctl-sdr.cpp | 58 vfmt.fmt.sdr.pixelformat = v4l2_fourcc(optarg[0], in sdr_cmd() 76 in_vfmt.fmt.sdr.pixelformat = vfmt.fmt.sdr.pixelformat; in sdr_set() 78 if (in_vfmt.fmt.sdr.pixelformat < 256) { in sdr_set() 81 fmt.index = in_vfmt.fmt.sdr.pixelformat; in sdr_set() 85 fmt.pixelformat = 0; in sdr_set() 87 in_vfmt.fmt.sdr.pixelformat = fmt.pixelformat; in sdr_set() 101 in_vfmt.fmt.sdr.pixelformat = vfmt.fmt.sdr.pixelformat; in sdr_set() 103 if (in_vfmt.fmt.sdr.pixelformat < 256) { in sdr_set() 106 fmt.index = in_vfmt.fmt.sdr.pixelformat; in sdr_set() 110 fmt.pixelformat = 0; in sdr_set() [all …]
|
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/utils/v4l2-ctl/ |
H A D | v4l2-ctl-sdr.cpp | 58 vfmt.fmt.sdr.pixelformat = v4l2_fourcc(optarg[0], in sdr_cmd() 76 in_vfmt.fmt.sdr.pixelformat = vfmt.fmt.sdr.pixelformat; in sdr_set() 78 if (in_vfmt.fmt.sdr.pixelformat < 256) { in sdr_set() 81 fmt.index = in_vfmt.fmt.sdr.pixelformat; in sdr_set() 85 fmt.pixelformat = 0; in sdr_set() 87 in_vfmt.fmt.sdr.pixelformat = fmt.pixelformat; in sdr_set() 101 in_vfmt.fmt.sdr.pixelformat = vfmt.fmt.sdr.pixelformat; in sdr_set() 103 if (in_vfmt.fmt.sdr.pixelformat < 256) { in sdr_set() 106 fmt.index = in_vfmt.fmt.sdr.pixelformat; in sdr_set() 110 fmt.pixelformat = 0; in sdr_set() [all …]
|
/dports/multimedia/gavl/gavl-1.4.0/gavl/ |
H A D | video.c | 125 gavl_pixelformat_to_string(input_format->pixelformat), in add_context_csp() 249 (tmp_format.pixelformat == GAVL_RGBA_32) && in gavl_video_converter_reinit() 250 (output_format->pixelformat == GAVL_RGB_32)) in gavl_video_converter_reinit() 251 tmp_format.pixelformat = GAVL_RGB_32; in gavl_video_converter_reinit() 255 if(tmp_format.pixelformat != output_format->pixelformat) in gavl_video_converter_reinit() 290 if(gavl_pixelformat_can_scale(tmp_format.pixelformat, output_format->pixelformat)) in gavl_video_converter_reinit() 376 tmp_format1.pixelformat = tmp_csp; in gavl_video_converter_reinit() 378 tmp_format1.pixelformat = output_format->pixelformat; in gavl_video_converter_reinit() 387 tmp_format1.pixelformat = output_format->pixelformat; in gavl_video_converter_reinit() 428 tmp_format1.pixelformat = tmp_csp; in gavl_video_converter_reinit() [all …]
|
H A D | scale_context.c | 91 switch(pixelformat) in get_func() 200 switch(pixelformat) in get_minmax() 313 if((pixelformat == GAVL_YUY2) || (pixelformat == GAVL_UYVY)) in alloc_temp() 608 (src_format->pixelformat == GAVL_UYVY)) in gavl_video_scale_context_init() 620 (dst_format->pixelformat == GAVL_UYVY)) in gavl_video_scale_context_init() 764 alloc_temp(ctx, src_format->pixelformat); in gavl_video_scale_context_init() 1087 if((format->pixelformat == GAVL_YUY2) || in gavl_video_scale_context_init_convolve() 1088 (format->pixelformat == GAVL_UYVY)) in gavl_video_scale_context_init_convolve() 1101 if((format->pixelformat == GAVL_YUY2) || in gavl_video_scale_context_init_convolve() 1102 (format->pixelformat == GAVL_UYVY)) in gavl_video_scale_context_init_convolve() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/ |
H A D | bmptopnm.c | 64 struct pixelformat { struct 118 struct pixelformat pixelformat; member 810 struct pixelformat const pixelformat, in extractBitFields() argument 818 (rasterval >> pixelformat.red.shift) & pixelformat.red.mask; in extractBitFields() 820 (rasterval >> pixelformat.grn.shift) & pixelformat.grn.mask; in extractBitFields() 842 struct pixelformat const pixelformat) { in convertRow16() argument 868 struct pixelformat const pixelformat) { in convertRow24() argument 908 struct pixelformat const pixelformat) { in convertRow32() argument 956 struct pixelformat const pixelformat, in convertRow() argument 1568 struct pixelformat const pixelformat, in writeRasterGen() argument [all …]
|
/dports/multimedia/gmerlin/gmerlin-1.2.0/tests/ |
H A D | gmerlin_psnr.c | 80 (format_1.pixelformat != format_2.pixelformat)) in main() 94 if(gavl_pixelformat_is_gray(format_1.pixelformat)) in main() 98 else if(gavl_pixelformat_is_yuv(format_1.pixelformat)) in main() 102 else if(gavl_pixelformat_is_rgb(format_1.pixelformat)) in main() 106 if(gavl_pixelformat_has_alpha(format_1.pixelformat)) in main() 113 if(gavl_pixelformat_is_gray(format_1.pixelformat)) in main() 118 else if(gavl_pixelformat_is_yuv(format_1.pixelformat) || in main() 119 gavl_pixelformat_is_rgb(format_1.pixelformat)) in main() 124 if(gavl_pixelformat_has_alpha(format_1.pixelformat)) in main()
|
/dports/multimedia/gavl/gavl-1.4.0/src/ |
H A D | pngutil.c | 45 if((format->pixelformat != GAVL_RGB_24) && (format->pixelformat != GAVL_RGBA_32)) in write_png() 51 if(gavl_pixelformat_has_alpha(format->pixelformat)) in write_png() 53 format_1.pixelformat = GAVL_RGBA_32; in write_png() 58 format_1.pixelformat = GAVL_RGB_24; in write_png() 70 else if(format->pixelformat == GAVL_RGB_24) in write_png() 121 gavl_pixelformat_t pixelformat) in read_png() argument 218 format->pixelformat = GAVL_RGBA_32; in read_png() 220 format->pixelformat = GAVL_RGB_24; in read_png() 237 if(format->pixelformat != pixelformat) in read_png() 244 format_1.pixelformat = pixelformat; in read_png() [all …]
|
H A D | blend_test.c | 54 if((format->pixelformat != GAVL_RGB_24) && (format->pixelformat != GAVL_RGBA_32)) in write_png() 60 if(gavl_pixelformat_has_alpha(format->pixelformat)) in write_png() 62 format_1.pixelformat = GAVL_RGBA_32; in write_png() 67 format_1.pixelformat = GAVL_RGB_24; in write_png() 77 else if(format->pixelformat == GAVL_RGB_24) in write_png() 224 format->pixelformat = GAVL_RGBA_32; in read_png() 226 format->pixelformat = GAVL_RGB_24; in read_png() 243 if(format->pixelformat != pixelformat) in read_png() 248 format_1.pixelformat = pixelformat; in read_png() 261 format->pixelformat = pixelformat; in read_png() [all …]
|
/dports/graphics/jogamp-jogl/jogl/src/nativewindow/classes/com/jogamp/nativewindow/util/ |
H A D | PixelRectangle.java | 92 protected final PixelFormat pixelformat; field in PixelRectangle.GenericPixelRect 112 …public GenericPixelRect(final PixelFormat pixelformat, final DimensionImmutable size, int strideIn… in GenericPixelRect() argument 116 if( strideInBytes < pixelformat.comp.bytesPerPixel() * size.getWidth()) { in GenericPixelRect() 117 …Invalid stride "+strideInBytes+", must be greater than bytesPerPixel "+pixelformat.comp.bytesPerPi… in GenericPixelRect() 120 strideInBytes = pixelformat.comp.bytesPerPixel() * size.getWidth(); in GenericPixelRect() 126 this.pixelformat = pixelformat; in GenericPixelRect() 151 int hash = pixelformat.comp.hashCode(); in hashCode() 165 return pixelformat; in getPixelformat() 190 …return "PixelRect[obj 0x"+Integer.toHexString(super.hashCode())+", "+pixelformat+", "+size+", stri… in toString()
|
/dports/multimedia/gmerlin/gmerlin-1.2.0/plugins/png/ |
H A D | pngwriter.c | 92 if(gavl_pixelformat_is_gray(format->pixelformat)) in bg_pngwriter_write_header() 94 if(gavl_pixelformat_has_alpha(format->pixelformat)) in bg_pngwriter_write_header() 98 format->pixelformat = GAVL_GRAYA_16; in bg_pngwriter_write_header() 100 format->pixelformat = GAVL_GRAYA_32; in bg_pngwriter_write_header() 106 format->pixelformat = GAVL_GRAY_8; in bg_pngwriter_write_header() 108 format->pixelformat = GAVL_GRAY_16; in bg_pngwriter_write_header() 113 if(gavl_pixelformat_has_alpha(format->pixelformat)) in bg_pngwriter_write_header() 117 format->pixelformat = GAVL_RGBA_32; in bg_pngwriter_write_header() 119 format->pixelformat = GAVL_RGBA_64; in bg_pngwriter_write_header() 125 format->pixelformat = GAVL_RGB_24; in bg_pngwriter_write_header() [all …]
|
/dports/graphics/libsixel/sixel-1.8.6/src/ |
H A D | frame.c | 188 frame->pixelformat = pixelformat; in sixel_frame_init() 245 return frame->pixelformat; in sixel_frame_get_pixelformat() 307 switch (frame->pixelformat) { in sixel_frame_strip_alpha() 352 switch (frame->pixelformat) { in sixel_frame_strip_alpha() 414 switch (frame->pixelformat) { in sixel_frame_convert_to_rgb888() 601 int pixelformat, in clip() argument 619 switch (pixelformat) { in clip() 629 pixelformat); in clip() 652 pixelformat); in clip() 705 switch (frame->pixelformat) { in sixel_frame_clip() [all …]
|
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/capture/ |
H A D | v4lcapture.cpp | 80 …lue, sizeof(value), ">%c%c%c%c", fmt.pixelformat >> 0, fmt.pixelformat >> 8, fmt.pixelformat >> 16… in getDeviceName() 83 …ed format: %s: %c%c%c%c\n", fmt.description, fmt.pixelformat >> 0, fmt.pixelformat >> 8, fmt.pixel… in getDeviceName() 84 fmt.pixelformat >> 24); in getDeviceName() 86 sizes.pixel_format = fmt.pixelformat; in getDeviceName() 93 rates.pixel_format = fmt.pixelformat; in getDeviceName()
|
/dports/graphics/jogamp-jogl/jogl/src/newt/classes/jogamp/newt/ |
H A D | PointerIconImpl.java | 42 private final PixelFormat pixelformat; field in PointerIconImpl 50 …public PointerIconImpl(final DisplayImpl display, final PixelFormat pixelformat, final DimensionIm… in PointerIconImpl() argument 52 this.pixelformat = pixelformat; in PointerIconImpl() 61 this.pixelformat = pixelrect.getPixelformat(); in PointerIconImpl() 75 hash = ((hash << 5) - hash) + pixelformat.hashCode(); in hashCode() 96 …handle = display.createPointerIconImpl(pixelformat, size.getWidth(), size.getHeight(), pixels, hot… in validatedHandle() 109 public final PixelFormat getPixelformat() { return pixelformat; } in getPixelformat() 157 return size.getWidth() * pixelformat.comp.bytesPerPixel(); in getStride() 169 …hCode())+", "+display.getFQName()+", 0x"+Long.toHexString(handle)+", "+pixelformat+", "+size+", "+… in toString()
|
/dports/multimedia/gmerlin/gmerlin-1.2.0/plugins/videofilters/ |
H A D | fv_cropscale.c | 889 vp->out_format.pixelformat = vp->in_format.pixelformat; in set_out_format() 891 switch(vp->in_format.pixelformat) in set_out_format() 925 vp->out_format.pixelformat = GAVL_YUV_422_P; in set_out_format() 952 vp->out_format.pixelformat = GAVL_YUVJ_422_P; in set_out_format() 974 vp->out_format.pixelformat = GAVL_YUV_444_P; in set_out_format() 978 vp->out_format.pixelformat = GAVL_YUV_422_P; in set_out_format() 1030 vp->out_format.pixelformat = GAVL_YUV_444_P; in set_out_format() 1083 vp->out_format.pixelformat = GAVL_YUV_422_P; in set_out_format() 1087 vp->out_format.pixelformat = GAVL_YUV_444_P; in set_out_format() 1115 vp->out_format.pixelformat = GAVL_YUV_422_P; in set_out_format() [all …]
|