/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()
|
/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/opencv3/modules/videoio/test/ |
D | test_video_io.cpp | 52 string fourccToString(int fourcc) in fourccToString() argument 54 …return format("%c%c%c%c", fourcc & 255, (fourcc >> 8) & 255, (fourcc >> 16) & 255, (fourcc >> 24) … in fourccToString() 88 VideoFormat("avi", VideoWriter::fourcc('X', 'V', 'I', 'D')), 89 VideoFormat("avi", VideoWriter::fourcc('M', 'P', 'E', 'G')), 90 VideoFormat("avi", VideoWriter::fourcc('M', 'J', 'P', 'G')), 92 VideoFormat("mkv", VideoWriter::fourcc('X', 'V', 'I', 'D')), 93 VideoFormat("mkv", VideoWriter::fourcc('M', 'P', 'E', 'G')), 94 VideoFormat("mkv", VideoWriter::fourcc('M', 'J', 'P', 'G')), 96 VideoFormat("mov", VideoWriter::fourcc('m', 'p', '4', 'v')), 259 string tmp_name = cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); in VideoTest() [all …]
|
D | test_ffmpeg.cpp | 86 {VideoWriter::fourcc('D', 'X', '5', '0'), AVI_EXT, true}, in run() 87 {VideoWriter::fourcc('F', 'L', 'V', '1'), AVI_EXT, true}, in run() 88 {VideoWriter::fourcc('H', '2', '6', '1'), AVI_EXT, true}, in run() 89 {VideoWriter::fourcc('H', '2', '6', '3'), AVI_EXT, true}, in run() 90 {VideoWriter::fourcc('I', '4', '2', '0'), AVI_EXT, true}, in run() 92 {VideoWriter::fourcc('M', 'J', 'P', 'G'), AVI_EXT, true}, in run() 93 {VideoWriter::fourcc('m', 'p', '4', 'v'), AVI_EXT, true}, in run() 94 {VideoWriter::fourcc('M', 'P', 'E', 'G'), AVI_EXT, true}, in run() 97 {VideoWriter::fourcc('X', 'V', 'I', 'D'), AVI_EXT, true}, in run() 99 {VideoWriter::fourcc('H', '2', '6', '4'), MP4_EXT, false} in run() [all …]
|
D | test_fourcc.cpp | 47 #define DEFINE_GUID(n, fourcc, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) fourcc, argument 108 unsigned long fourcc = allfourcc[i]; in TEST() local 110 double paramValue = fourcc; in TEST() 113 EXPECT_EQ(fourcc, (unsigned long)(unsigned)fourccFromParam); in TEST()
|
D | test_precomp.hpp | 75 string fourccToString(int fourcc); 79 VideoFormat() { fourcc = -1; } in VideoFormat() 80 VideoFormat(const string& _ext, int _fourcc) : ext(_ext), fourcc(_fourcc) {} in VideoFormat() 84 int fourcc; member
|
D | test_video_pos.cpp | 68 return cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); in getFilename() 73 VideoWriter writer(filename, fmt.fourcc, 25, framesize, true); in CreateTestVideo() 119 if (fmt.fourcc == VideoWriter::fourcc('M', 'P', 'E', 'G') && fmt.ext == "mkv") in run()
|
/external/opencv3/modules/videoio/src/ |
D | precomp.hpp | 113 CvVideoWriter* cvCreateVideoWriter_Win32( const char* filename, int fourcc, 115 CvVideoWriter* cvCreateVideoWriter_VFW( const char* filename, int fourcc, 120 CvVideoWriter* cvCreateVideoWriter_MSMF( const char* filename, int fourcc, 143 CvVideoWriter* cvCreateVideoWriter_FFMPEG_proxy( const char* filename, int fourcc, 149 CvVideoWriter* cvCreateVideoWriter_QT ( const char* filename, int fourcc, 153 CvVideoWriter* cvCreateVideoWriter_AVFoundation( const char* filename, int fourcc, 159 CvVideoWriter* cvCreateVideoWriter_GStreamer( const char* filename, int fourcc,
|
D | cap_vfw.cpp | 334 DWORD fourcc; member in CvCaptureCAM_VFW 347 fourcc = 0; in init() 410 fourcc = (DWORD)-1; in open() 439 fourcc = vfmt.biCompression; in open() 506 if( hic == 0 || fourcc != vfmt0.biCompression || in retrieveFrame() 553 return fourcc; in getProperty() 670 virtual bool open( const char* filename, int fourcc, 685 int fourcc; member in CvVideoWriter_VFW 696 fourcc = 0; in init() 727 fourcc = _fourcc; in open() [all …]
|
D | cap.cpp | 416 CV_IMPL CvVideoWriter* cvCreateVideoWriter( const char* filename, int fourcc, in cvCreateVideoWriter() argument 423 if(!fourcc || !fps) in cvCreateVideoWriter() 428 result = cvCreateVideoWriter_FFMPEG_proxy (filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter() 433 result = cvCreateVideoWriter_VFW(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter() 438 result = cvCreateVideoWriter_MSMF(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter() 448 result = cvCreateVideoWriter_AVFoundation(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter() 453 result = cvCreateVideoWriter_QT(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter() 458 result = cvCreateVideoWriter_GStreamer(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter() 818 int VideoWriter::fourcc(char c1, char c2, char c3, char c4) in fourcc() function in cv::VideoWriter
|
D | cap_ffmpeg.cpp | 243 … virtual bool open( const char* filename, int fourcc, double fps, CvSize frameSize, bool isColor ) in open() argument 249 …ffmpegWriter = icvCreateVideoWriter_FFMPEG_p( filename, fourcc, fps, frameSize.width, frameSize.he… in open() 266 CvVideoWriter* cvCreateVideoWriter_FFMPEG_proxy( const char* filename, int fourcc, in cvCreateVideoWriter_FFMPEG_proxy() argument 271 if( result->open( filename, fourcc, fps, frameSize, isColor != 0 )) in cvCreateVideoWriter_FFMPEG_proxy()
|
/external/opencv3/modules/videoio/ |
D | precomp.hpp | 113 CvVideoWriter* cvCreateVideoWriter_Win32( const char* filename, int fourcc, 115 CvVideoWriter* cvCreateVideoWriter_VFW( const char* filename, int fourcc, 120 CvVideoWriter* cvCreateVideoWriter_MSMF( const char* filename, int fourcc, 143 CvVideoWriter* cvCreateVideoWriter_FFMPEG_proxy( const char* filename, int fourcc, 149 CvVideoWriter* cvCreateVideoWriter_QT ( const char* filename, int fourcc, 153 CvVideoWriter* cvCreateVideoWriter_AVFoundation( const char* filename, int fourcc, 159 CvVideoWriter* cvCreateVideoWriter_GStreamer( const char* filename, int fourcc,
|
/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()
|
/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()
|
/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()
|
/external/opencv3/3rdparty/libwebp/demux/ |
D | demux.c | 215 const uint32_t fourcc = ReadLE32(mem); in StoreFrame() local 226 switch (fourcc) { in StoreFrame() 498 const uint32_t fourcc = ReadLE32(mem); in ParseVP8X() local 505 switch (fourcc) { in ParseVP8X() 874 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { in ChunkCount() 880 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in ChunkCount() 886 const char fourcc[4], int chunk_num) { in GetChunk() 892 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in GetChunk() 898 static int SetChunk(const char fourcc[4], int chunk_num, in SetChunk() 903 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0; in SetChunk() [all …]
|
/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);
|
/external/opencv3/3rdparty/libwebp/webp/ |
D | mux.h | 157 WebPMux* mux, const char fourcc[4], const WebPData* chunk_data, 173 const WebPMux* mux, const char fourcc[4], WebPData* chunk_data); 186 WebPMux* mux, const char fourcc[4]);
|