Searched defs:fourcc (Results 1 - 25 of 58) sorted by relevance

123

/external/libyuv/files/unit_test/
H A Dvideo_common_test.cc31 static bool TestValidFourCC(uint32 fourcc, int bpp) { argument
32 if (!TestValidChar(fourcc & 0xff) ||
33 !TestValidChar((fourcc >> 8) & 0xff) ||
34 !TestValidChar((fourcc >> 16) & 0xff) ||
35 !TestValidChar((fourcc >> 24) & 0xff)) {
H A Dcompare_test.cc150 uint32 fourcc; local
158 fourcc = ARGBDetect(src_a, benchmark_width_ * 4,
160 EXPECT_EQ(libyuv::FOURCC_BGRA, fourcc);
163 fourcc = ARGBDetect(src_a, benchmark_width_ * 4,
165 EXPECT_EQ(libyuv::FOURCC_ARGB, fourcc);
169 fourcc = ARGBDetect(src_a, benchmark_width_ * 4,
172 EXPECT_EQ(0, fourcc);
178 uint32 fourcc; local
186 fourcc = ARGBDetect(src_a + 1, benchmark_width_ * 4,
188 EXPECT_EQ(libyuv::FOURCC_BGRA, fourcc);
[all...]
/external/opencv3/modules/videoio/test/
H A Dtest_fourcc.cpp47 #define DEFINE_GUID(n, fourcc, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) fourcc,
108 unsigned long fourcc = allfourcc[i]; local
110 double paramValue = fourcc;
113 EXPECT_EQ(fourcc, (unsigned long)(unsigned)fourccFromParam);
H A Dtest_precomp.hpp75 string fourccToString(int fourcc);
79 VideoFormat() { fourcc = -1; }
80 VideoFormat(const string& _ext, int _fourcc) : ext(_ext), fourcc(_fourcc) {}
84 int fourcc; member in struct:cvtest::VideoFormat
H A Dtest_video_io.cpp52 string fourccToString(int fourcc) argument
54 return format("%c%c%c%c", fourcc & 255, (fourcc >> 8) & 255, (fourcc >> 16) & 255, (fourcc >> 24) & 255);
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')),
91 //VideoFormat("avi", VideoWriter::fourcc('I', 'Y', 'U', 'V')),
92 VideoFormat("mkv", VideoWriter::fourcc('
431 int fourcc = fmt.fourcc; local
[all...]
/external/libvpx/libvpx/
H A Divfenc.c18 unsigned int fourcc,
28 mem_put_le32(header + 8, fourcc); // fourcc
16 ivf_write_file_header(FILE *outfile, const struct vpx_codec_enc_cfg *cfg, unsigned int fourcc, int frame_cnt) argument
H A Dwebmenc.cc27 unsigned int fourcc,
53 switch (fourcc) {
23 write_webm_file_header(struct EbmlGlobal *glob, const vpx_codec_enc_cfg_t *cfg, const struct vpx_rational *fps, stereo_format_t stereo_fmt, unsigned int fourcc, const struct VpxRational *par) argument
H A Dtools_common.h97 uint32_t fourcc; member in struct:VpxInputContext
132 const uint32_t fourcc; member in struct:VpxInterface
143 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dvideo_common.cc49 uint32 CanonicalFourCC(uint32 fourcc) { argument
52 if (kFourCCAliases[i].alias == fourcc) {
57 return fourcc;
H A Dconvert_to_argb.cc38 uint32 fourcc) {
39 uint32 format = CanonicalFourCC(fourcc);
288 r = -1; // unknown fourcc - return failure code.
32 ConvertToARGB(const uint8* sample, size_t sample_size, uint8* crop_argb, int argb_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument
H A Dconvert_to_i420.cc37 uint32 fourcc) {
38 uint32 format = CanonicalFourCC(fourcc);
317 r = -1; // unknown fourcc - return failure code.
28 ConvertToI420(const uint8* sample, size_t sample_size, uint8* y, int y_stride, uint8* u, int u_stride, uint8* v, int v_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument
/external/libyuv/files/source/
H A Dvideo_common.cc50 uint32 CanonicalFourCC(uint32 fourcc) { argument
53 if (kFourCCAliases[i].alias == fourcc) {
58 return fourcc;
H A Dconvert_to_argb.cc38 uint32 fourcc) {
39 uint32 format = CanonicalFourCC(fourcc);
287 r = -1; // unknown fourcc - return failure code.
32 ConvertToARGB(const uint8* sample, size_t sample_size, uint8* crop_argb, int argb_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument
H A Dconvert_to_i420.cc37 uint32 fourcc) {
38 uint32 format = CanonicalFourCC(fourcc);
315 r = -1; // unknown fourcc - return failure code.
28 ConvertToI420(const uint8* sample, size_t sample_size, uint8* y, int y_stride, uint8* u, int u_stride, uint8* v, int v_stride, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 fourcc) argument
/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)
/external/autotest/client/site_tests/camera_V4L2/src/
H A Dmedia_v4l2_test.cc23 "--pixel-format=[fourcc] Picture format fourcc code\n"
95 std::string fourcc = optarg; local
96 if (fourcc.length() != 4) {
100 pixfmt = V4L2Device::MapFourCC(fourcc.c_str());
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_regions.h150 int fourcc; member in struct:intel_image_format
/external/strace/
H A Dv4l2.c70 static void print_pixelformat(uint32_t fourcc) argument
78 htole32(fourcc)
80 fourcc
/external/webrtc/talk/media/base/
H A Dfakevideocapturer.h85 GetCaptureFormat()->fourcc);
87 bool CaptureCustomFrame(int width, int height, uint32_t fourcc) { argument
89 return CaptureCustomFrame(width, height, 33333333, fourcc);
94 uint32_t fourcc) {
98 // Currently, |fourcc| is always I420 or ARGB.
99 // TODO(fbarchard): Extend SizeOf to take fourcc.
101 if (fourcc == cricket::FOURCC_ARGB) {
103 } else if (fourcc == cricket::FOURCC_I420) {
115 frame.fourcc = fourcc;
91 CaptureCustomFrame(int width, int height, int64_t timestamp_interval, uint32_t fourcc) argument
[all...]
H A Dvideocommon.cc61 uint32_t CanonicalFourCC(uint32_t fourcc) { argument
63 if (kFourCCAliases[i].alias == fourcc) {
68 return fourcc;
228 std::string fourcc_name = GetFourccName(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/mesa3d/src/gallium/state_trackers/va/
H A Dva_surface.c124 vlVaLockSurface(VADriverContextP ctx, VASurfaceID surface, unsigned int *fourcc, argument
/external/opencv3/3rdparty/libwebp/mux/
H A Dmuxread.c349 WebPMuxError WebPMuxGetChunk(const WebPMux* mux, const char fourcc[4], argument
352 if (mux == NULL || fourcc == NULL || chunk_data == NULL) {
355 idx = ChunkGetIndexFromFourCC(fourcc);
362 ChunkSearchList(mux->unknown_, 1, ChunkGetTagFromFourCC(fourcc));
/external/opencv3/modules/videoio/src/
H A Dcap.cpp416 CV_IMPL CvVideoWriter* cvCreateVideoWriter( const char* filename, int fourcc, argument
423 if(!fourcc || !fps)
428 result = cvCreateVideoWriter_FFMPEG_proxy (filename, fourcc, fps, frameSize, is_color);
433 result = cvCreateVideoWriter_VFW(filename, fourcc, fps, frameSize, is_color);
438 result = cvCreateVideoWriter_MSMF(filename, fourcc, fps, frameSize, is_color);
443 result = cvCreateVideoWriter_XINE(filename, fourcc, fps, frameSize, is_color);
448 result = cvCreateVideoWriter_AVFoundation(filename, fourcc, fps, frameSize, is_color);
453 result = cvCreateVideoWriter_QT(filename, fourcc, fps, frameSize, is_color);
458 result = cvCreateVideoWriter_GStreamer(filename, fourcc, fps, frameSize, is_color);
818 int VideoWriter::fourcc(cha function in class:cv::VideoWriter
[all...]
H A Dcap_ffmpeg.cpp243 virtual bool open( const char* filename, int fourcc, double fps, CvSize frameSize, bool isColor ) argument
249 ffmpegWriter = icvCreateVideoWriter_FFMPEG_p( filename, fourcc, fps, frameSize.width, frameSize.height, isColor );
266 CvVideoWriter* cvCreateVideoWriter_FFMPEG_proxy( const char* filename, int fourcc, argument
271 if( result->open( filename, fourcc, fps, frameSize, isColor != 0 ))

Completed in 1896 milliseconds

123