/external/webrtc/media/base/ |
D | video_common.h | 118 uint32_t CanonicalFourCC(uint32_t fourcc); 121 inline std::string GetFourccName(uint32_t fourcc) { in GetFourccName() argument 123 name.push_back(static_cast<char>(fourcc & 0xFF)); in GetFourccName() 124 name.push_back(static_cast<char>((fourcc >> 8) & 0xFF)); in GetFourccName() 125 name.push_back(static_cast<char>((fourcc >> 16) & 0xFF)); in GetFourccName() 126 name.push_back(static_cast<char>((fourcc >> 24) & 0xFF)); in GetFourccName() 139 uint32_t fourcc; // Color space. FOURCC_ANY means that any color space is OK. member 153 Construct(format.width, format.height, format.interval, format.fourcc); in VideoFormat() 160 fourcc = cc; in Construct() 184 interval == format.interval && fourcc == format.fourcc; [all …]
|
D | video_common.cc | 42 uint32_t CanonicalFourCC(uint32_t fourcc) { in CanonicalFourCC() argument 44 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC() 49 return fourcc; in CanonicalFourCC() 62 std::string fourcc_name = GetFourccName(fourcc) + " "; in ToString()
|
D | video_common_unittest.cc | 60 format.fourcc = FOURCC_I420; in TEST() 66 format.fourcc = FOURCC_ANY; in TEST() 81 format2.fourcc = FOURCC_YUY2; in TEST()
|
/external/webrtc/modules/video_coding/utility/ |
D | ivf_file_writer_unittest.cc | 62 const uint8_t fourcc[4], in VerifyIvfHeader() 75 EXPECT_EQ(0, memcmp(fourcc, &data[8], 4)); in VerifyIvfHeader() 106 const uint8_t fourcc[4], in RunBasicFileStructureTest() 119 VerifyIvfHeader(&out_file, fourcc, kWidth, kHeight, kNumFrames, in RunBasicFileStructureTest() 131 const uint8_t fourcc[4] = {'V', 'P', '8', '0'}; in TEST_F() local 132 RunBasicFileStructureTest(kVideoCodecVP8, fourcc, false); in TEST_F() 136 const uint8_t fourcc[4] = {'V', 'P', '8', '0'}; in TEST_F() local 137 RunBasicFileStructureTest(kVideoCodecVP8, fourcc, true); in TEST_F() 141 const uint8_t fourcc[4] = {'V', 'P', '9', '0'}; in TEST_F() local 142 RunBasicFileStructureTest(kVideoCodecVP9, fourcc, false); in TEST_F() [all …]
|
/external/libkmsxx/kms++/inc/kms++/ |
D | pixelformats.h | 9 constexpr uint32_t MakeFourCC(const char* fourcc) in MakeFourCC() argument 11 return fourcc[0] | (fourcc[1] << 8) | (fourcc[2] << 16) | (fourcc[3] << 24); in MakeFourCC() 69 static inline PixelFormat FourCCToPixelFormat(const std::string& fourcc) in FourCCToPixelFormat() argument 71 return (PixelFormat)MakeFourCC(fourcc.c_str()); in FourCCToPixelFormat()
|
/external/libyuv/files/source/ |
D | video_common.cc | 48 uint32_t CanonicalFourCC(uint32_t fourcc) { in CanonicalFourCC() argument 51 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC() 56 return fourcc; in CanonicalFourCC()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | video_common.cc | 48 uint32_t CanonicalFourCC(uint32_t fourcc) { in CanonicalFourCC() argument 51 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC() 56 return fourcc; in CanonicalFourCC()
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | video_common.cc | 49 uint32 CanonicalFourCC(uint32 fourcc) { in CanonicalFourCC() argument 52 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC() 57 return fourcc; in CanonicalFourCC()
|
/external/mesa3d/src/gallium/frontends/va/ |
D | image.c | 52 {.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() 262 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage() 274 if (img->format.fourcc == formats[i].fourcc) { in vlVaDeriveImage() 291 switch (img->format.fourcc) { in vlVaDeriveImage() 478 format = VaFourccToPipeFormat(vaimage->format.fourcc); in vlVaGetImage() [all …]
|
/external/libyuv/files/unit_test/ |
D | video_common_test.cc | 26 static bool TestValidFourCC(uint32_t fourcc, int bpp) { in TestValidFourCC() argument 27 if (!TestValidChar(fourcc & 0xff) || !TestValidChar((fourcc >> 8) & 0xff) || in TestValidFourCC() 28 !TestValidChar((fourcc >> 16) & 0xff) || in TestValidFourCC() 29 !TestValidChar((fourcc >> 24) & 0xff)) { in TestValidFourCC()
|
D | compare_test.cc | 154 uint32_t fourcc; in TEST_F() local 162 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F() 164 EXPECT_EQ(static_cast<uint32_t>(libyuv::FOURCC_BGRA), fourcc); in TEST_F() 167 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F() 169 EXPECT_EQ(static_cast<uint32_t>(libyuv::FOURCC_ARGB), fourcc); in TEST_F() 173 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F() 176 EXPECT_EQ(0u, fourcc); in TEST_F() 182 uint32_t fourcc; in TEST_F() local 190 fourcc = ARGBDetect(src_a + 1, benchmark_width_ * 4, benchmark_width_, in TEST_F() 192 EXPECT_EQ(static_cast<uint32_t>(libyuv::FOURCC_BGRA), fourcc); in TEST_F() [all …]
|
/external/v4l2_codec2/common/ |
D | Fourcc.cpp | 13 Fourcc::Fourcc(Fourcc::Value fourcc) : mValue(fourcc) {} in Fourcc() argument 18 std::optional<Fourcc> Fourcc::fromUint32(uint32_t fourcc) { in fromUint32() argument 19 switch (fourcc) { in fromUint32() 37 return Fourcc(static_cast<Value>(fourcc)); in fromUint32() 39 ALOGE("Unmapped fourcc: %s", fourccToString(fourcc).c_str()); in fromUint32()
|
/external/webp/src/demux/ |
D | demux.c | 222 const uint32_t fourcc = ReadLE32(mem); in StoreFrame() local 233 switch (fourcc) { in StoreFrame() 452 const uint32_t fourcc = ReadLE32(mem); in ParseVP8XChunks() local 459 switch (fourcc) { in ParseVP8XChunks() 895 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { in ChunkCount() 901 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in ChunkCount() 907 const char fourcc[4], int chunk_num) { in GetChunk() 913 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in GetChunk() 919 static int SetChunk(const char fourcc[4], int chunk_num, in SetChunk() 924 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0; in SetChunk() [all …]
|
/external/v4l2_codec2/common/include/v4l2_codec2/common/ |
D | Fourcc.h | 112 explicit Fourcc(Fourcc::Value fourcc); 113 Fourcc& operator=(const Fourcc& fourcc); 122 static std::optional<Fourcc> fromUint32(uint32_t fourcc);
|
/external/libaom/libaom/common/ |
D | video_reader.c | 51 reader->info.codec_fourcc = reader->input_ctx.fourcc; in aom_video_reader_open() 57 reader->info.codec_fourcc = reader->input_ctx.fourcc; in aom_video_reader_open() 125 void aom_video_reader_set_fourcc(AvxVideoReader *reader, uint32_t fourcc) { in aom_video_reader_set_fourcc() argument 126 reader->info.codec_fourcc = fourcc; in aom_video_reader_set_fourcc()
|
D | tools_common.h | 114 uint32_t fourcc; member 225 const uint32_t fourcc; member 244 const AvxInterface *get_aom_decoder_by_fourcc(uint32_t fourcc);
|
D | ivfenc.c | 18 unsigned int fourcc, int frame_cnt) { in ivf_write_file_header() argument 27 mem_put_le32(header + 8, fourcc); // fourcc in ivf_write_file_header()
|
/external/igt-gpu-tools/lib/ |
D | igt_color_encoding.c | 131 uint32_t fourcc; member 165 static const struct color_encoding_format *lookup_fourcc(uint32_t fourcc) in lookup_fourcc() argument 170 if (fourcc == formats[i].fourcc) in lookup_fourcc() 173 igt_assert_f(0, "Could not look up fourcc %.4s\n", (char *)&fourcc); in lookup_fourcc()
|
/external/libvpx/libvpx/ |
D | tools_common.h | 100 uint32_t fourcc; member 135 const uint32_t fourcc; member 146 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);
|
D | ivfenc.c | 17 unsigned int fourcc, int frame_cnt) { in ivf_write_file_header() argument 26 mem_put_le32(header + 8, fourcc); // fourcc in ivf_write_file_header()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_screen.c | 431 intel_image_format_lookup(int fourcc) in intel_image_format_lookup() argument 434 if (intel_image_formats[i].fourcc == fourcc) in intel_image_format_lookup() 442 intel_image_get_fourcc(__DRIimage *image, int *fourcc) in intel_image_get_fourcc() argument 445 *fourcc = image->planar_format->fourcc; in intel_image_get_fourcc() 451 *fourcc = intel_image_formats[i].fourcc; in intel_image_get_fourcc() 967 uint32_t fourcc, uint64_t modifier, in intel_query_format_modifier_attribs() argument 971 const struct intel_image_format *f = intel_image_format_lookup(fourcc); in intel_query_format_modifier_attribs() 1033 int width, int height, int fourcc, in intel_create_image_from_names() argument 1045 f = intel_image_format_lookup(fourcc); in intel_create_image_from_names() 1069 int width, int height, int fourcc, in intel_create_image_from_fds_common() argument [all …]
|
/external/libyuv/files/docs/ |
D | formats.md | 48 FOURCC_H010 = FOURCC('H', '0', '1', '0'), // unofficial fourcc. 10 bit lsb 75 FOURCC_J400 = FOURCC('J', '4', '0', '0'), // unofficial fourcc 76 FOURCC_H420 = FOURCC('H', '4', '2', '0'), // unofficial fourcc 77 FOURCC_H422 = FOURCC('H', '4', '2', '2'), // unofficial fourcc 79 // 14 Auxiliary aliases. CanonicalFourCC() maps these to canonical fourcc. 111 The fourcc describes the order of channels in a ***register***. 113 A fourcc provided by capturer, can be thought of string, e.g. "ARGB".
|
/external/webp/src/webp/ |
D | mux.h | 164 WebPMux* mux, const char fourcc[4], const WebPData* chunk_data, 180 const WebPMux* mux, const char fourcc[4], WebPData* chunk_data); 193 WebPMux* mux, const char fourcc[4]);
|
/external/webp/include/webp/ |
D | mux.h | 164 WebPMux* mux, const char fourcc[4], const WebPData* chunk_data, 180 const WebPMux* mux, const char fourcc[4], WebPData* chunk_data); 193 WebPMux* mux, const char fourcc[4]);
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 188 static void dump_fourcc(uint32_t fourcc) in bit_name_fn() 191 fourcc, in bit_name_fn() 192 fourcc >> 8, in bit_name_fn() 193 fourcc >> 16, in bit_name_fn() 194 fourcc >> 24); in bit_name_fn() 832 unsigned int fourcc; member 853 unsigned int fourcc; member 1139 static void set_gamma(struct device *dev, unsigned crtc_id, unsigned fourcc) in set_gamma() argument 1146 if (fourcc == DRM_FORMAT_C8) { in set_gamma() 1176 bo_fb_create(int fd, unsigned int fourcc, const uint32_t w, const uint32_t h, in bo_fb_create() argument [all …]
|