/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 …]
|
D | v4l2_show.c | 135 framesize->index, framesize->pixel_format, framesize->type); in show_v4l2_frmsizeenum()
|
/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 …]
|
D | image_enc.c | 85 WICPixelFormatGUID pixel_format = has_alpha ? GUID_WICPixelFormat32bppBGRA in WriteUsingWIC() local 109 IFS(IWICBitmapFrameEncode_SetPixelFormat(frame, &pixel_format)); in WriteUsingWIC()
|
/third_party/ffmpeg/libavformat/ |
D | vpcc.c | 36 enum AVPixelFormat pixel_format, in get_vpx_chroma_subsampling() argument 40 if (av_pix_fmt_get_chroma_sub_sample(pixel_format, &chroma_w, &chroma_h) == 0) { in get_vpx_chroma_subsampling() 51 av_log(s, AV_LOG_ERROR, "Unsupported pixel format (%d)\n", pixel_format); in get_vpx_chroma_subsampling() 55 static int get_bit_depth(AVFormatContext *s, enum AVPixelFormat pixel_format) in get_bit_depth() argument 57 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pixel_format); in get_bit_depth() 60 pixel_format); in get_bit_depth()
|
D | rawvideodec.c | 34 char *pixel_format; /**< Set by a private option. */ member 59 if ((pix_fmt = av_get_pix_fmt(s->pixel_format)) == AV_PIX_FMT_NONE) { in rawvideo_read_header() 61 s->pixel_format); in rawvideo_read_header() 94 s->pixel_format); in rawvideo_read_header() 139 …{ "pixel_format", "set pixel format", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = "yuv420p"}…
|
D | img2.h | 51 char *pixel_format; /**< Set by a private option. */ member
|
D | rawdec.h | 33 char *pixel_format; /**< Set by a private option. */ member
|
D | img2dec.c | 200 if (s->pixel_format && in ff_img_read_header() 201 (pix_fmt = av_get_pix_fmt(s->pixel_format)) == AV_PIX_FMT_NONE) { in ff_img_read_header() 203 s->pixel_format); in ff_img_read_header() 612 …{ "pixel_format", "set video pixel format", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str =…
|
/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 | v4l2.c | 100 char *pixel_format; /**< Set by a private option. */ member 263 struct v4l2_frmsizeenum vfse = { .pixel_format = pixelformat }; in list_framesizes() 904 if (s->pixel_format) { in v4l2_read_header() 905 const AVCodecDescriptor *desc = avcodec_descriptor_get_by_name(s->pixel_format); in v4l2_read_header() 910 pix_fmt = av_get_pix_fmt(s->pixel_format); in v4l2_read_header() 914 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…
|
D | avfoundation.m | 126 enum AVPixelFormat pixel_format; field 445 NSNumber *pixel_format; 492 if (ctx->pixel_format == avf_pixel_formats[i].ff_id) { 544 ctx->pixel_format = pxl_fmt_spec.ff_id; 547 ctx->pixel_format = pxl_fmt_spec.ff_id; 548 pixel_format = [NSNumber numberWithUnsignedInt:pxl_fmt_spec.avf_id]; 549 capture_dict = [NSDictionary dictionaryWithObject:pixel_format 662 stream->codecpar->format = ctx->pixel_format; 666 stream->codecpar->format = ctx->pixel_format; 1051 ctx->pixel_format, width, height, 1); [all …]
|
D | avdevice.h | 412 enum AVPixelFormat pixel_format; member
|
/third_party/mesa3d/src/gallium/targets/libgl-gdi/tests/ |
D | wgl_tests.cpp | 93 int pixel_format = ChoosePixelFormat(_hdc, &pfd); in window() local 94 if (pixel_format == 0) in window() 96 if (!SetPixelFormat(_hdc, pixel_format, &pfd)) in window()
|
/third_party/ffmpeg/libavcodec/ |
D | videotoolbox_vp9.c | 44 static int get_vpx_chroma_subsampling(enum AVPixelFormat pixel_format, in get_vpx_chroma_subsampling() argument 48 if (av_pix_fmt_get_chroma_sub_sample(pixel_format, &chroma_w, &chroma_h) == 0) { in get_vpx_chroma_subsampling()
|
D | v4l2_buffers.c | 344 int pixel_format = V4L2_TYPE_IS_MULTIPLANAR(fmt.type) ? in v4l2_buffer_swframe_to_buf() local 350 switch (pixel_format) { in v4l2_buffer_swframe_to_buf()
|
/third_party/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/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/libdrm/ |
D | xf86drmMode.h | 116 uint32_t pixel_format; /* fourcc code from drm_fourcc.h */ member 301 uint32_t pixel_format, const uint32_t bo_handles[4], 307 uint32_t pixel_format, const uint32_t bo_handles[4],
|
D | xf86drmMode.c | 282 uint32_t height, uint32_t pixel_format, const uint32_t bo_handles[4], in drmModeAddFB2WithModifiers() argument 292 f.pixel_format = pixel_format; in drmModeAddFB2WithModifiers() 308 uint32_t pixel_format, const uint32_t bo_handles[4], in drmModeAddFB2() argument 313 pixel_format, bo_handles, in drmModeAddFB2() 1736 ret->pixel_format = get.pixel_format; in drmModeGetFB2()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_videotoolbox.c | 593 OSType pixel_format = CVPixelBufferGetPixelFormatType(pixbuf); in vt_map_frame() local 600 format = av_map_videotoolbox_format_to_pixfmt(pixel_format); in vt_map_frame() 603 av_fourcc2str(pixel_format)); in vt_map_frame()
|
/third_party/skia/src/codec/ |
D | SkWuffsCodec.cpp | 544 uint32_t src_bits_per_pixel = fPixelConfig.pixel_format().bits_per_pixel(); in onStartIncrementalDecodeTwoPass() 635 uint32_t src_bits_per_pixel = fPixelBuffer.pixcfg.pixel_format().bits_per_pixel(); in onIncrementalDecodeTwoPass() 993 (imgcfg.pixcfg.pixel_format().repr == WUFFS_BASE__PIXEL_FORMAT__BGRA_NONPREMUL) in SkWuffsCodec_MakeFromStream()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_gpu.h | 72 uint32_t pixel_format; member
|
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/ |
D | EGL_EXT_image_dma_buf_import.txt | 126 by drm_fourcc.h and used as the pixel_format parameter of the 157 pixel_format specified for EGL_LINUX_DRM_FOURCC_EXT. For example, if 162 from the pixel_format specified as EGL_LINUX_DRM_FOURCC_EXT. For example,
|