/external/webrtc/talk/media/base/ |
D | videocommon.h | 143 uint32_t CanonicalFourCC(uint32_t fourcc); 146 inline std::string GetFourccName(uint32_t fourcc) { in GetFourccName() argument 148 name.push_back(static_cast<char>(fourcc & 0xFF)); in GetFourccName() 149 name.push_back(static_cast<char>((fourcc >> 8) & 0xFF)); in GetFourccName() 150 name.push_back(static_cast<char>((fourcc >> 16) & 0xFF)); in GetFourccName() 151 name.push_back(static_cast<char>((fourcc >> 24) & 0xFF)); in GetFourccName() 189 uint32_t fourcc; // Color space. FOURCC_ANY means that any color space is OK. member 205 Construct(format.width, format.height, format.interval, format.fourcc); in VideoFormat() 212 fourcc = cc; in Construct() 236 interval == format.interval && fourcc == format.fourcc; [all …]
|
D | fakevideocapturer.h | 85 GetCaptureFormat()->fourcc); in CaptureFrame() 87 bool CaptureCustomFrame(int width, int height, uint32_t fourcc) { in CaptureCustomFrame() argument 89 return CaptureCustomFrame(width, height, 33333333, fourcc); in CaptureCustomFrame() 94 uint32_t fourcc) { in CaptureCustomFrame() argument 101 if (fourcc == cricket::FOURCC_ARGB) { in CaptureCustomFrame() 103 } else if (fourcc == cricket::FOURCC_I420) { in CaptureCustomFrame() 115 frame.fourcc = fourcc; in CaptureCustomFrame() 127 memcpy(frame.data, reinterpret_cast<const uint8_t*>(&fourcc), 4); in CaptureCustomFrame()
|
D | videocapturer.cc | 80 fourcc(0), in CapturedFrame() 293 best_format->fourcc = best->fourcc; in GetBestCaptureFormat() 308 std::string fourcc_name = GetFourccName(captured_frame->fourcc) + " "; in ToString() 368 if (FOURCC_ARGB == captured_frame->fourcc && in OnFrameCaptured() 411 FOURCC_YUY2 == CanonicalFourCC(captured_frame->fourcc) || in OnFrameCaptured() 412 FOURCC_UYVY == CanonicalFourCC(captured_frame->fourcc); in OnFrameCaptured() 484 if (captured_frame->fourcc == FOURCC_MJPG) { in OnFrameCaptured() 585 uint32_t supported_fourcc = CanonicalFourCC(supported.fourcc); in GetFormatDistance() 587 if (FOURCC_ANY == desired.fourcc) { in GetFormatDistance() 608 } else if (supported_fourcc == CanonicalFourCC(desired.fourcc)) { in GetFormatDistance() [all …]
|
D | videocommon.cc | 61 uint32_t CanonicalFourCC(uint32_t fourcc) { in CanonicalFourCC() argument 63 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC() 68 return fourcc; in CanonicalFourCC() 228 std::string fourcc_name = GetFourccName(fourcc) + " "; in ToString()
|
D | videocommon_unittest.cc | 76 format.fourcc = FOURCC_I420; in TEST() 82 format.fourcc = FOURCC_ANY; in TEST() 97 format2.fourcc = FOURCC_YUY2; in TEST()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/ |
D | dxbc.h | 49 unsigned fourcc; member 81 unsigned fourcc; member 91 dxbc_chunk_header* dxbc_find_chunk(const void* data, int size, unsigned fourcc); 108 unsigned fourcc; in dxbc_find_signature() local 110 case DXBC_FIND_INPUT_SIGNATURE: fourcc = FOURCC_ISGN; break; in dxbc_find_signature() 111 case DXBC_FIND_OUTPUT_SIGNATURE: fourcc = FOURCC_OSGN; break; in dxbc_find_signature() 112 case DXBC_FIND_PATCH_SIGNATURE: fourcc = FOURCC_PCSG; break; in dxbc_find_signature() 116 return (dxbc_chunk_signature*)dxbc_find_chunk(data, size, fourcc); in dxbc_find_signature()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
D | dxbc_parse.cpp | 38 if(bswap_le32(header->fourcc) != FOURCC_DXBC) in dxbc_parse() 45 unsigned fourcc = bswap_le32(chunk->fourcc); in dxbc_parse() local 46 container->chunk_map[fourcc] = i; in dxbc_parse() 52 dxbc_chunk_header* dxbc_find_chunk(const void* data, int size, unsigned fourcc) in dxbc_find_chunk() argument 56 if(bswap_le32(header->fourcc) != FOURCC_DXBC) in dxbc_find_chunk() 63 if(bswap_le32(chunk->fourcc) == fourcc) in dxbc_find_chunk()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideocapturer.cc | 53 uint32_t fourcc; member 86 uint32_t fourcc = 0; in CapabilityToFormat() local 89 fourcc = kSupportedFourCCs[i].fourcc; in CapabilityToFormat() 93 if (fourcc == 0) { in CapabilityToFormat() 97 format->fourcc = fourcc; in CapabilityToFormat() 108 if (kSupportedFourCCs[i].fourcc == format.fourcc) { in FormatToCapability() 255 best_format->fourcc = FOURCC_I420; in GetBestCaptureFormat() 367 fourccs->push_back(kSupportedFourCCs[i].fourcc); in GetPreferredFourccs() 435 fourcc = FOURCC_I420; in WebRtcCapturedFrame()
|
D | webrtcvideocapturer_unittest.cc | 107 EXPECT_EQ(capturer_->GetCaptureFormat()->fourcc, listener_.frame_fourcc()); in TEST_F() 126 EXPECT_EQ(cricket::FOURCC_I420, format.fourcc); in TEST_F() 134 EXPECT_EQ(capturer_->GetCaptureFormat()->fourcc, listener_.frame_fourcc()); in TEST_F()
|
/external/libyuv/files/unit_test/ |
D | compare_test.cc | 150 uint32 fourcc; in TEST_F() local 158 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, in TEST_F() 160 EXPECT_EQ(libyuv::FOURCC_BGRA, fourcc); in TEST_F() 163 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, in TEST_F() 165 EXPECT_EQ(libyuv::FOURCC_ARGB, fourcc); in TEST_F() 169 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, in TEST_F() 172 EXPECT_EQ(0, fourcc); in TEST_F() 178 uint32 fourcc; in TEST_F() local 186 fourcc = ARGBDetect(src_a + 1, benchmark_width_ * 4, in TEST_F() 188 EXPECT_EQ(libyuv::FOURCC_BGRA, fourcc); in TEST_F() [all …]
|
D | video_common_test.cc | 31 static bool TestValidFourCC(uint32 fourcc, int bpp) { in TestValidFourCC() argument 32 if (!TestValidChar(fourcc & 0xff) || in TestValidFourCC() 33 !TestValidChar((fourcc >> 8) & 0xff) || in TestValidFourCC() 34 !TestValidChar((fourcc >> 16) & 0xff) || in TestValidFourCC() 35 !TestValidChar((fourcc >> 24) & 0xff)) { in TestValidFourCC()
|
/external/libvpx/libvpx/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()
|
D | compare.cc | 114 uint32 fourcc = 0; in ARGBDetect() local 123 for (h = 0; h < height && fourcc == 0; ++h) { in ARGBDetect() 124 fourcc = ARGBDetectRow_C(argb, width); in ARGBDetect() 127 return fourcc; in ARGBDetect()
|
/external/libyuv/files/source/ |
D | video_common.cc | 50 uint32 CanonicalFourCC(uint32 fourcc) { in CanonicalFourCC() argument 53 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC() 58 return fourcc; in CanonicalFourCC()
|
D | compare.cc | 98 uint32 fourcc = 0; in ARGBDetect() local 107 for (h = 0; h < height && fourcc == 0; ++h) { in ARGBDetect() 108 fourcc = ARGBDetectRow_C(argb, width); in ARGBDetect() 111 return fourcc; in ARGBDetect()
|
/external/webp/src/demux/ |
D | demux.c | 220 const uint32_t fourcc = ReadLE32(mem); in StoreFrame() local 231 switch (fourcc) { in StoreFrame() 445 const uint32_t fourcc = ReadLE32(mem); in ParseVP8XChunks() local 452 switch (fourcc) { in ParseVP8XChunks() 889 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { in ChunkCount() 895 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in ChunkCount() 901 const char fourcc[4], int chunk_num) { in GetChunk() 907 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in GetChunk() 913 static int SetChunk(const char fourcc[4], int chunk_num, in SetChunk() 918 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0; in SetChunk() [all …]
|
/external/libvpx/libvpx/ |
D | tools_common.h | 97 uint32_t fourcc; member 132 const uint32_t fourcc; member 143 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);
|
D | ivfenc.c | 18 unsigned int fourcc, in ivf_write_file_header() argument 28 mem_put_le32(header + 8, fourcc); // fourcc in ivf_write_file_header()
|
D | webmdec.cc | 103 vpx_ctx->fourcc = VP8_FOURCC; in file_is_webm() 105 vpx_ctx->fourcc = VP9_FOURCC; in file_is_webm() 107 vpx_ctx->fourcc = VP10_FOURCC; in file_is_webm()
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_test.cc | 95 std::string fourcc = optarg; in main() local 96 if (fourcc.length() != 4) { in main() 100 pixfmt = V4L2Device::MapFourCC(fourcc.c_str()); in main()
|
/external/webrtc/talk/media/devices/ |
D | filevideocapturer.cc | 74 buffer.WriteUInt32(frame.fourcc); in RecordFrame() 211 frame.fourcc); in Init() 275 fourccs->push_back(GetSupportedFormats()->at(0).fourcc); in GetPreferredFourccs() 301 buffer.ReadUInt32(&frame->fourcc); in ReadFrameHeader()
|
D | filevideocapturer_unittest.cc | 134 desired.fourcc = cricket::FOURCC_ANY; in TEST_F() 136 EXPECT_NE(capture_format_.fourcc, desired.fourcc); in TEST_F()
|
D | yuvframescapturer.cc | 120 captured_frame_.fourcc = FOURCC_IYUV; in Init() 173 fourccs->push_back(GetSupportedFormats()->at(0).fourcc); in GetPreferredFourccs()
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | va_image.c | 88 switch (format->fourcc) { in vlVaCreateImage() 96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc); in vlVaCreateImage()
|
/external/libvncserver/libvncclient/ |
D | h264.c | 88 static const char *string_of_FOURCC(uint32_t fourcc) in string_of_FOURCC() argument 94 str[buf][0] = fourcc; in string_of_FOURCC() 95 str[buf][1] = fourcc >> 8; in string_of_FOURCC() 96 str[buf][2] = fourcc >> 16; in string_of_FOURCC() 97 str[buf][3] = fourcc >> 24; in string_of_FOURCC() 104 return string_of_FOURCC(imgfmt->fourcc); in string_of_VAImageFormat()
|