/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUM_FRAMESIZES.c | 59 framesize.pixel_format = fmt; in do_test_VIDIOC_ENUM_FRAMESIZES() 76 CU_ASSERT_EQUAL(framesize.pixel_format, fmt); in do_test_VIDIOC_ENUM_FRAMESIZES() 209 framesize.pixel_format = fmt; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index() 226 framesize.pixel_format = fmt; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index() 241 framesize.pixel_format = fmt; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index() 258 framesize.pixel_format = fmt; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index() 275 framesize.pixel_format = fmt; in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index() 334 __u32 pixel_format) in supported_pixel_format_type() argument 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() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | wicdec.c | 61 const GUID* pixel_format; member 196 static int HasPalette(GUID pixel_format) { in HasPalette() argument 197 return (IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 199 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 201 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 203 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 210 GUID pixel_format) { in HasAlpha() argument 212 if (HasPalette(pixel_format)) { in HasAlpha() 233 has_alpha = IsEqualGUID(MAKE_REFGUID(pixel_format), in HasAlpha() 235 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasAlpha() [all …]
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | wicdec.c | 61 const GUID* pixel_format; member 199 static int HasPalette(GUID pixel_format) { in HasPalette() argument 200 return (IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 202 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 204 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 206 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasPalette() 213 GUID pixel_format) { in HasAlpha() argument 215 if (HasPalette(pixel_format)) { in HasAlpha() 236 has_alpha = IsEqualGUID(MAKE_REFGUID(pixel_format), in HasAlpha() 238 IsEqualGUID(MAKE_REFGUID(pixel_format), in HasAlpha() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | vpcc.c | 35 enum AVPixelFormat pixel_format, in get_vpx_chroma_subsampling() argument 39 if (av_pix_fmt_get_chroma_sub_sample(pixel_format, &chroma_w, &chroma_h) == 0) { in get_vpx_chroma_subsampling() 50 av_log(s, AV_LOG_ERROR, "Unsupported pixel format (%d)\n", pixel_format); in get_vpx_chroma_subsampling() 54 static int get_bit_depth(AVFormatContext *s, enum AVPixelFormat pixel_format) in get_bit_depth() argument 56 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pixel_format); in get_bit_depth() 59 pixel_format); in get_bit_depth()
|
D | rawvideodec.c | 32 char *pixel_format; /**< Set by a private option. */ member 52 if ((pix_fmt = av_get_pix_fmt(s->pixel_format)) == AV_PIX_FMT_NONE) { in rawvideo_read_header() 54 s->pixel_format); in rawvideo_read_header() 91 …{ "pixel_format", "set pixel format", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = "yuv420p"}…
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsopengl.c | 434 int pixel_format = 0; in WIN_GL_ChoosePixelFormatARB() local 454 1, &pixel_format, in WIN_GL_ChoosePixelFormatARB() 465 return pixel_format; in WIN_GL_ChoosePixelFormatARB() 474 int pixel_format = 0; in WIN_GL_SetupWindowInternal() local 565 pixel_format = WIN_GL_ChoosePixelFormatARB(_this, iAttribs, fAttribs); in WIN_GL_SetupWindowInternal() 568 if ( ( !pixel_format ) && ( _this->gl_config.accelerated < 0 ) ) { in WIN_GL_SetupWindowInternal() 570 pixel_format = WIN_GL_ChoosePixelFormatARB(_this, iAttribs, fAttribs); in WIN_GL_SetupWindowInternal() 573 if (!pixel_format) { in WIN_GL_SetupWindowInternal() 574 pixel_format = WIN_GL_ChoosePixelFormat(hdc, &pfd); in WIN_GL_SetupWindowInternal() 576 if (!pixel_format) { in WIN_GL_SetupWindowInternal() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/directfb/ |
D | dfbvideosink.c | 167 meta->pixel_format = 0; in gst_meta_dfbsurface_init() 198 DFBSurfacePixelFormat pixel_format = DSPF_UNKNOWN; in gst_dfb_buffer_pool_set_config() local 221 pixel_format = gst_dfbvideosink_get_format_from_caps (caps); in gst_dfb_buffer_pool_set_config() 234 s_dsc.pixelformat = pixel_format; in gst_dfb_buffer_pool_set_config() 242 gst_dfbvideosink_get_format_name (pixel_format)); in gst_dfb_buffer_pool_set_config() 340 meta->pixel_format = gst_dfbvideosink_get_format_from_caps (dfbpool->caps); in gst_dfb_buffer_pool_alloc_buffer() 341 if (meta->pixel_format == DSPF_UNKNOWN) { in gst_dfb_buffer_pool_alloc_buffer() 355 s_dsc.pixelformat = meta->pixel_format; in gst_dfb_buffer_pool_alloc_buffer() 377 gst_dfbvideosink_get_format_name (meta->pixel_format), pitch); in gst_dfb_buffer_pool_alloc_buffer() 805 dfbvideosink->pixel_format = DSPF_UNKNOWN; in gst_dfbvideosink_setup() [all …]
|
D | dfbvideosink.h | 67 DFBSurfacePixelFormat pixel_format; member 130 DFBSurfacePixelFormat pixel_format; member
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirwindow.c | 81 MirPixelFormat pixel_format; in MIR_CreateWindow() local 103 pixel_format = MIR_mir_connection_get_egl_pixel_format(mir_data->connection, in MIR_CreateWindow() 108 pixel_format = FindValidPixelFormat(mir_data); in MIR_CreateWindow() 111 mir_data->pixel_format = pixel_format; in MIR_CreateWindow() 112 if (pixel_format == mir_pixel_format_invalid) { in MIR_CreateWindow() 123 pixel_format); in MIR_CreateWindow()
|
D | SDL_mirvideo.h | 40 MirPixelFormat pixel_format; member
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testoverlay2.c | 152 Uint32 pixel_format = SDL_PIXELFORMAT_YV12; variable 310 … SDL_UpdateTexture(MooseTexture, NULL, MooseFrame[i], MOOSEPIC_W*SDL_BYTESPERPIXEL(pixel_format)); in loop() 334 Uint32 pixel_format = SDL_PIXELFORMAT_NV12; in main() local 336 Uint32 pixel_format = SDL_PIXELFORMAT_YV12; in main() local 444 …MooseTexture = SDL_CreateTexture(renderer, pixel_format, SDL_TEXTUREACCESS_STREAMING, MOOSEPIC_W, … in main() 466 switch (pixel_format) { in main()
|
/third_party/mesa3d/src/gallium/targets/libgl-gdi/tests/ |
D | wgl_tests.cpp | 91 int pixel_format = ChoosePixelFormat(_hdc, &pfd); in window() local 92 if (pixel_format == 0) in window() 94 if (!SetPixelFormat(_hdc, pixel_format, &pfd)) in window()
|
/third_party/mesa3d/src/mesa/drivers/x11/ |
D | xmesaP.h | 59 enum pixel_format { enum 85 enum pixel_format dithered_pf; /* Pixel format when dithering */ 86 enum pixel_format undithered_pf;/* Pixel format when not dithering */ 117 enum pixel_format pixelformat;
|
/third_party/ffmpeg/libavdevice/ |
D | libdc1394.c | 44 char *pixel_format; /**< Set by a private option. */ member 83 { "pixel_format", "", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = "uyvy422"}, 0, 0, DEC }, 109 if ((pix_fmt = av_get_pix_fmt(dc1394->pixel_format)) == AV_PIX_FMT_NONE) { in dc1394_read_common() 110 av_log(c, AV_LOG_ERROR, "No such pixel format: %s.\n", dc1394->pixel_format); in dc1394_read_common()
|
D | kmsgrab.c | 172 if (fb->pixel_format != ctx->drm_format) { in kmsgrab_get_fb2() 175 ctx->plane_id, fb->pixel_format); in kmsgrab_get_fb2() 524 fb2->pixel_format, fb2->modifier, fb2->flags); in kmsgrab_read_header() 537 if (kmsgrab_formats[i].drm_format == fb2->pixel_format) { in kmsgrab_read_header() 542 fb2->pixel_format); in kmsgrab_read_header() 546 ctx->drm_format = fb2->pixel_format; in kmsgrab_read_header() 554 fb2->pixel_format); in kmsgrab_read_header()
|
D | avfoundation.m | 126 enum AVPixelFormat pixel_format; field 440 NSNumber *pixel_format; 487 if (ctx->pixel_format == avf_pixel_formats[i].ff_id) { 539 ctx->pixel_format = pxl_fmt_spec.ff_id; 542 ctx->pixel_format = pxl_fmt_spec.ff_id; 543 pixel_format = [NSNumber numberWithUnsignedInt:pxl_fmt_spec.avf_id]; 544 capture_dict = [NSDictionary dictionaryWithObject:pixel_format 657 stream->codecpar->format = ctx->pixel_format; 661 stream->codecpar->format = ctx->pixel_format; 1040 ctx->pixel_format, width, height, 1); [all …]
|
D | v4l2.c | 89 char *pixel_format; /**< Set by a private option. */ member 252 struct v4l2_frmsizeenum vfse = { .pixel_format = pixelformat }; in list_framesizes() 893 if (s->pixel_format) { in v4l2_read_header() 894 const AVCodecDescriptor *desc = avcodec_descriptor_get_by_name(s->pixel_format); in v4l2_read_header() 899 pix_fmt = av_get_pix_fmt(s->pixel_format); in v4l2_read_header() 903 s->pixel_format); in v4l2_read_header() 1106 …", "set preferred pixel format", OFFSET(pixel_format), AV_OPT_TYPE_S… 1107 …", "set preferred pixel format (for raw video) or codec name", OFFSET(pixel_format), AV_OPT_TYPE_S…
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_videotoolbox.c | 118 OSType pixel_format = CVPixelBufferGetPixelFormatType(pixbuf); in vt_map_frame() local 125 format = av_map_videotoolbox_format_to_pixfmt(pixel_format); in vt_map_frame() 128 av_fourcc2str(pixel_format)); in vt_map_frame()
|
/third_party/flutter/glfw/src/ |
D | mir_window.c | 281 MirPixelFormat pixel_format = findValidPixelFormat(); in createSurface() local 283 if (pixel_format == mir_pixel_format_invalid) in createSurface() 293 pixel_format); in createSurface() 615 MirPixelFormat pixel_format = findValidPixelFormat(); in _glfwPlatformCreateCursor() local 620 if (pixel_format == mir_pixel_format_invalid) in _glfwPlatformCreateCursor() 629 pixel_format, in _glfwPlatformCreateCursor()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_pixels.c | 488 SDL_AllocFormat(Uint32 pixel_format) in SDL_AllocFormat() argument 494 if (pixel_format == format->format) { in SDL_AllocFormat() 506 if (SDL_InitFormat(format, pixel_format) < 0) { in SDL_AllocFormat() 512 if (!SDL_ISPIXELFORMAT_INDEXED(pixel_format)) { in SDL_AllocFormat() 521 SDL_InitFormat(SDL_PixelFormat * format, Uint32 pixel_format) in SDL_InitFormat() argument 527 if (!SDL_PixelFormatEnumToMasks(pixel_format, &bpp, in SDL_InitFormat() 534 format->format = pixel_format; in SDL_InitFormat()
|
D | SDL_pixels_c.h | 28 extern int SDL_InitFormat(SDL_PixelFormat * format, Uint32 pixel_format);
|
/third_party/ffmpeg/fftools/ |
D | ffmpeg_videotoolbox.c | 41 OSType pixel_format = CVPixelBufferGetPixelFormatType(pixbuf); in videotoolbox_retrieve_data() local 49 switch (pixel_format) { in videotoolbox_retrieve_data()
|
/third_party/weston/libweston/backend-fbdev/ |
D | fbdev.c | 77 pixman_format_code_t pixel_format; /* frame buffer pixel format */ member 316 info->pixel_format = calculate_pixman_format(&varinfo, &fixinfo); in fbdev_query_screen_info() 319 if (info->pixel_format == 0) { in fbdev_query_screen_info() 450 pixman_image_create_bits(head->fb_info.pixel_format, in fbdev_frame_buffer_map() 690 a->pixel_format == b->pixel_format && in compare_screen_info()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtptheorapay.c | 530 switch (rtptheorapay->pixel_format) { in gst_rtp_theora_pay_finish_headers() 575 gint width, height, pixel_format; in gst_rtp_theora_pay_parse_id() local 597 pixel_format = (GST_READ_UINT8 (data) >> 3) & 0x03; in gst_rtp_theora_pay_parse_id() 600 rtptheorapay->pixel_format = pixel_format; in gst_rtp_theora_pay_parse_id()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/cocoa/ |
D | gstgl_cocoa_private.h | 37 CGLPixelFormatObj pixel_format; member
|