Home
last modified time | relevance | path

Searched refs:pixelformat (Results 1 – 25 of 47) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_modes.c103 config.pixelformat = DirectFB_SDLToDFBPixelFormat(mode->format); in CheckSetDisplayMode()
207 dlc.pixelformat = DSPF_ARGB; in DirectFB_InitModes()
213 dlc.pixelformat = DSPF_AiRGB; in DirectFB_InitModes()
222 mode.format = DirectFB_DFBToSDLPixelFormat(dlc.pixelformat); in DirectFB_InitModes()
225 SDL_DFB_ERR("Unknown dfb pixelformat %x !\n", dlc.pixelformat); in DirectFB_InitModes()
237 dispdata->pixelformat = dlc.pixelformat; in DirectFB_InitModes()
327 config.pixelformat = DirectFB_SDLToDFBPixelFormat(mode->format); in DirectFB_SetDisplayMode()
328 data->pixelformat = config.pixelformat; in DirectFB_SetDisplayMode()
362 && (config.pixelformat != rconfig.pixelformat))) { in DirectFB_SetDisplayMode()
368 data->pixelformat = rconfig.pixelformat; in DirectFB_SetDisplayMode()
DSDL_DirectFB_modes.h35 DFBSurfacePixelFormat pixelformat; member
DSDL_DirectFB_mouse.c102 dsc.pixelformat = DSPF_ARGB; in DirectFB_CreateDefaultCursor()
160 dsc.pixelformat = DSPF_ARGB; in DirectFB_CreateCursor()
DSDL_DirectFB_video.c390 DirectFB_DFBToSDLPixelFormat(DFBSurfacePixelFormat pixelformat) in DirectFB_DFBToSDLPixelFormat() argument
395 if (pixelformat_tab[i].dfb == pixelformat) in DirectFB_DFBToSDLPixelFormat()
DSDL_DirectFB_render.c478 layconf.pixelformat = DirectFB_SDLToDFBPixelFormat(data->format); in DirectFB_AcquireVidLayer()
523 DFBSurfacePixelFormat pixelformat; in DirectFB_CreateTexture() local
531 pixelformat = DirectFB_SDLToDFBPixelFormat(texture->format); in DirectFB_CreateTexture()
532 if (pixelformat == DSPF_UNKNOWN) { in DirectFB_CreateTexture()
538 data->pitch = texture->w * DFB_BYTES_PER_PIXEL(pixelformat); in DirectFB_CreateTexture()
565 dsc.pixelformat = pixelformat; in DirectFB_CreateTexture()
DSDL_DirectFB_video.h165 Uint32 DirectFB_DFBToSDLPixelFormat(DFBSurfacePixelFormat pixelformat);
DSDL_DirectFB_window.c91 desc.pixelformat = dispdata->pixelformat; in DirectFB_CreateWindow()
220 dsc.pixelformat = DSPF_ARGB; in DirectFB_SetWindowIcon()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c34 int valid_pixelformat(__u32 pixelformat) in valid_pixelformat() argument
38 switch (pixelformat) { in valid_pixelformat()
222 format.fmt.pix.pixelformat, in do_get_formats()
244 (format.fmt.pix.pixelformat)); in do_get_formats()
751 format_max.fmt.pix.pixelformat = fmtdesc.pixelformat; in do_set_formats_enum()
773 format_max.fmt.pix.pixelformat, in do_set_formats_enum()
796 (format_max.fmt.pix.pixelformat)); in do_set_formats_enum()
797 CU_ASSERT_EQUAL(format_max.fmt.pix.pixelformat, in do_set_formats_enum()
798 fmtdesc.pixelformat); in do_set_formats_enum()
828 format_min.fmt.pix.pixelformat = fmtdesc.pixelformat; in do_set_formats_enum()
[all …]
Dtest_VIDIOC_ENUM_FRAMESIZES.c183 do_test_VIDIOC_ENUM_FRAMESIZES(format.pixelformat); in do_test_VIDIOC_ENUM_FRAMESIZES_type()
314 pixelformat); in do_test_VIDIOC_ENUM_FRAMESIZES_type_invalid_index()
355 } while (ret_enum == 0 && i != 0 && format.pixelformat != pixel_format); in supported_pixel_format_type()
357 if (ret_enum == 0 && i != 0 && format.pixelformat == pixel_format) { in supported_pixel_format_type()
637 fmt = format_capture.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
639 fmt = format_output.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
641 fmt = format_overlay.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
643 fmt = format_private.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
Dtest_VIDIOC_ENUM_FMT.c89 format2.pixelformat = format.pixelformat; in do_enumerate_formats()
98 format.description, format.pixelformat, in do_enumerate_formats()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2object.c961 if (fmt->pixelformat == fourcc) in gst_v4l2_object_get_format_from_fourcc()
964 if (fmt->pixelformat == V4L2_PIX_FMT_MJPEG || in gst_v4l2_object_get_format_from_fourcc()
965 fmt->pixelformat == V4L2_PIX_FMT_JPEG || in gst_v4l2_object_get_format_from_fourcc()
966 fmt->pixelformat == V4L2_PIX_FMT_PJPG) { in gst_v4l2_object_get_format_from_fourcc()
997 guint32 fourcc = fmt->pixelformat; in gst_v4l2_object_format_get_rank()
1158 if (fa->pixelformat == fb->pixelformat) in format_cmp_func()
1201 GST_FOURCC_ARGS (format->pixelformat)); in gst_v4l2_object_fill_format_list()
1219 " %" GST_FOURCC_FORMAT "%s", GST_FOURCC_ARGS (format->pixelformat), in gst_v4l2_object_fill_format_list()
1973 guint32 pixelformat, gint * width, gint * height);
2033 gst_v4l2_object_v4l2fourcc_is_rgb (fmt->fmt.pix.pixelformat); in gst_v4l2_object_get_colorspace()
[all …]
Dgstv4l2.c93 GST_FOURCC_ARGS (format.pixelformat)); in gst_v4l2_probe_template_caps()
95 template = gst_v4l2_object_v4l2fourcc_to_structure (format.pixelformat); in gst_v4l2_probe_template_caps()
100 switch (format.pixelformat) { in gst_v4l2_probe_template_caps()
/third_party/ffmpeg/libavdevice/
Dv4l2.c73 int pixelformat; /* V4L2_PIX_FMT_* */ member
193 uint32_t pixelformat) in device_init() argument
201 fmt.fmt.pix.pixelformat = pixelformat; in device_init()
217 if (pixelformat != fmt.fmt.pix.pixelformat) { in device_init()
221 pixelformat, fmt.fmt.pix.pixelformat); in device_init()
249 static void list_framesizes(AVFormatContext *ctx, uint32_t pixelformat) in list_framesizes() argument
252 struct v4l2_frmsizeenum vfse = { .pixel_format = pixelformat }; in list_framesizes()
281 enum AVCodecID codec_id = ff_fmt_v4l2codec(vfd.pixelformat); in list_formats()
282 enum AVPixelFormat pix_fmt = ff_fmt_v4l2ff(vfd.pixelformat, codec_id); in list_formats()
307 list_framesizes(ctx, vfd.pixelformat); in list_formats()
[all …]
Dv4l2enc.c78 fmt.fmt.pix.pixelformat = v4l2_pixfmt; in write_header()
/third_party/ffmpeg/libavcodec/
Dv4l2_context.c137 ctx->format.fmt.pix_mp.pixelformat = fmt->v4l2_fmt; in v4l2_save_to_context()
147 ctx->format.fmt.pix.pixelformat = fmt->v4l2_fmt; in v4l2_save_to_context()
487 fmt->fmt.pix_mp.pixelformat = v4l2_fmt; in v4l2_try_raw_format()
489 fmt->fmt.pix.pixelformat = v4l2_fmt; in v4l2_try_raw_format()
520 pixfmt = ff_v4l2_format_v4l2_to_avfmt(fdesc.pixelformat, AV_CODEC_ID_RAWVIDEO); in v4l2_get_raw_format()
555 if (fdesc.pixelformat == v4l2_fmt) in v4l2_get_coded_format()
764 …>type) ? av_fourcc2str(ctx->format.fmt.pix_mp.pixelformat) : av_fourcc2str(ctx->format.fmt.pix.pix… in ff_v4l2_context_init()
Dv4l2_m2m.c154 ofmt.fmt.pix_mp.pixelformat : in v4l2_configure_contexts()
155 ofmt.fmt.pix.pixelformat), in v4l2_configure_contexts()
157 cfmt.fmt.pix_mp.pixelformat : in v4l2_configure_contexts()
158 cfmt.fmt.pix.pixelformat)); in v4l2_configure_contexts()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wgl/
Dgstglcontext_wgl.c354 gint pixelformat = 0; in gst_gl_context_wgl_choose_format() local
393 pixelformat = ChoosePixelFormat (device, &pfd); in gst_gl_context_wgl_choose_format()
395 if (!pixelformat) { in gst_gl_context_wgl_choose_format()
401 config = pixel_format_to_structure (device, pixelformat); in gst_gl_context_wgl_choose_format()
405 res = SetPixelFormat (device, pixelformat, &pfd); in gst_gl_context_wgl_choose_format()
/third_party/weston/clients/
Dsimple-dmabuf-v4l.c220 fmt.fmt.pix.pixelformat == format) in set_format()
223 fmt.fmt.pix_mp.pixelformat == format) in set_format()
227 fmt.fmt.pix.pixelformat = format; in set_format()
229 fmt.fmt.pix_mp.pixelformat = format; in set_format()
237 fmt.fmt.pix.pixelformat != format) || in set_format()
239 fmt.fmt.pix_mp.pixelformat != format)) { in set_format()
514 dump_format(pix->pixelformat, buf)); in fill_buffer_format()
532 dump_format(pix_mp->pixelformat, buf), in fill_buffer_format()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2decoder.c310 GST_FOURCC_ARGS (fmtdesc.pixelformat), fmtdesc.description); in gst_v4l2_decoder_enum_sink_fmt()
311 *out_fmt = fmtdesc.pixelformat; in gst_v4l2_decoder_enum_sink_fmt()
324 .pixelformat = pix_fmt, in gst_v4l2_decoder_set_sink_fmt()
345 if (format.fmt.pix_mp.pixelformat != pix_fmt in gst_v4l2_decoder_set_sink_fmt()
378 if (gst_v4l2_format_to_video_format (fmt.fmt.pix_mp.pixelformat, &format)) in gst_v4l2_decoder_enum_src_formats()
400 if (gst_v4l2_format_to_video_format (fmtdesc.pixelformat, &format)) { in gst_v4l2_decoder_enum_src_formats()
448 pix_fmt != fmt.fmt.pix_mp.pixelformat) { in gst_v4l2_decoder_select_src_format()
450 fmt.fmt.pix_mp.pixelformat = pix_fmt; in gst_v4l2_decoder_select_src_format()
461 GST_FOURCC_ARGS (fmt.fmt.pix_mp.pixelformat)); in gst_v4l2_decoder_select_src_format()
/third_party/mesa3d/src/mesa/drivers/x11/
Dxm_line.c69 xmesa->pixelformat);
425 xmesa->pixelformat); in xor_line()
472 switch (xmesa->pixelformat) { in get_line_func()
494 switch (xmesa->pixelformat) { in get_line_func()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DDirectFBSurfaceEXT.cpp55 desc.pixelformat = DSPF_RGB32; in attachImage()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11modes.c362 Uint32 pixelformat; in X11_InitModes_XRandR() local
382 pixelformat = X11_GetPixelFormatFromVisualInfo(dpy, &vinfo); in X11_InitModes_XRandR()
383 if (SDL_ISPIXELFORMAT_INDEXED(pixelformat)) { in X11_InitModes_XRandR()
387 scanline_pad = SDL_BYTESPERPIXEL(pixelformat) * 8; in X11_InitModes_XRandR()
444 mode.format = pixelformat; in X11_InitModes_XRandR()
/third_party/openGLES/extensions/NV/
DWGL_NV_gpu_affinity.txt428 // Set a pixelformat on the affinity-DC
469 // Setup desired pixelformat attributes for the pbuffer
541 3) Should setting a pixelformat on an affinity-DC be required?
543 DISCUSSION: Setting a pixelformat on an affinity-DC is not
548 obtained from a window. The DC has a pixelformat set by the
550 same pixelformat. This means the affinity-DC, that the affinity-
551 context is created from, needs to have the same pixelformat set.
553 RESOLUTION: YES. Setting a pixelformat on an affinity-DC is
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DWGL_NV_gpu_affinity.txt428 // Set a pixelformat on the affinity-DC
469 // Setup desired pixelformat attributes for the pbuffer
541 3) Should setting a pixelformat on an affinity-DC be required?
543 DISCUSSION: Setting a pixelformat on an affinity-DC is not
548 obtained from a window. The DC has a pixelformat set by the
550 same pixelformat. This means the affinity-DC, that the affinity-
551 context is created from, needs to have the same pixelformat set.
553 RESOLUTION: YES. Setting a pixelformat on an affinity-DC is
/third_party/flutter/skia/third_party/externals/sdl/src/render/psp/
DSDL_render_psp.c347 int pixelformat; in PSP_CreateRenderer() local
395 pixelformat=PixelFormatToPSPFMT(SDL_GetWindowPixelFormat(window)); in PSP_CreateRenderer()
396 switch(pixelformat) in PSP_CreateRenderer()
404 data->psm = pixelformat; in PSP_CreateRenderer()

12