Home
last modified time | relevance | path

Searched refs:fourcc (Results 1 – 25 of 157) sorted by relevance

1234567

/external/u-boot/include/
Dipu_pixfmt.h18 #define fourcc(a, b, c, d)\ macro
26 #define IPU_PIX_FMT_GENERIC fourcc('I', 'P', 'U', '0')
27 #define IPU_PIX_FMT_GENERIC_32 fourcc('I', 'P', 'U', '1')
28 #define IPU_PIX_FMT_LVDS666 fourcc('L', 'V', 'D', '6')
29 #define IPU_PIX_FMT_LVDS888 fourcc('L', 'V', 'D', '8')
31 #define IPU_PIX_FMT_RGB332 fourcc('R', 'G', 'B', '1') /*< 8 RGB-3-3-2 */
32 #define IPU_PIX_FMT_RGB555 fourcc('R', 'G', 'B', 'O') /*< 16 RGB-5-5-5 */
33 #define IPU_PIX_FMT_RGB565 fourcc('R', 'G', 'B', 'P') /*< 1 6 RGB-5-6-5 */
34 #define IPU_PIX_FMT_RGB666 fourcc('R', 'G', 'B', '6') /*< 18 RGB-6-6-6 */
35 #define IPU_PIX_FMT_BGR666 fourcc('B', 'G', 'R', '6') /*< 18 BGR-6-6-6 */
[all …]
/external/webrtc/talk/media/base/
Dvideocommon.h143 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 …]
Dfakevideocapturer.h85 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()
Dvideocapturer.cc80 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 …]
Dvideocommon.cc61 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/libkmsxx/kms++/inc/kms++/
Dpixelformats.h8 constexpr uint32_t MakeFourCC(const char *fourcc) in MakeFourCC() argument
10 return fourcc[0] | (fourcc[1] << 8) | (fourcc[2] << 16) | (fourcc[3] << 24); in MakeFourCC()
37 static inline PixelFormat FourCCToPixelFormat(const std::string& fourcc) in FourCCToPixelFormat() argument
39 return (PixelFormat)MakeFourCC(fourcc.c_str()); in FourCCToPixelFormat()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturer.cc53 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/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_test.cc105 if (!device->GetPixelFormat(i, &format.fourcc)) { in GetSupportedFormats()
110 if (!device->EnumFrameSize(format.fourcc, &num_frame_size, false)) { in GetSupportedFormats()
116 if (!device->GetFrameSize(j, format.fourcc, &format.width, in GetSupportedFormats()
122 if (!device->EnumFrameInterval(format.fourcc, format.width, in GetSupportedFormats()
131 if (!device->GetFrameInterval(k, format.fourcc, format.width, in GetSupportedFormats()
171 if (!result_format || format.fourcc == V4L2_PIX_FMT_MJPEG) { in FindFormatByResolution()
182 uint32_t fourcc) { in FindFormatByFourcc() argument
184 if (format.fourcc == fourcc) { in FindFormatByFourcc()
379 test_format->width, test_format->height, test_format->fourcc, in TestResolutions()
394 test_format->width, test_format->height, test_format->fourcc, in TestResolutions()
[all …]
/external/mesa3d/src/gallium/state_trackers/va/
Dimage.c50 {.fourcc = VA_FOURCC('B','G','R','A'), .byte_order = VA_LSB_FIRST, 32, 32,
52 {.fourcc = VA_FOURCC('R','G','B','A'), .byte_order = VA_LSB_FIRST, 32, 32,
54 {.fourcc = VA_FOURCC('B','G','R','X'), .byte_order = VA_LSB_FIRST, 32, 24,
56 {.fourcc = VA_FOURCC('R','G','B','X'), .byte_order = VA_LSB_FIRST, 32, 24,
90 format = VaFourccToPipeFormat(formats[i].fourcc); in vlVaQueryImageFormats()
129 switch (format->fourcc) { in vlVaCreateImage()
226 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage()
236 if (img->format.fourcc == formats[i].fourcc) { in vlVaDeriveImage()
242 switch (img->format.fourcc) { in vlVaDeriveImage()
362 format = VaFourccToPipeFormat(vaimage->format.fourcc); in vlVaGetImage()
[all …]
/external/libyuv/files/unit_test/
Dcompare_test.cc151 uint32 fourcc; in TEST_F() local
159 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F()
161 EXPECT_EQ(static_cast<uint32>(libyuv::FOURCC_BGRA), fourcc); in TEST_F()
164 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F()
166 EXPECT_EQ(static_cast<uint32>(libyuv::FOURCC_ARGB), fourcc); in TEST_F()
170 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_, in TEST_F()
173 EXPECT_EQ(0u, fourcc); in TEST_F()
179 uint32 fourcc; in TEST_F() local
187 fourcc = ARGBDetect(src_a + 1, benchmark_width_ * 4, benchmark_width_, in TEST_F()
189 EXPECT_EQ(static_cast<uint32>(libyuv::FOURCC_BGRA), fourcc); in TEST_F()
[all …]
Dvideo_common_test.cc29 static bool TestValidFourCC(uint32 fourcc, int bpp) { in TestValidFourCC() argument
30 if (!TestValidChar(fourcc & 0xff) || !TestValidChar((fourcc >> 8) & 0xff) || in TestValidFourCC()
31 !TestValidChar((fourcc >> 16) & 0xff) || in TestValidFourCC()
32 !TestValidChar((fourcc >> 24) & 0xff)) { in TestValidFourCC()
/external/libvpx/libvpx/third_party/libyuv/source/
Dvideo_common.cc48 uint32_t CanonicalFourCC(uint32_t fourcc) { in CanonicalFourCC() argument
51 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC()
56 return fourcc; in CanonicalFourCC()
/external/libaom/libaom/third_party/libyuv/source/
Dvideo_common.cc49 uint32 CanonicalFourCC(uint32 fourcc) { in CanonicalFourCC() argument
52 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC()
57 return fourcc; in CanonicalFourCC()
/external/webp/src/demux/
Ddemux.c222 const uint32_t fourcc = ReadLE32(mem); in StoreFrame() local
233 switch (fourcc) { in StoreFrame()
447 const uint32_t fourcc = ReadLE32(mem); in ParseVP8XChunks() local
454 switch (fourcc) { in ParseVP8XChunks()
890 static int ChunkCount(const WebPDemuxer* const dmux, const char fourcc[4]) { in ChunkCount()
896 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in ChunkCount()
902 const char fourcc[4], int chunk_num) { in GetChunk()
908 if (!memcmp(header, fourcc, TAG_SIZE)) ++count; in GetChunk()
914 static int SetChunk(const char fourcc[4], int chunk_num, in SetChunk()
919 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0; in SetChunk()
[all …]
/external/libyuv/files/source/
Dvideo_common.cc49 uint32 CanonicalFourCC(uint32 fourcc) { in CanonicalFourCC() argument
52 if (kFourCCAliases[i].alias == fourcc) { in CanonicalFourCC()
57 return fourcc; in CanonicalFourCC()
/external/libxcam/modules/ocl/
Dcl_csc_handler.cpp112 CLCscImageHandler::set_output_format (uint32_t fourcc) in set_output_format() argument
116 V4L2_PIX_FMT_XBGR32 == fourcc || V4L2_PIX_FMT_NV12 == fourcc, in set_output_format()
119 xcam_fourcc_to_string (fourcc)); in set_output_format()
121 _output_format = fourcc; in set_output_format()
Dcl_bayer_pipe_handler.cpp72 CLBayerPipeImageHandler::set_output_format (uint32_t fourcc) in set_output_format() argument
76 XCAM_PIX_FMT_RGB48_planar == fourcc || XCAM_PIX_FMT_RGB24_planar == fourcc, in set_output_format()
79 get_name (), xcam_fourcc_to_string (fourcc)); in set_output_format()
81 _output_format = fourcc; in set_output_format()
/external/libaom/libaom/common/
Dvideo_reader.c51 reader->info.codec_fourcc = reader->input_ctx.fourcc; in aom_video_reader_open()
57 reader->info.codec_fourcc = reader->input_ctx.fourcc; in aom_video_reader_open()
125 void aom_video_reader_set_fourcc(AvxVideoReader *reader, uint32_t fourcc) { in aom_video_reader_set_fourcc() argument
126 reader->info.codec_fourcc = fourcc; in aom_video_reader_set_fourcc()
Dtools_common.h114 uint32_t fourcc; member
149 const uint32_t fourcc; member
161 const AvxInterface *get_aom_decoder_by_fourcc(uint32_t fourcc);
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c56 int fourcc; /* __DRI_IMAGE_FOURCC_ */ member
81 return droid_yuv_formats[i].fourcc; in get_fourcc_yuv()
492 int fourcc, pitch; in get_back_bo() local
510 fourcc = get_fourcc(dri2_surf->buffer->format); in get_back_bo()
515 if (fourcc == -1 || pitch == 0) { in get_back_bo()
517 fourcc, pitch); in get_back_bo()
525 fourcc, in get_back_bo()
696 int fourcc; in droid_create_image_from_prime_fd_yuv() local
741 fourcc = get_fourcc_yuv(buf->format, is_ycrcb, ycbcr.chroma_step); in droid_create_image_from_prime_fd_yuv()
742 if (fourcc == -1) { in droid_create_image_from_prime_fd_yuv()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c377 intel_image_format_lookup(int fourcc) in intel_image_format_lookup() argument
380 if (intel_image_formats[i].fourcc == fourcc) in intel_image_format_lookup()
388 intel_image_get_fourcc(__DRIimage *image, int *fourcc) in intel_image_get_fourcc() argument
391 *fourcc = image->planar_format->fourcc; in intel_image_get_fourcc()
397 *fourcc = intel_image_formats[i].fourcc; in intel_image_get_fourcc()
903 uint32_t fourcc, uint64_t modifier, in intel_query_format_modifier_attribs() argument
907 const struct intel_image_format *f = intel_image_format_lookup(fourcc); in intel_query_format_modifier_attribs()
969 int width, int height, int fourcc, in intel_create_image_from_names() argument
981 f = intel_image_format_lookup(fourcc); in intel_create_image_from_names()
1005 int width, int height, int fourcc, in intel_create_image_from_fds_common() argument
[all …]
/external/libvpx/libvpx/
Dtools_common.h100 uint32_t fourcc; member
135 const uint32_t fourcc; member
146 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);
/external/webp/src/mux/
Dmuxinternal.c81 uint32_t ChunkGetTagFromFourCC(const char fourcc[4]) { in ChunkGetTagFromFourCC()
82 return MKFOURCC(fourcc[0], fourcc[1], fourcc[2], fourcc[3]); in ChunkGetTagFromFourCC()
85 CHUNK_INDEX ChunkGetIndexFromFourCC(const char fourcc[4]) { in ChunkGetIndexFromFourCC()
86 const uint32_t tag = ChunkGetTagFromFourCC(fourcc); in ChunkGetIndexFromFourCC()
/external/libdrm/tests/modetest/
Dmodetest.c173 static void dump_fourcc(uint32_t fourcc) in bit_name_fn()
176 fourcc, in bit_name_fn()
177 fourcc >> 8, in bit_name_fn()
178 fourcc >> 16, in bit_name_fn()
179 fourcc >> 24); in bit_name_fn()
791 unsigned int fourcc; member
810 unsigned int fourcc; member
1090 if (!format_support(ovr, p->fourcc)) in set_plane()
1109 plane_bo = bo_create(dev->fd, p->fourcc, p->w, p->h, handles, in set_plane()
1117 if (drmModeAddFB2(dev->fd, p->w, p->h, p->fourcc, in set_plane()
[all …]
/external/webp/include/webp/
Dmux.h164 WebPMux* mux, const char fourcc[4], const WebPData* chunk_data,
180 const WebPMux* mux, const char fourcc[4], WebPData* chunk_data);
193 WebPMux* mux, const char fourcc[4]);

1234567