/frameworks/av/media/libstagefright/foundation/ |
ALooperRoster.cpp | 103 static void makeFourCC(uint32_t fourcc, char *s, size_t bufsz) { 104 s[0] = (fourcc >> 24) & 0xff; 106 s[1] = (fourcc >> 16) & 0xff; 107 s[2] = (fourcc >> 8) & 0xff; 108 s[3] = fourcc & 0xff; 111 snprintf(s, bufsz, "%u", fourcc); 148 char fourcc[15]; local 149 makeFourCC(handler->mMessages.keyAt(j), fourcc, sizeof(fourcc)); 151 fourcc, [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoconfigparamsdec_vc1.h | 74 /* TODO: wmv_version and fourcc type might be changed later */ 76 guint fourcc; member in struct:_MixVideoConfigParamsDecVC1
|
/external/libyuv/files/unit_test/ |
compare_test.cc | 151 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...] |
/frameworks/native/libs/gui/include/gui/ |
DisplayEventReceiver.h | 42 static inline constexpr uint32_t fourcc(char c1, char c2, char c3, char c4) { function in namespace:android 53 DISPLAY_EVENT_VSYNC = fourcc('v', 's', 'y', 'n'), 54 DISPLAY_EVENT_HOTPLUG = fourcc('p', 'l', 'u', 'g'),
|
/hardware/intel/common/libva/test/basic/ |
test_vaSurfaceAttrib.c | 41 unsigned int fourcc, luma_stride, chroma_u_stride, chroma_v_stride, luma_offset, chroma_u_offset; local
|
/hardware/intel/img/psb_video/src/ |
psb_surface_attrib.c | 55 int width, int height, int fourcc, 65 if ((fourcc == VA_FOURCC_NV12) || (fourcc == VA_FOURCC_YV16) || (fourcc == VA_FOURCC_IYUV) || (fourcc == VA_FOURCC_RGBA)) { 93 if (VA_FOURCC_NV12 == fourcc) { 97 else if (VA_FOURCC_YV16 == fourcc) { 101 else if (VA_FOURCC_IYUV == fourcc) { 105 else if (VA_FOURCC_RGBA == fourcc) { 264 unsigned int fourcc, /* expected fourcc * 557 unsigned long fourcc; local 649 unsigned long fourcc; local [all...] |
psb_surface_ext.h | 90 unsigned int fourcc; member in struct:_PsbVASurface
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
common_types.h | 49 : 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/mesa3d/src/mesa/drivers/dri/i915/ |
intel_regions.h | 120 int fourcc; member in struct:intel_image_format
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_image.h | 55 int fourcc; member in struct:intel_image_format
|
/external/strace/tests/ |
ioctl_v4l2.c | 41 # 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]); [all...] |
/external/strace/tests-m32/ |
ioctl_v4l2.c | 41 # 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]); [all...] |
/external/strace/tests-mx32/ |
ioctl_v4l2.c | 41 # 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]); [all...] |
/external/webrtc/talk/media/webrtc/ |
webrtcvideocapturer.cc | 53 uint32_t fourcc; member in struct:cricket::kVideoFourCCEntry 86 uint32_t fourcc = 0; local 89 fourcc = kSupportedFourCCs[i].fourcc; 93 if (fourcc == 0) { 97 format->fourcc = fourcc; 108 if (kSupportedFourCCs[i].fourcc == format.fourcc) { 255 best_format->fourcc = FOURCC_I420 [all...] |
/hardware/intel/img/psb_video/src/android/ |
psb_surface_gralloc.c | 110 unsigned long fourcc; local 185 fourcc = VA_FOURCC_YV16; 189 fourcc = VA_FOURCC_NV12; 209 vaStatus = psb_surface_create_from_ub(driver_data, width, height, fourcc, 231 /* by default, surface fourcc is NV12 */ 232 psb_surface->extra_info[4] = fourcc; 266 unsigned long fourcc; local 344 fourcc = VA_FOURCC_YV16; 347 fourcc = VA_FOURCC_RGBA; 351 fourcc = VA_FOURCC_NV12 [all...] |
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 38 #define fourcc 0x30385056 macro 135 mem_put_le32(header + 8, fourcc); /* headersize */
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
compare.cc | 94 // Scan an opaque argb image and return fourcc based on alpha offset. 98 uint32 fourcc = 0; local 107 for (h = 0; h < height && fourcc == 0; ++h) { 108 fourcc = ARGBDetectRow_C(argb, width); 111 return fourcc;
|
/external/libvpx/libvpx/ |
tools_common.h | 99 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/libyuv/files/source/ |
compare.cc | 93 // Scan an opaque argb image and return fourcc based on alpha offset. 97 uint32 fourcc = 0; local 106 for (h = 0; h < height && fourcc == 0; ++h) { 107 fourcc = ARGBDetectRow_C(argb, width); 110 return fourcc;
|
/hardware/intel/img/psb_video/src/x11/ |
psb_xvva.c | 252 int fourcc, int bpp, int w, int h, int stride, int size, unsigned int pre_add, 258 srf->fourcc = fourcc; 593 int fourcc 644 fourcc, flags, output->rotate_surface); 766 int fourcc; local 768 fourcc = VA_FOURCC_RGBA; 770 fourcc = VA_FOURCC_NV12; 780 vaStatus = psb_check_rotatesurface(ctx, rotate_width, rotate_height, protected, fourcc); 784 psb_surface_init(driver_data, &vaPtr->dst_srf, fourcc, 4 [all...] |
/external/webrtc/talk/media/base/ |
videocapturer.h | 78 // fourcc. Return true if succeeded. 83 // fourcc, pixel_width, and pixel_height should keep the same over frames. 86 uint32_t fourcc; // compression member in struct:cricket::CapturedFrame 155 // desired: the input desired format. If desired.fourcc is not kAnyFourcc, 156 // the best capture format has the exactly same fourcc. Otherwise, 157 // the best capture format uses a fourcc in GetPreferredFourccs(). 232 // The fourcc component is ignored.
|
videocommon.h | 28 // Common definition for video, including fourcc and VideoFormat. 53 // Definition of FourCC codes 55 // Convert four characters to a FourCC code. 58 #define FOURCC(a, b, c, d) \ 61 // Some pages discussing FourCC codes: 62 // http://www.fourcc.org/yuv.php 68 // FourCC codes grouped according to implementation efficiency. 72 enum FourCC { 74 FOURCC_I420 = FOURCC('I', '4', '2', '0'), 75 FOURCC_I422 = FOURCC('I', '4', '2', '2') 189 uint32_t fourcc; \/\/ Color space. FOURCC_ANY means that any color space is OK. member in struct:cricket::VideoFormatPod [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
platform_android.c | 51 int fourcc; /* __DRI_IMAGE_FOURCC_ */ member in struct:droid_yuv_format 54 /* The following table is used to look up a DRI image FourCC based 57 /* Native format, YCrCb, Chroma step, DRI image FourCC */ 73 return droid_yuv_formats[i].fourcc; 112 /* createImageFromFds requires fourcc format */ 459 int fourcc, pitch; local 477 fourcc = get_fourcc(dri2_surf->buffer->format); 482 if (fourcc == -1 || pitch == 0) { 483 _eglLog(_EGL_WARNING, "Invalid buffer fourcc(%x) or pitch(%d)", 484 fourcc, pitch) 595 int fourcc; local 689 const int fourcc = get_fourcc(buf->format); local [all...] |
/hardware/intel/common/libva/test/putsurface/ |
putsurface_common.c | 93 unsigned int fourcc; member in struct:__anon42309 110 return va_fourcc_map[i].fourcc; 122 if (va_fourcc_map[i].fourcc == format) { 177 lookup_image_format(uint32_t fourcc) 186 if (image_format->fourcc == fourcc) 261 // 1. make sure dst fourcc is supported for vaImage 281 // 3.1 vaSurface with src fourcc 290 // 3.2 vaImage with dst fourcc 292 image_format.fourcc = csc_dst_fourcc [all...] |
/external/libdrm/tests/modetest/ |
modetest.c | 698 unsigned int fourcc; member in struct:pipe_arg 717 unsigned int fourcc; member in struct:plane_arg 997 if (!format_support(ovr, p->fourcc)) 1015 plane_bo = bo_create(dev->fd, p->fourcc, p->w, p->h, handles, 1023 if (drmModeAddFB2(dev->fd, p->w, p->h, p->fourcc, 1092 bo = bo_create(dev->fd, pipes[0].fourcc, dev->mode.width, 1101 pipes[0].fourcc, handles, pitches, offsets, &fb_id, 0); 1211 other_bo = bo_create(dev->fd, pipes[0].fourcc, dev->mode.width, 1218 pipes[0].fourcc, handles, pitches, offsets, [all...] |