/external/chromium/third_party/libjingle/source/talk/session/phone/ |
videocommon.h | 26 // Common definition for video, including fourcc and VideoFormat 38 // Definition of fourcc. 40 // Convert four characters to a fourcc code. 43 #define FOURCC(a, b, c, d) (\ 47 // Get the name, that is, string with four characters, of a fourcc code. 48 inline std::string GetFourccName(uint32 fourcc) { 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)) 158 uint32 fourcc; \/\/ color space. FOURCC_ANY means that any color space is OK. member in struct:cricket::VideoFormat [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocommon.h | 26 // Common definition for video, including fourcc and VideoFormat. 51 // Definition of FourCC codes 53 // Convert four characters to a FourCC code. 56 #define FOURCC(a, b, c, d) ( \ 59 // Some pages discussing FourCC codes: 60 // http://www.fourcc.org/yuv.php 66 // FourCC codes grouped according to implementation efficiency. 70 enum FourCC { 72 FOURCC_I420 = FOURCC('I', '4', '2', '0'), 73 FOURCC_I422 = FOURCC('I', '4', '2', '2') 170 uint32 fourcc; \/\/ Color space. FOURCC_ANY means that any color space is OK. member in struct:cricket::VideoFormatPod [all...] |
fakevideocapturer.h | 75 GetCaptureFormat()->fourcc); 77 bool CaptureCustomFrame(int width, int height, uint32 fourcc) { 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) { 89 return false; // Unsupported FOURCC. 98 frame.fourcc = fourcc; 111 memcpy(frame.data, reinterpret_cast<const uint8*>(&fourcc), 4) [all...] |
videocommon.cc | 58 uint32 CanonicalFourCC(uint32 fourcc) { 60 if (kFourCCAliases[i].alias == fourcc) { 65 return fourcc; 222 std::string fourcc_name = GetFourccName(fourcc) + " ";
|
mutedvideocapturer_unittest.cc | 69 EXPECT_EQ(format.fourcc, best_format.fourcc);
|
videocapturer.cc | 74 fourcc(0), 257 best_format->fourcc = best->fourcc; 290 std::string fourcc_name = GetFourccName(captured_frame->fourcc) + " "; 340 if (FOURCC_ARGB == captured_frame->fourcc && 375 if (captured_frame->fourcc == FOURCC_MJPG) { 447 // 4) Compression. If desired format has a specific fourcc, we need exact match; 453 // Check fourcc. 454 uint32 supported_fourcc = CanonicalFourCC(supported.fourcc); 456 if (FOURCC_ANY == desired.fourcc) { [all...] |
videoframe.h | 53 // Creates a frame from a raw sample with FourCC |format| and size |w| x |h|. 58 virtual bool Reset(uint32 fourcc, int w, int h, int dw, int dh, uint8 *sample, 178 static bool Validate(uint32 fourcc, int w, int h, const uint8 *sample,
|
/external/libyuv/files/source/ |
video_common.cc | 41 uint32 CanonicalFourCC(uint32 fourcc) { 43 if (kFourCCAliases[i].alias == fourcc) { 48 return fourcc;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/include/ |
dxbc.h | 36 #define FOURCC(a, b, c, d) ((uint32_t)(uint8_t)(a) | ((uint32_t)(uint8_t)(b) << 8) | ((uint32_t)(uint8_t)(c) << 16) | ((uint32_t)(uint8_t)(d) << 24 )) 37 #define FOURCC_DXBC FOURCC('D', 'X', 'B', 'C') 38 #define FOURCC_RDEF FOURCC('R', 'D', 'E', 'F') 39 #define FOURCC_ISGN FOURCC('I', 'S', 'G', 'N') 40 #define FOURCC_OSGN FOURCC('O', 'S', 'G', 'N') 41 #define FOURCC_SHDR FOURCC('S', 'H', 'D', 'R') 42 #define FOURCC_SHEX FOURCC('S', 'H', 'E', 'X') 43 #define FOURCC_STAT FOURCC('S', 'T', 'A', 'T') 44 #define FOURCC_PCSG FOURCC('P', 'C', 'S', 'G') 49 unsigned fourcc; member in struct:dxbc_chunk_header 81 unsigned fourcc; member in struct:dxbc_container_header 108 unsigned fourcc; local [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/ |
dxbc.h | 36 #define FOURCC(a, b, c, d) ((uint32_t)(uint8_t)(a) | ((uint32_t)(uint8_t)(b) << 8) | ((uint32_t)(uint8_t)(c) << 16) | ((uint32_t)(uint8_t)(d) << 24 )) 37 #define FOURCC_DXBC FOURCC('D', 'X', 'B', 'C') 38 #define FOURCC_RDEF FOURCC('R', 'D', 'E', 'F') 39 #define FOURCC_ISGN FOURCC('I', 'S', 'G', 'N') 40 #define FOURCC_OSGN FOURCC('O', 'S', 'G', 'N') 41 #define FOURCC_SHDR FOURCC('S', 'H', 'D', 'R') 42 #define FOURCC_SHEX FOURCC('S', 'H', 'E', 'X') 43 #define FOURCC_STAT FOURCC('S', 'T', 'A', 'T') 44 #define FOURCC_PCSG FOURCC('P', 'C', 'S', 'G') 49 unsigned fourcc; member in struct:dxbc_chunk_header 81 unsigned fourcc; member in struct:dxbc_container_header 108 unsigned fourcc; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
dxbc_parse.cpp | 38 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) 56 if(bswap_le32(header->fourcc) != FOURCC_DXBC) 63 if(bswap_le32(chunk->fourcc) == fourcc)
|
dxbc_dump.cpp | 38 memcpy(fourcc_str, &chunk->fourcc, 4);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
dxbc_parse.cpp | 38 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) 56 if(bswap_le32(header->fourcc) != FOURCC_DXBC) 63 if(bswap_le32(chunk->fourcc) == fourcc)
|
dxbc_dump.cpp | 38 memcpy(fourcc_str, &chunk->fourcc, 4);
|
/external/chromium_org/media/mp4/ |
fourccs.h | 13 enum FourCC { 87 const inline std::string FourCCToString(FourCC fourcc) { 89 buf[0] = (fourcc >> 24) & 0xff; 90 buf[1] = (fourcc >> 16) & 0xff; 91 buf[2] = (fourcc >> 8) & 0xff; 92 buf[3] = (fourcc) & 0xff;
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideocapturer.cc | 46 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 = FOURCC_I420 [all...] |
/external/chromium_org/content/renderer/media/ |
video_destination_handler_unittest.cc | 93 EXPECT_EQ(cricket::FOURCC_BGRA, best_format.fourcc); 95 desired.fourcc = best_format.fourcc;
|
/external/chromium_org/third_party/libwebp/webp/ |
mux.h | 142 // 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 or chunk_data is NUL [all...] |
/external/chromium_org/third_party/libva/va/ |
va_tpi.h | 87 unsigned int fourcc, /* expected fourcc */ 107 unsigned int kBuf_fourcc, /* expected fourcc */
|
va_backend_tpi.h | 62 unsigned int fourcc, /* expected fourcc */ 79 unsigned int kBuf_fourcc, /* expected fourcc */
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/ |
va_image.c | 88 switch (format->fourcc) { 96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
va_image.c | 88 switch (format->fourcc) { 96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc);
|
/external/chromium_org/third_party/libwebp/demux/ |
demux.c | 215 const uint32_t fourcc = ReadLE32(mem); local 226 switch (fourcc) { 271 // Restore fourcc/size when moving up one level in parsing. 380 // the user to request the payload via a fourcc string. 'size' includes the 498 const uint32_t fourcc = ReadLE32(mem); local 505 switch (fourcc) { 898 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { 904 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; 910 const char fourcc[4], int chunk_num) { 916 if (!memcmp(header, fourcc, TAG_SIZE)) ++count 956 const char* const fourcc = local 965 const char* const fourcc = local [all...] |
/external/webp/src/demux/ |
demux.c | 212 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]) { 906 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; 912 const char fourcc[4], int chunk_num) { 918 if (!memcmp(header, fourcc, TAG_SIZE)) ++count 958 const char* const fourcc = local 967 const char* const fourcc = local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
filevideocapturer.cc | 71 buffer.WriteUInt32(frame.fourcc); 197 frame.fourcc); 257 fourccs->push_back(GetSupportedFormats()->at(0).fourcc); 283 buffer.ReadUInt32(&frame->fourcc);
|