Home
last modified time | relevance | path

Searched refs:pixel_format (Results 1 – 25 of 60) sorted by relevance

123

/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUM_FRAMESIZES.c59 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 …]
Dv4l2_show.c135 framesize->index, framesize->pixel_format, framesize->type); in show_v4l2_frmsizeenum()
/third_party/skia/third_party/externals/libwebp/imageio/
Dwicdec.c61 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/
Dvpcc.c35 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()
Drawvideodec.c32 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"}…
Dimg2.h51 char *pixel_format; /**< Set by a private option. */ member
Drawdec.h33 char *pixel_format; /**< Set by a private option. */ member
/third_party/gstreamer/gstplugins_bad/ext/directfb/
Ddfbvideosink.c167 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 …]
Ddfbvideosink.h67 DFBSurfacePixelFormat pixel_format; member
130 DFBSurfacePixelFormat pixel_format; member
/third_party/ffmpeg/libavdevice/
Dlibdc1394.c44 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()
Dkmsgrab.c172 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()
Davfoundation.m126 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 …]
Dv4l2.c89 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…
Davdevice.h406 enum AVPixelFormat pixel_format; member
/third_party/mesa3d/src/gallium/targets/libgl-gdi/tests/
Dwgl_tests.cpp93 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/libavutil/
Dhwcontext_videotoolbox.c118 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/glfw/src/
Dmir_window.c281 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/
Dffmpeg_videotoolbox.c41 OSType pixel_format = CVPixelBufferGetPixelFormatType(pixbuf); in videotoolbox_retrieve_data() local
49 switch (pixel_format) { in videotoolbox_retrieve_data()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtptheorapay.c530 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()
Dgstrtptheorapay.h70 gint pixel_format; member
/third_party/libdrm/
Dxf86drmMode.h116 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],
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/cocoa/
Dgstglcontext_cocoa.m173 return context->priv->pixel_format;
313 context_cocoa->priv->pixel_format = fmt;
401 g_return_val_if_fail (cocoa->priv->pixel_format, NULL);
403 return cgl_pixel_format_to_structure (cocoa->priv->pixel_format);
Dgstgl_cocoa_private.h37 CGLPixelFormatObj pixel_format; member
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Davfvideosrc.m51 static GstVideoFormat get_gst_video_format(NSNumber *pixel_format);
222 - (GstVideoFormat)getGstVideoFormat:(NSNumber *)pixel_format;
566 - (GstVideoFormat)getGstVideoFormat:(NSNumber *)pixel_format
568 GstVideoFormat gst_format = get_gst_video_format(pixel_format);
571 [[pixel_format stringValue] UTF8String]);
698 for (NSNumber *pixel_format in pixel_formats) {
699 GstVideoFormat gst_format = [self getGstVideoFormat:pixel_format];
776 for (NSNumber *pixel_format in pixel_formats) {
777 GstVideoFormat gst_format = [self getGstVideoFormat:pixel_format];
1618 for (NSNumber *pixel_format in pixel_formats) {
[all …]
/third_party/cef/libcef/browser/osr/
Dvideo_consumer_osr.cc107 media::VideoFrame::AllocationSize(info->pixel_format, info->coded_size)) { in OnFrameCaptured()

123