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

123

/external/libyuv/files/unit_test/
H A Dvideo_common_test.cc29 static bool TestValidFourCC(uint32 fourcc, int bpp) { argument
30 if (!TestValidChar(fourcc & 0xff) || !TestValidChar((fourcc >> 8) & 0xff) ||
31 !TestValidChar((fourcc >> 16) & 0xff) ||
32 !TestValidChar((fourcc >> 24) & 0xff)) {
H A Dcompare_test.cc151 uint32 fourcc; local
159 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_,
161 EXPECT_EQ(static_cast<uint32>(libyuv::FOURCC_BGRA), fourcc); local
164 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_,
166 EXPECT_EQ(static_cast<uint32>(libyuv::FOURCC_ARGB), fourcc); local
170 fourcc = ARGBDetect(src_a, benchmark_width_ * 4, benchmark_width_,
173 EXPECT_EQ(0u, fourcc);
179 uint32 fourcc; local
187 fourcc = ARGBDetect(src_a + 1, benchmark_width_ * 4, benchmark_width_,
189 EXPECT_EQ(static_cast<uint32>(libyuv::FOURCC_BGRA), fourcc); local
194 EXPECT_EQ(static_cast<uint32>(libyuv::FOURCC_ARGB), fourcc); local
[all...]
/external/libvpx/libvpx/
H A Divfenc.c17 unsigned int fourcc, int frame_cnt) {
26 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.cc25 stereo_format_t stereo_fmt, unsigned int fourcc,
49 switch (fourcc) {
23 write_webm_file_header(struct WebmOutputContext *webm_ctx, const vpx_codec_enc_cfg_t *cfg, stereo_format_t stereo_fmt, unsigned int fourcc, const struct VpxRational *par) argument
H A Dtools_common.h99 uint32_t fourcc; member in struct:VpxInputContext
134 const uint32_t fourcc; member in struct:VpxInterface
145 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);
/external/libvpx/libvpx/third_party/libyuv/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/libyuv/files/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.cc43 uint32 fourcc) {
44 uint32 format = CanonicalFourCC(fourcc);
249 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.cc43 uint32 fourcc) {
44 uint32 format = CanonicalFourCC(fourcc);
245 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/libxcam/xcore/
H A Dxcam_common.cpp84 xcam_fourcc_to_string (uint32_t fourcc) argument
89 memcpy (str, &fourcc, 4);
/external/autotest/client/site_tests/camera_V4L2/src/
H A Dcommon_types.h49 : width(w), height(h), fourcc(fmt) {
54 uint32_t fourcc; member in struct:SupportedFormat
57 // fourcc are 640x480 YUYV. If frameRates are 15.0 and 30.0, the camera
/external/libxcam/modules/ocl/
H A Dcl_csc_handler.cpp112 CLCscImageHandler::set_output_format (uint32_t fourcc) argument
116 V4L2_PIX_FMT_XBGR32 == fourcc || V4L2_PIX_FMT_NV12 == fourcc,
119 xcam_fourcc_to_string (fourcc));
121 _output_format = fourcc;
H A Dcl_3a_image_processor.cpp66 CL3aImageProcessor::set_output_format (uint32_t fourcc) argument
70 V4L2_PIX_FMT_NV12 == fourcc,
73 xcam_fourcc_to_string (fourcc));
75 _output_fourcc = fourcc;
H A Dcl_bayer_pipe_handler.cpp72 CLBayerPipeImageHandler::set_output_format (uint32_t fourcc) argument
76 XCAM_PIX_FMT_RGB48_planar == fourcc || XCAM_PIX_FMT_RGB24_planar == fourcc,
79 get_name (), xcam_fourcc_to_string (fourcc));
81 _output_format = fourcc;
H A Dcl_post_image_processor.cpp78 CLPostImageProcessor::set_output_format (uint32_t fourcc) argument
80 switch (fourcc) {
96 xcam_fourcc_to_string(fourcc));
100 _output_fourcc = fourcc;
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_regions.h120 int fourcc; member in struct:intel_image_format
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_image.h55 int fourcc; member in struct:intel_image_format
/external/strace/tests/
H A Dioctl_v4l2.c41 # define fourcc(a0, a1, a2, a3) \ macro
51 # define fourcc(a0, a1, a2, a3) \ macro
872 p_frmsizeenum->pixel_format = fourcc(cc[0], cc[1], cc[2], cc[3]);
/external/strace/tests-m32/
H A Dioctl_v4l2.c41 # define fourcc(a0, a1, a2, a3) \ macro
51 # define fourcc(a0, a1, a2, a3) \ macro
872 p_frmsizeenum->pixel_format = fourcc(cc[0], cc[1], cc[2], cc[3]);
/external/strace/tests-mx32/
H A Dioctl_v4l2.c41 # define fourcc(a0, a1, a2, a3) \ macro
51 # define fourcc(a0, a1, a2, a3) \ macro
872 p_frmsizeenum->pixel_format = fourcc(cc[0], cc[1], cc[2], cc[3]);
/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) + " ";
H A Dvideoframe.cc243 bool VideoFrame::Validate(uint32_t fourcc, argument
256 uint32_t format = CanonicalFourCC(fourcc);

Completed in 718 milliseconds

123