Home
last modified time | relevance | path

Searched refs:fourcc (Results 1 – 25 of 147) sorted by relevance

123456

/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datomsrecovery.c264 read_atom_header (FILE * f, guint32 * fourcc, guint32 * size) in read_atom_header() argument
271 *fourcc = GST_READ_UINT32_LE (aux + 4); in read_atom_header()
278 guint32 fourcc; in moov_recov_file_parse_prefix() local
283 if (!read_atom_header (moovrf->file, &fourcc, &size)) { in moov_recov_file_parse_prefix()
287 if (fourcc != FOURCC_ftyp) { in moov_recov_file_parse_prefix()
295 if (!read_atom_header (moovrf->file, &fourcc, &size)) in moov_recov_file_parse_prefix()
300 if (fourcc != FOURCC_ftyp) in moov_recov_file_parse_prefix()
310 guint32 fourcc; in moov_recov_file_parse_mvhd() local
312 if (!read_atom_header (moovrf->file, &fourcc, &size)) { in moov_recov_file_parse_mvhd()
316 if (fourcc != FOURCC_mvhd) in moov_recov_file_parse_mvhd()
[all …]
Dqtdemux_tree.c39 qtdemux_tree_get_child_by_type (GNode * node, guint32 fourcc) in qtdemux_tree_get_child_by_type() argument
51 if (G_UNLIKELY (child_fourcc == fourcc)) { in qtdemux_tree_get_child_by_type()
59 qtdemux_tree_get_child_by_type_full (GNode * node, guint32 fourcc, in qtdemux_tree_get_child_by_type_full() argument
73 if (G_UNLIKELY (child_fourcc == fourcc)) { in qtdemux_tree_get_child_by_type_full()
91 qtdemux_tree_get_sibling_by_type_full (GNode * node, guint32 fourcc, in qtdemux_tree_get_sibling_by_type_full() argument
104 if (child_fourcc == fourcc) { in qtdemux_tree_get_sibling_by_type_full()
119 qtdemux_tree_get_sibling_by_type (GNode * node, guint32 fourcc) in qtdemux_tree_get_sibling_by_type() argument
121 return qtdemux_tree_get_sibling_by_type_full (node, fourcc, NULL); in qtdemux_tree_get_sibling_by_type()
Dqtdemux_tree.h37 GNode *qtdemux_tree_get_child_by_type (GNode * node, guint32 fourcc);
39 guint32 fourcc, GstByteReader * parser);
40 GNode *qtdemux_tree_get_sibling_by_type (GNode * node, guint32 fourcc);
42 guint32 fourcc, GstByteReader * parser);
Dqtatomparser.h118 qt_atom_parser_get_fourcc (GstByteReader * parser, guint32 * fourcc) in qt_atom_parser_get_fourcc() argument
126 *fourcc = GUINT32_SWAP_LE_BE (f_be); in qt_atom_parser_get_fourcc()
133 guint32 fourcc; in qt_atom_parser_get_fourcc_unchecked() local
135 fourcc = gst_byte_reader_get_uint32_be_unchecked (parser); in qt_atom_parser_get_fourcc_unchecked()
136 return GUINT32_SWAP_LE_BE (fourcc); in qt_atom_parser_get_fourcc_unchecked()
Dgstqtmux.c690 qtpad->fourcc = 0; in gst_qt_mux_pad_reset()
1042 GST_FOURCC_ARGS (qtpad->fourcc), size); in gst_qt_mux_prepare_caption_buffer()
1044 switch (qtpad->fourcc) { in gst_qt_mux_prepare_caption_buffer()
1280 AtomUDTA * udta, const char *tag, const char *tag2, guint32 fourcc) in gst_qt_mux_add_mp4_tag() argument
1291 GST_FOURCC_ARGS (fourcc), str); in gst_qt_mux_add_mp4_tag()
1292 atom_udta_add_str_tag (udta, fourcc, str); in gst_qt_mux_add_mp4_tag()
1304 GST_FOURCC_ARGS (fourcc), (gint) value); in gst_qt_mux_add_mp4_tag()
1305 atom_udta_add_uint_tag (udta, fourcc, 21, (gint) value); in gst_qt_mux_add_mp4_tag()
1321 GST_FOURCC_ARGS (fourcc), value, count); in gst_qt_mux_add_mp4_tag()
1322 atom_udta_add_uint_tag (udta, fourcc, 0, in gst_qt_mux_add_mp4_tag()
[all …]
Dqtdemux_types.c240 qtdemux_type_get (guint32 fourcc) in qtdemux_type_get() argument
245 if (G_UNLIKELY (qt_node_types[i].fourcc == fourcc)) in qtdemux_type_get()
250 GST_FOURCC_ARGS (fourcc)); in qtdemux_type_get()
Dqtdemux_dump.c246 guint32 size = 0, fourcc; in qtdemux_dump_dref() local
249 !qt_atom_parser_get_fourcc (data, &fourcc) || size < 8 || in qtdemux_dump_dref()
255 GST_FOURCC_ARGS (fourcc)); in qtdemux_dump_dref()
264 guint32 fourcc; in qtdemux_dump_stsd_avc1() local
275 fourcc = GET_FOURCC (data); in qtdemux_dump_stsd_avc1()
277 "", GST_FOURCC_ARGS (fourcc)); in qtdemux_dump_stsd_avc1()
366 guint32 fourcc; in qtdemux_dump_stsd() local
369 !qt_atom_parser_get_fourcc (data, &fourcc)) in qtdemux_dump_stsd()
374 "", GST_FOURCC_ARGS (fourcc)); in qtdemux_dump_stsd()
386 switch (fourcc) { in qtdemux_dump_stsd()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavideoformat.c38 #define F(format, fourcc, rtformat, order, bpp, depth, r, g, b, a) { \ argument
41 { VA_FOURCC fourcc, G_PASTE (G_PASTE (VA_, order), _FIRST), \
43 #define G(format, fourcc, rtformat, order, bpp) \ argument
44 F (format, fourcc, rtformat, order, bpp, 0, 0, 0 ,0, 0)
122 #define F(fourcc, order, bpp, depth, r, g, b, a) \ argument
123 { VA_FOURCC fourcc, G_PASTE (G_PASTE (VA_, order), _FIRST), bpp, depth, r, g, b, a }
124 #define A(fourcc, order, r, g, b, a) F (fourcc, order, 32, 32, r, g, b, a) argument
125 #define X(fourcc, order, r, g, b) F (fourcc, order, 32, 24, r, g, b, 0x0) argument
170 if (format_map[i].va_format.fourcc == va_fourcc) in get_format_map_from_va_fourcc()
208 if (fmt1->fourcc != fmt2->fourcc) in va_format_is_same()
[all …]
Dgstvaallocator.c514 guint32 i, fourcc, rt_format, export_flags; in gst_va_dmabuf_allocator_setup_buffer_full() local
520 fourcc = gst_va_fourcc_from_video_format (format); in gst_va_dmabuf_allocator_setup_buffer_full()
522 if (fourcc == 0 || rt_format == 0) { in gst_va_dmabuf_allocator_setup_buffer_full()
537 .pixel_format = fourcc, in gst_va_dmabuf_allocator_setup_buffer_full()
544 if (!va_create_surfaces (self->display, rt_format, fourcc, in gst_va_dmabuf_allocator_setup_buffer_full()
553 && (fourcc == VA_FOURCC_YUY2 || fourcc == VA_FOURCC_UYVY)) { in gst_va_dmabuf_allocator_setup_buffer_full()
570 if (fourcc != desc.fourcc) { in gst_va_dmabuf_allocator_setup_buffer_full()
572 GST_FOURCC_ARGS (desc.fourcc)); in gst_va_dmabuf_allocator_setup_buffer_full()
846 guint32 fourcc, rt_format; in gst_va_dmabuf_memories_setup() local
862 fourcc = gst_va_fourcc_from_video_format (format); in gst_va_dmabuf_memories_setup()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgsteglimage.c581 gint fourcc; in gst_egl_image_from_dmabuf() local
585 fourcc = _drm_rgba_fourcc_from_info (in_info, plane, &format); in gst_egl_image_from_dmabuf()
587 (char *) &fourcc, fourcc, plane, in gst_egl_image_from_dmabuf()
596 attribs[atti++] = fourcc; in gst_egl_image_from_dmabuf()
744 int fourcc; in gst_egl_image_check_dmabuf_direct() local
753 fourcc = _drm_direct_fourcc_from_info (in_info); in gst_egl_image_check_dmabuf_direct()
754 if (fourcc == -1) in gst_egl_image_check_dmabuf_direct()
790 if (formats[i] == fourcc) in gst_egl_image_check_dmabuf_direct()
796 GST_FOURCC_ARGS (fourcc)); in gst_egl_image_check_dmabuf_direct()
800 ret = gst_eglQueryDmaBufModifiersEXT (egl_display, fourcc, 0, NULL, NULL, in gst_egl_image_check_dmabuf_direct()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/ivfparse/
Dgstivfparse.c197 fourcc_to_media_type (guint32 fourcc) in fourcc_to_media_type() argument
199 switch (fourcc) { in fourcc_to_media_type()
225 media_type = fourcc_to_media_type (ivf->fourcc); in gst_ivf_parse_update_src_caps()
258 guint32 fourcc = GST_READ_UINT32_LE (map.data + 8); in gst_ivf_parse_handle_frame_start() local
269 fourcc_to_media_type (fourcc) == NULL) { in gst_ivf_parse_handle_frame_start()
275 ivf->fourcc = fourcc; in gst_ivf_parse_handle_frame_start()
343 if (ivf->fourcc == GST_MAKE_FOURCC ('V', 'P', '8', '0')) { in gst_ivf_parse_handle_frame_data()
353 } else if (ivf->fourcc == GST_MAKE_FOURCC ('V', 'P', '9', '0')) { in gst_ivf_parse_handle_frame_data()
355 } else if (ivf->fourcc == GST_MAKE_FOURCC ('A', 'V', '0', '1')) { in gst_ivf_parse_handle_frame_data()
/third_party/gstreamer/gstplugins_bad/ext/smoothstreaming/
Dgstmssfragmentparser.c55 guint32 fourcc; in gst_mss_fragment_parser_add_buffer() local
69 if (!gst_isoff_parse_box_header (&reader, &fourcc, NULL, &header_size, in gst_mss_fragment_parser_add_buffer()
74 parser->current_fourcc = fourcc; in gst_mss_fragment_parser_add_buffer()
77 GST_FOURCC_ARGS (fourcc), size); in gst_mss_fragment_parser_add_buffer()
79 parser->current_fourcc = fourcc; in gst_mss_fragment_parser_add_buffer()
Dgstmssmanifest.c508 _gst_mss_stream_video_caps_from_fourcc (gchar * fourcc) in _gst_mss_stream_video_caps_from_fourcc() argument
510 if (!fourcc) in _gst_mss_stream_video_caps_from_fourcc()
513 if (strcmp (fourcc, "H264") == 0 || strcmp (fourcc, "AVC1") == 0) { in _gst_mss_stream_video_caps_from_fourcc()
516 } else if (strcmp (fourcc, "WVC1") == 0) { in _gst_mss_stream_video_caps_from_fourcc()
524 _gst_mss_stream_audio_caps_from_fourcc (gchar * fourcc) in _gst_mss_stream_audio_caps_from_fourcc() argument
526 if (!fourcc) in _gst_mss_stream_audio_caps_from_fourcc()
529 if (strcmp (fourcc, "AACL") == 0) { in _gst_mss_stream_audio_caps_from_fourcc()
532 } else if (strcmp (fourcc, "WmaPro") == 0 || strcmp (fourcc, "WMAP") == 0) { in _gst_mss_stream_audio_caps_from_fourcc()
684 gchar *fourcc = (gchar *) xmlGetProp (node, (xmlChar *) "FourCC"); in _gst_mss_stream_video_caps_from_qualitylevel_xml() local
695 caps = _gst_mss_stream_video_caps_from_fourcc (fourcc); in _gst_mss_stream_video_caps_from_qualitylevel_xml()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/isoff/
Dgstisoff.c417 guint32 fourcc; in gst_isoff_traf_box_parse() local
423 if (!gst_isoff_parse_box_header (reader, &fourcc, extended_type, in gst_isoff_traf_box_parse()
429 switch (fourcc) { in gst_isoff_traf_box_parse()
509 guint32 fourcc; in gst_isoff_moof_box_parse() local
513 if (!gst_isoff_parse_box_header (reader, &fourcc, NULL, &header_size, in gst_isoff_moof_box_parse()
519 switch (fourcc) { in gst_isoff_moof_box_parse()
619 guint32 fourcc; in gst_isoff_mdia_box_parse() local
624 if (!gst_isoff_parse_box_header (reader, &fourcc, NULL, &header_size, in gst_isoff_mdia_box_parse()
630 switch (fourcc) { in gst_isoff_mdia_box_parse()
697 guint32 fourcc; in gst_isoff_trak_box_parse() local
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2object.c950 guint32 fourcc) in gst_v4l2_object_get_format_from_fourcc() argument
955 if (fourcc == 0) in gst_v4l2_object_get_format_from_fourcc()
961 if (fmt->pixelformat == fourcc) in gst_v4l2_object_get_format_from_fourcc()
967 if (fourcc == V4L2_PIX_FMT_JPEG || fourcc == V4L2_PIX_FMT_MJPEG || in gst_v4l2_object_get_format_from_fourcc()
968 fourcc == V4L2_PIX_FMT_PJPG) { in gst_v4l2_object_get_format_from_fourcc()
997 guint32 fourcc = fmt->pixelformat; in gst_v4l2_object_format_get_rank() local
1001 switch (fourcc) { in gst_v4l2_object_format_get_rank()
1282 gst_v4l2_object_v4l2fourcc_to_video_format (guint32 fourcc) in gst_v4l2_object_v4l2fourcc_to_video_format() argument
1286 switch (fourcc) { in gst_v4l2_object_v4l2fourcc_to_video_format()
1398 gst_v4l2_object_v4l2fourcc_is_rgb (guint32 fourcc) in gst_v4l2_object_v4l2fourcc_is_rgb() argument
[all …]
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsutils.c37 guint32 fourcc; member
40 #define DEF_FMT(fourcc, fmt) \ argument
41 { DRM_FORMAT_##fourcc,GST_VIDEO_FORMAT_##fmt }
95 if (format_map[i].fourcc == drmfmt) in gst_video_format_from_drm()
109 return format_map[i].fourcc; in gst_drm_format_from_video()
/third_party/mesa3d/src/gallium/frontends/va/
Dimage.c52 {.fourcc = VA_FOURCC('B','G','R','A'), .byte_order = VA_LSB_FIRST, 32, 32,
54 {.fourcc = VA_FOURCC('R','G','B','A'), .byte_order = VA_LSB_FIRST, 32, 32,
56 {.fourcc = VA_FOURCC('B','G','R','X'), .byte_order = VA_LSB_FIRST, 32, 24,
58 {.fourcc = VA_FOURCC('R','G','B','X'), .byte_order = VA_LSB_FIRST, 32, 24,
92 format = VaFourccToPipeFormat(formats[i].fourcc); in vlVaQueryImageFormats()
131 switch (format->fourcc) { in vlVaCreateImage()
275 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage()
287 if (img->format.fourcc == formats[i].fourcc) { in vlVaDeriveImage()
304 switch (img->format.fourcc) { in vlVaDeriveImage()
521 format = VaFourccToPipeFormat(vaimage->format.fourcc); in vlVaGetImage()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dmsdk_libva.c139 gst_msdk_get_va_fourcc_from_mfx_fourcc (mfxU32 fourcc) in gst_msdk_get_va_fourcc_from_mfx_fourcc() argument
144 if (m->mfx_fourcc == fourcc) in gst_msdk_get_va_fourcc_from_mfx_fourcc()
152 gst_msdk_get_mfx_fourcc_from_va_fourcc (guint32 fourcc) in gst_msdk_get_mfx_fourcc_from_va_fourcc() argument
157 if (m->va_fourcc == fourcc) in gst_msdk_get_mfx_fourcc_from_va_fourcc()
Dmsdk_libva.h51 gst_msdk_get_va_fourcc_from_mfx_fourcc (mfxU32 fourcc);
54 gst_msdk_get_mfx_fourcc_from_va_fourcc (guint32 fourcc);
/third_party/skia/third_party/externals/libwebp/src/demux/
Ddemux.c222 const uint32_t fourcc = ReadLE32(mem); in StoreFrame() local
237 switch (fourcc) { in StoreFrame()
456 const uint32_t fourcc = ReadLE32(mem); in ParseVP8XChunks() local
465 switch (fourcc) { in ParseVP8XChunks()
901 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { in ChunkCount()
907 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in ChunkCount()
913 const char fourcc[4], int chunk_num) { in GetChunk()
919 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in GetChunk()
925 static int SetChunk(const char fourcc[4], int chunk_num, in SetChunk()
930 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0; in SetChunk()
[all …]
/third_party/ffmpeg/libavutil/
Dhwcontext_vaapi.c92 unsigned int fourcc; member
146 vaapi_format_from_fourcc(unsigned int fourcc) in vaapi_format_from_fourcc() argument
150 if (vaapi_format_map[i].fourcc == fourcc) in vaapi_format_from_fourcc()
165 static enum AVPixelFormat vaapi_pix_fmt_from_fourcc(unsigned int fourcc) in vaapi_pix_fmt_from_fourcc() argument
168 desc = vaapi_format_from_fourcc(fourcc); in vaapi_pix_fmt_from_fourcc()
202 unsigned int fourcc; in vaapi_frames_get_constraints() local
236 fourcc = attr_list[i].value.value.i; in vaapi_frames_get_constraints()
237 pix_fmt = vaapi_pix_fmt_from_fourcc(fourcc); in vaapi_frames_get_constraints()
275 fourcc = attr_list[i].value.value.i; in vaapi_frames_get_constraints()
276 pix_fmt = vaapi_pix_fmt_from_fourcc(fourcc); in vaapi_frames_get_constraints()
[all …]
Davutil.h348 #define av_fourcc2str(fourcc) av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc) argument
358 char *av_fourcc_make_string(char *buf, uint32_t fourcc);
Dutils.c121 char *av_fourcc_make_string(char *buf, uint32_t fourcc) in av_fourcc_make_string() argument
128 const int c = fourcc & 0xff; in av_fourcc_make_string()
138 fourcc >>= 8; in av_fourcc_make_string()
/third_party/ffmpeg/libavformat/
Dmsnwc_tcp.c45 uint32_t fourcc; in msnwc_tcp_probe() local
57 fourcc = bytestream_get_le32(&bytestream); in msnwc_tcp_probe()
58 if (fourcc != MKTAG('M', 'L', '2', '0')) in msnwc_tcp_probe()
/third_party/ffmpeg/libavcodec/
Draw.h36 unsigned int fourcc; member
43 enum AVPixelFormat avpriv_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc);

123456