Home
last modified time | relevance | path

Searched refs:fourcc (Results 1 - 25 of 52) sorted by relevance

123

/third_party/ffmpeg/libavutil/
H A Davutil.h355 #define av_fourcc2str(fourcc) av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc)
362 * @param fourcc the fourcc to represent
365 char *av_fourcc_make_string(char *buf, uint32_t fourcc);
H A Dutils.c73 char *av_fourcc_make_string(char *buf, uint32_t fourcc) in av_fourcc_make_string() argument
80 const int c = fourcc & 0xff; in av_fourcc_make_string()
90 fourcc >>= 8; in av_fourcc_make_string()
H A Dhwcontext_vaapi.c95 unsigned int fourcc; member
107 // The map fourcc <-> pix_fmt isn't bijective because of the annoying U/V
149 vaapi_format_from_fourcc(unsigned int fourcc) in vaapi_format_from_fourcc() argument
153 if (vaapi_format_map[i].fourcc == fourcc) in vaapi_format_from_fourcc()
168 static enum AVPixelFormat vaapi_pix_fmt_from_fourcc(unsigned int fourcc) in vaapi_pix_fmt_from_fourcc() argument
171 desc = vaapi_format_from_fourcc(fourcc); in vaapi_pix_fmt_from_fourcc()
205 unsigned int fourcc; in vaapi_frames_get_constraints() local
239 fourcc = attr_list[i].value.value.i; in vaapi_frames_get_constraints()
240 pix_fmt = vaapi_pix_fmt_from_fourcc(fourcc); in vaapi_frames_get_constraints()
366 unsigned int fourcc; vaapi_device_init() local
[all...]
H A Dhwcontext_qsv.c100 uint32_t fourcc; member
153 return supported_pixel_formats[i].fourcc; in qsv_fourcc_from_pix_fmt()
477 uint32_t fourcc; in qsv_init_surface() local
483 fourcc = qsv_fourcc_from_pix_fmt(ctx->sw_format); in qsv_init_surface()
484 if (!fourcc) in qsv_init_surface()
498 surf->Info.FourCC = fourcc; in qsv_init_surface()
510 static int qsv_init_pool(AVHWFramesContext *ctx, uint32_t fourcc) in qsv_init_pool() argument
693 uint32_t fourcc; in qsv_frames_init() local
696 fourcc = qsv_fourcc_from_pix_fmt(ctx->sw_format); in qsv_frames_init()
697 if (!fourcc) { in qsv_frames_init()
[all...]
/third_party/mesa3d/src/gallium/frontends/va/
H A 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()
[all...]
/third_party/ffmpeg/libavformat/
H A Dmsnwc_tcp.c34 * uint32_t fourcc; // ML20
45 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()
H A Dsmoothstreamingenc.c58 const char *fourcc; member
253 avio_printf(out, "<QualityLevel Index=\"%d\" Bitrate=\"%"PRId64"\" FourCC=\"%s\" MaxWidth=\"%d\" MaxHeight=\"%d\" CodecPrivateData=\"%s\" />\n", index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecpar->width, s->streams[i]->codecpar->height, os->private_str); in write_manifest()
268 index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecpar->sample_rate, in write_manifest()
355 os->fourcc = "H264"; in ism_write_header()
357 os->fourcc = "WVC1"; in ism_write_header()
366 os->fourcc = "AACL"; in ism_write_header()
369 os->fourcc = "WMAP"; in ism_write_header()
/third_party/ffmpeg/libavcodec/
H A Draw.c310 return tags->fourcc; in avcodec_pix_fmt_to_codec_tag()
342 unsigned int fourcc) in find_pix_fmt()
345 if (tags->fourcc == fourcc) in find_pix_fmt()
353 unsigned fourcc) in avpriv_pix_fmt_find()
368 return find_pix_fmt(tags, fourcc); in avpriv_pix_fmt_find()
341 find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc) find_pix_fmt() argument
352 avpriv_pix_fmt_find(enum PixelFormatTagLists list, unsigned fourcc) avpriv_pix_fmt_find() argument
H A Draw.h34 unsigned int fourcc; member
46 unsigned fourcc);
H A Dvaapi_decode.c241 uint32_t fourcc; member
289 uint32_t best_fourcc, fourcc; in vaapi_decode_find_best_format() local
322 fourcc = attr[i].value.value.i; in vaapi_decode_find_best_format()
324 if (fourcc == vaapi_format_map[j].fourcc) in vaapi_decode_find_best_format()
329 fourcc); in vaapi_decode_find_best_format()
334 fourcc, av_get_pix_fmt_name(format)); in vaapi_decode_find_best_format()
339 best_fourcc = fourcc; in vaapi_decode_find_best_format()
H A Dqsv.c178 enum AVPixelFormat ff_qsv_map_fourcc(uint32_t fourcc) in ff_qsv_map_fourcc() argument
180 switch (fourcc) { in ff_qsv_map_fourcc()
194 int ff_qsv_map_pixfmt(enum AVPixelFormat format, uint32_t *fourcc) in ff_qsv_map_pixfmt() argument
200 *fourcc = MFX_FOURCC_NV12; in ff_qsv_map_pixfmt()
204 *fourcc = MFX_FOURCC_P010; in ff_qsv_map_pixfmt()
207 *fourcc = MFX_FOURCC_A2RGB10; in ff_qsv_map_pixfmt()
210 *fourcc = MFX_FOURCC_RGB4; in ff_qsv_map_pixfmt()
215 *fourcc = MFX_FOURCC_YUY2; in ff_qsv_map_pixfmt()
219 *fourcc = MFX_FOURCC_Y210; in ff_qsv_map_pixfmt()
H A Dqsv_internal.h129 enum AVPixelFormat ff_qsv_map_fourcc(uint32_t fourcc);
131 int ff_qsv_map_pixfmt(enum AVPixelFormat format, uint32_t *fourcc);
H A Ddds.c116 uint32_t flags, fourcc, gimp_tag; in parse_pixel_format() local
139 fourcc = bytestream2_get_le32(gbc); in parse_pixel_format()
159 av_log(avctx, AV_LOG_VERBOSE, "fourcc %s bpp %d " in parse_pixel_format()
160 "r 0x%x g 0x%x b 0x%x a 0x%x\n", av_fourcc2str(fourcc), bpp, r, g, b, a); in parse_pixel_format()
169 switch (fourcc) { in parse_pixel_format()
340 av_log(avctx, AV_LOG_ERROR, "Unsupported %s fourcc.\n", av_fourcc2str(fourcc)); in parse_pixel_format()
/third_party/skia/third_party/externals/libwebp/src/demux/
H A Ddemux.c222 const uint32_t fourcc = ReadLE32(mem); in StoreFrame() local
237 switch (fourcc) { in StoreFrame()
278 // Restore fourcc/size when moving up one level in parsing. in StoreFrame()
359 // the user to request the payload via a fourcc string. 'size' includes the
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() argument
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_SIZ in GetChunk()
912 GetChunk(const WebPDemuxer* const dmux, const char fourcc[4], int chunk_num) GetChunk() argument
925 SetChunk(const char fourcc[4], int chunk_num, WebPChunkIterator* const iter) SetChunk() argument
947 WebPDemuxGetChunk(const WebPDemuxer* dmux, const char fourcc[4], int chunk_num, WebPChunkIterator* iter) WebPDemuxGetChunk() argument
959 const char* const fourcc = WebPDemuxNextChunk() local
968 const char* const fourcc = WebPDemuxPrevChunk() local
[all...]
/third_party/libdrm/tests/modetest/
H A Dmodetest.c188 static void dump_fourcc(uint32_t fourcc) in dump_fourcc() argument
191 fourcc, in dump_fourcc()
192 fourcc >> 8, in dump_fourcc()
193 fourcc >> 16, in dump_fourcc()
194 fourcc >> 24); in dump_fourcc()
811 unsigned int fourcc; member
832 unsigned int fourcc; member
1118 static void set_gamma(struct device *dev, unsigned crtc_id, unsigned fourcc) in set_gamma() argument
1125 if (fourcc == DRM_FORMAT_C8) { in set_gamma()
1155 bo_fb_create(int fd, unsigned int fourcc, cons argument
[all...]
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Dmux.h149 // Adds a chunk with id 'fourcc' and data 'chunk_data' in the mux object.
153 // fourcc - (in) a character array containing the fourcc of the given chunk;
159 // WEBP_MUX_INVALID_ARGUMENT - if mux, fourcc or chunk_data is NULL
160 // or if fourcc corresponds to an image chunk.
164 WebPMux* mux, const char fourcc[4], const WebPData* chunk_data,
167 // Gets a reference to the data of the chunk with id 'fourcc' in the mux object.
171 // fourcc - (in) a character array containing the fourcc of the chunk;
175 // WEBP_MUX_INVALID_ARGUMENT - if mux, fourcc o
[all...]
/third_party/skia/third_party/externals/libwebp/src/mux/
H A Dmuxinternal.c81 uint32_t ChunkGetTagFromFourCC(const char fourcc[4]) { in ChunkGetTagFromFourCC() argument
82 return MKFOURCC(fourcc[0], fourcc[1], fourcc[2], fourcc[3]); in ChunkGetTagFromFourCC()
85 CHUNK_INDEX ChunkGetIndexFromFourCC(const char fourcc[4]) { in ChunkGetIndexFromFourCC() argument
86 const uint32_t tag = ChunkGetTagFromFourCC(fourcc); in ChunkGetIndexFromFourCC()
H A Dmuxedit.c178 WebPMuxError WebPMuxSetChunk(WebPMux* mux, const char fourcc[4], in WebPMuxSetChunk() argument
182 if (mux == NULL || fourcc == NULL || chunk_data == NULL || in WebPMuxSetChunk()
186 tag = ChunkGetTagFromFourCC(fourcc); in WebPMuxSetChunk()
188 // Delete existing chunk(s) with the same 'fourcc'. in WebPMuxSetChunk()
375 WebPMuxError WebPMuxDeleteChunk(WebPMux* mux, const char fourcc[4]) { in WebPMuxDeleteChunk() argument
376 if (mux == NULL || fourcc == NULL) return WEBP_MUX_INVALID_ARGUMENT; in WebPMuxDeleteChunk()
377 return MuxDeleteAllNamedData(mux, ChunkGetTagFromFourCC(fourcc)); in WebPMuxDeleteChunk()
H A Dmuxi.h116 // Convert a fourcc string to a tag.
117 uint32_t ChunkGetTagFromFourCC(const char fourcc[4]);
119 // Get chunk index from fourcc. Returns IDX_UNKNOWN if given fourcc is unknown.
120 CHUNK_INDEX ChunkGetIndexFromFourCC(const char fourcc[4]);
/third_party/ffmpeg/tools/
H A Dfourcc2pixfmt.c44 "-l list the pixel format for each fourcc\n" in usage()
56 printf("%s%c", av_fourcc2str(pix_fmt_tags[i].fourcc), sep); in print_pix_fmt_fourccs()
93 printf("%s: %s\n", av_fourcc2str(pix_fmt_tags[i].fourcc), in main()
H A Dismindex.c82 const char *fourcc; member
580 track->fourcc = "AACL"; in handle_file()
584 track->fourcc = "WMAP"; in handle_file()
597 track->fourcc = "H264"; in handle_file()
599 track->fourcc = "WVC1"; in handle_file()
726 index, track->bitrate, track->fourcc, track->width, track->height); in output_client_manifest()
756 index, track->bitrate, track->fourcc, track->sample_rate, in output_client_manifest()
/third_party/mesa3d/include/GL/internal/
H A Ddri_interface.h1235 * Extra fourcc formats used internally to Mesa with createImageFromNames.
1403 int width, int height, int fourcc,
1444 int width, int height, int fourcc,
1457 int width, int height, int fourcc,
1548 int width, int height, int fourcc,
1581 * \param fourcc The format to query modifiers for. If this format
1589 * supported modifiers for \param fourcc in case
1596 unsigned char (*queryDmaBufModifiers)(__DRIscreen *screen, int fourcc,
1604 * \param fourcc The format to query. If this format is not supported by
1616 uint32_t fourcc,
[all...]
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_container.c48 enum dxil_part_fourcc fourcc, in add_part_header()
53 if (!blob_write_bytes(&c->parts, &fourcc, sizeof(fourcc)) || in add_part_header()
64 enum dxil_part_fourcc fourcc, in add_part()
67 return add_part_header(c, fourcc, part_size) && in add_part()
47 add_part_header(struct dxil_container *c, enum dxil_part_fourcc fourcc, uint32_t part_size) add_part_header() argument
63 add_part(struct dxil_container *c, enum dxil_part_fourcc fourcc, const void *part_data, uint32_t part_size) add_part() argument
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri2.c1016 uint64_t modifier, int fourcc) in dri2_get_modifier_num_planes()
1019 const struct dri2_format_mapping *map = dri2_get_mapping_by_fourcc(fourcc); in dri2_get_modifier_num_planes()
1047 int width, int height, int fourcc, in dri2_create_image_from_fd()
1053 const struct dri2_format_mapping *map = dri2_get_mapping_by_fourcc(fourcc); in dri2_create_image_from_fd()
1057 const int expected_num_fds = dri2_get_modifier_num_planes(_screen, modifier, fourcc); in dri2_create_image_from_fd()
1095 img->dri_fourcc = fourcc; in dri2_create_image_from_fd()
1564 dri2_from_fds(__DRIscreen *screen, int width, int height, int fourcc, in dri2_from_fds() argument
1568 return dri2_create_image_from_fd(screen, width, height, fourcc, in dri2_from_fds()
1574 dri2_from_fds2(__DRIscreen *screen, int width, int height, int fourcc, in dri2_from_fds2() argument
1584 return dri2_create_image_from_fd(screen, width, height, fourcc, in dri2_from_fds2()
1015 dri2_get_modifier_num_planes(__DRIscreen *_screen, uint64_t modifier, int fourcc) dri2_get_modifier_num_planes() argument
1046 dri2_create_image_from_fd(__DRIscreen *_screen, int width, int height, int fourcc, uint64_t modifier, int *fds, int num_fds, int *strides, int *offsets, unsigned bind, unsigned *error, void *loaderPrivate) dri2_create_image_from_fd() argument
1590 dri2_query_dma_buf_modifiers(__DRIscreen *_screen, int fourcc, int max, uint64_t *modifiers, unsigned int *external_only, int *count) dri2_query_dma_buf_modifiers() argument
1628 dri2_query_dma_buf_format_modifier_attribs(__DRIscreen *_screen, uint32_t fourcc, uint64_t modifier, int attrib, uint64_t *value) dri2_query_dma_buf_format_modifier_attribs() argument
1652 dri2_from_dma_bufs(__DRIscreen *screen, int width, int height, int fourcc, int *fds, int num_fds, int *strides, int *offsets, enum __DRIYUVColorSpace yuv_color_space, enum __DRISampleRange sample_range, enum __DRIChromaSiting horizontal_siting, enum __DRIChromaSiting vertical_siting, unsigned *error, void *loaderPrivate) dri2_from_dma_bufs() argument
1681 dri2_from_dma_bufs2(__DRIscreen *screen, int width, int height, int fourcc, uint64_t modifier, int *fds, int num_fds, int *strides, int *offsets, enum __DRIYUVColorSpace yuv_color_space, enum __DRISampleRange sample_range, enum __DRIChromaSiting horizontal_siting, enum __DRIChromaSiting vertical_siting, unsigned *error, void *loaderPrivate) dri2_from_dma_bufs2() argument
1710 dri2_from_dma_bufs3(__DRIscreen *screen, int width, int height, int fourcc, uint64_t modifier, int *fds, int num_fds, int *strides, int *offsets, enum __DRIYUVColorSpace yuv_color_space, enum __DRISampleRange sample_range, enum __DRIChromaSiting horizontal_siting, enum __DRIChromaSiting vertical_siting, uint32_t flags, unsigned *error, void *loaderPrivate) dri2_from_dma_bufs3() argument
[all...]
H A Ddri_helpers.h47 dri2_get_mapping_by_fourcc(int fourcc);

Completed in 37 milliseconds

123