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

123

/external/chromium/third_party/libjingle/source/talk/session/phone/
H A Dvideocommon.h26 // Common definition for video, including fourcc and VideoFormat
38 // Definition of fourcc.
40 // Convert four characters to a fourcc code.
47 // Get the name, that is, string with four characters, of a fourcc code.
48 inline std::string GetFourccName(uint32 fourcc) { argument
50 name.push_back(static_cast<char>(fourcc & 0xFF));
51 name.push_back(static_cast<char>((fourcc >> 8) & 0xFF));
52 name.push_back(static_cast<char>((fourcc >> 16) & 0xFF));
53 name.push_back(static_cast<char>((fourcc >> 24) & 0xFF));
60 // http://www.fourcc
158 uint32 fourcc; // color space. FOURCC_ANY means that any color space is OK. member in struct:cricket::VideoFormat
[all...]
/external/libyuv/files/source/
H A Dvideo_common.cc41 uint32 CanonicalFourCC(uint32 fourcc) { argument
43 if (kFourCCAliases[i].alias == fourcc) {
48 return fourcc;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/include/
H A Ddxbc.h49 unsigned fourcc; member in struct:dxbc_chunk_header
81 unsigned fourcc; member in struct:dxbc_container_header
91 dxbc_chunk_header* dxbc_find_chunk(const void* data, int size, unsigned fourcc);
108 unsigned fourcc; local
110 case DXBC_FIND_INPUT_SIGNATURE: fourcc = FOURCC_ISGN; break;
111 case DXBC_FIND_OUTPUT_SIGNATURE: fourcc = FOURCC_OSGN; break;
112 case DXBC_FIND_PATCH_SIGNATURE: fourcc = FOURCC_PCSG; break;
116 return (dxbc_chunk_signature*)dxbc_find_chunk(data, size, fourcc);
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/
H A Ddxbc.h49 unsigned fourcc; member in struct:dxbc_chunk_header
81 unsigned fourcc; member in struct:dxbc_container_header
91 dxbc_chunk_header* dxbc_find_chunk(const void* data, int size, unsigned fourcc);
108 unsigned fourcc; local
110 case DXBC_FIND_INPUT_SIGNATURE: fourcc = FOURCC_ISGN; break;
111 case DXBC_FIND_OUTPUT_SIGNATURE: fourcc = FOURCC_OSGN; break;
112 case DXBC_FIND_PATCH_SIGNATURE: fourcc = FOURCC_PCSG; break;
116 return (dxbc_chunk_signature*)dxbc_find_chunk(data, size, fourcc);
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideocommon.h26 // Common definition for video, including fourcc and VideoFormat.
60 // http://www.fourcc.org/yuv.php
114 // 14 Auxiliary aliases. CanonicalFourCC() maps these to canonical fourcc.
133 // Match any fourcc.
137 // Converts fourcc aliases into canonical ones.
138 uint32 CanonicalFourCC(uint32 fourcc);
141 inline std::string GetFourccName(uint32 fourcc) { argument
143 name.push_back(static_cast<char>(fourcc & 0xFF));
144 name.push_back(static_cast<char>((fourcc >> 8) & 0xFF));
145 name.push_back(static_cast<char>((fourcc >> 1
184 uint32 fourcc; // Color space. FOURCC_ANY means that any color space is OK. member in struct:cricket::VideoFormatPod
[all...]
H A Dfakevideocapturer.h75 GetCaptureFormat()->fourcc);
77 bool CaptureCustomFrame(int width, int height, uint32 fourcc) { argument
81 // Currently, |fourcc| is always I420 or ARGB.
82 // TODO(fbarchard): Extend SizeOf to take fourcc.
84 if (fourcc == cricket::FOURCC_ARGB) {
86 } else if (fourcc == cricket::FOURCC_I420) {
98 frame.fourcc = fourcc;
111 memcpy(frame.data, reinterpret_cast<const uint8*>(&fourcc), 4);
H A Dvideocommon.cc58 uint32 CanonicalFourCC(uint32 fourcc) { argument
60 if (kFourCCAliases[i].alias == fourcc) {
65 return fourcc;
228 std::string fourcc_name = GetFourccName(fourcc) + " ";
H A Dmutedvideocapturer_unittest.cc69 EXPECT_EQ(format.fourcc, best_format.fourcc);
H A Dvideocapturer.cc74 fourcc(0),
259 best_format->fourcc = best->fourcc;
292 std::string fourcc_name = GetFourccName(captured_frame->fourcc) + " ";
339 if (FOURCC_ARGB == captured_frame->fourcc &&
380 FOURCC_YUY2 == CanonicalFourCC(captured_frame->fourcc) ||
381 FOURCC_UYVY == CanonicalFourCC(captured_frame->fourcc);
454 if (captured_frame->fourcc == FOURCC_MJPG) {
537 // 4) Compression. If desired format has a specific fourcc, we need exact match;
543 // Check fourcc
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
H A Ddxbc_parse.cpp38 if(bswap_le32(header->fourcc) != FOURCC_DXBC)
45 unsigned fourcc = bswap_le32(chunk->fourcc); local
46 container->chunk_map[fourcc] = i;
52 dxbc_chunk_header* dxbc_find_chunk(const void* data, int size, unsigned fourcc) argument
56 if(bswap_le32(header->fourcc) != FOURCC_DXBC)
63 if(bswap_le32(chunk->fourcc) == fourcc)
H A Ddxbc_dump.cpp38 memcpy(fourcc_str, &chunk->fourcc, 4);
H A Ddxbc_assemble.cpp42 header->fourcc = bswap_le32(FOURCC_DXBC);
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
H A Ddxbc_parse.cpp38 if(bswap_le32(header->fourcc) != FOURCC_DXBC)
45 unsigned fourcc = bswap_le32(chunk->fourcc); local
46 container->chunk_map[fourcc] = i;
52 dxbc_chunk_header* dxbc_find_chunk(const void* data, int size, unsigned fourcc) argument
56 if(bswap_le32(header->fourcc) != FOURCC_DXBC)
63 if(bswap_le32(chunk->fourcc) == fourcc)
H A Ddxbc_dump.cpp38 memcpy(fourcc_str, &chunk->fourcc, 4);
/external/chromium_org/media/mp4/
H A Dfourccs.h88 const inline std::string FourCCToString(FourCC fourcc) { argument
90 buf[0] = (fourcc >> 24) & 0xff;
91 buf[1] = (fourcc >> 16) & 0xff;
92 buf[2] = (fourcc >> 8) & 0xff;
93 buf[3] = (fourcc) & 0xff;
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideocapturer.cc46 uint32 fourcc; member in struct:cricket::kVideoFourCCEntry
79 uint32 fourcc = 0; local
82 fourcc = kSupportedFourCCs[i].fourcc;
86 if (fourcc == 0) {
90 format->fourcc = fourcc;
101 if (kSupportedFourCCs[i].fourcc == format.fourcc) {
235 best_format->fourcc
[all...]
/external/chromium_org/content/renderer/media/
H A Dvideo_destination_handler_unittest.cc93 EXPECT_EQ(cricket::FOURCC_BGRA, best_format.fourcc);
95 desired.fourcc = best_format.fourcc;
/external/chromium_org/third_party/libwebp/webp/
H A Dmux.h142 // Adds a chunk with id 'fourcc' and data 'chunk_data' in the mux object.
146 // fourcc - (in) a character array containing the fourcc of the given chunk;
152 // WEBP_MUX_INVALID_ARGUMENT - if mux, fourcc or chunk_data is NULL
153 // or if fourcc corresponds to an image chunk.
157 WebPMux* mux, const char fourcc[4], const WebPData* chunk_data,
160 // Gets a reference to the data of the chunk with id 'fourcc' in the mux object.
164 // fourcc - (in) a character array containing the fourcc of the chunk;
168 // WEBP_MUX_INVALID_ARGUMENT - if either mux, fourcc o
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dremotevideocapturer.cc85 best_format->fourcc = cricket::FOURCC_I420;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
H A Dva_image.c88 switch (format->fourcc) {
96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc);
/external/mesa3d/src/gallium/state_trackers/va/
H A Dva_image.c88 switch (format->fourcc) {
96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc);
/external/chromium_org/third_party/libwebp/demux/
H A Ddemux.c212 const uint32_t fourcc = ReadLE32(mem); local
223 switch (fourcc) {
269 // Restore fourcc/size when moving up one level in parsing.
381 // the user to request the payload via a fourcc string. 'size' includes the
498 const uint32_t fourcc = ReadLE32(mem); local
505 switch (fourcc) {
908 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { argument
914 if (!memcmp(header, fourcc, TAG_SIZE)) ++count;
920 const char fourcc[4], int chunk_num) {
926 if (!memcmp(header, fourcc, TAG_SIZ
919 GetChunk(const WebPDemuxer* const dmux, const char fourcc[4], int chunk_num) argument
932 SetChunk(const char fourcc[4], int chunk_num, WebPChunkIterator* const iter) argument
954 WebPDemuxGetChunk(const WebPDemuxer* dmux, const char fourcc[4], int chunk_num, WebPChunkIterator* iter) argument
966 const char* const fourcc = local
975 const char* const fourcc = local
[all...]
/external/webp/src/demux/
H A Ddemux.c212 const uint32_t fourcc = ReadLE32(mem); local
223 switch (fourcc) {
269 // Restore fourcc/size when moving up one level in parsing.
381 // the user to request the payload via a fourcc string. 'size' includes the
498 const uint32_t fourcc = ReadLE32(mem); local
505 switch (fourcc) {
900 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { argument
906 if (!memcmp(header, fourcc, TAG_SIZE)) ++count;
912 const char fourcc[4], int chunk_num) {
918 if (!memcmp(header, fourcc, TAG_SIZ
911 GetChunk(const WebPDemuxer* const dmux, const char fourcc[4], int chunk_num) argument
924 SetChunk(const char fourcc[4], int chunk_num, WebPChunkIterator* const iter) argument
946 WebPDemuxGetChunk(const WebPDemuxer* dmux, const char fourcc[4], int chunk_num, WebPChunkIterator* iter) argument
958 const char* const fourcc = local
967 const char* const fourcc = local
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dfilevideocapturer.cc72 buffer.WriteUInt32(frame.fourcc);
208 frame.fourcc);
268 fourccs->push_back(GetSupportedFormats()->at(0).fourcc);
294 buffer.ReadUInt32(&frame->fourcc);
/external/libvpx/libvpx/
H A Dwebmenc.h79 unsigned int fourcc);

Completed in 469 milliseconds

123