Home
last modified time | relevance | path

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

12

/aosp12/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp103 static void makeFourCC(uint32_t fourcc, char *s, size_t bufsz) { in makeFourCC() argument
104 s[0] = (fourcc >> 24) & 0xff; in makeFourCC()
106 s[1] = (fourcc >> 16) & 0xff; in makeFourCC()
107 s[2] = (fourcc >> 8) & 0xff; in makeFourCC()
108 s[3] = fourcc & 0xff; in makeFourCC()
111 snprintf(s, bufsz, "%u", fourcc); in makeFourCC()
148 char fourcc[15]; in dump() local
149 makeFourCC(handler->mMessages.keyAt(j), fourcc, sizeof(fourcc)); in dump()
151 fourcc, in dump()
/aosp12/frameworks/native/libs/gui/include/gui/
H A DDisplayEventReceiver.h42 static inline constexpr uint32_t fourcc(char c1, char c2, char c3, char c4) { in fourcc() function
53 DISPLAY_EVENT_VSYNC = fourcc('v', 's', 'y', 'n'),
54 DISPLAY_EVENT_HOTPLUG = fourcc('p', 'l', 'u', 'g'),
55 DISPLAY_EVENT_MODE_CHANGE = fourcc('m', 'o', 'd', 'e'),
56 DISPLAY_EVENT_NULL = fourcc('n', 'u', 'l', 'l'),
57 DISPLAY_EVENT_FRAME_RATE_OVERRIDE = fourcc('r', 'a', 't', 'e'),
58 DISPLAY_EVENT_FRAME_RATE_OVERRIDE_FLUSH = fourcc('f', 'l', 's', 'h'),
/aosp12/hardware/libhardware/modules/camera/3_4/
H A Dstream_format.cpp56 v4l2_pixel_format_(format.fourcc), in StreamFormat()
149 uint32_t fourcc, uint32_t width, in FindBestFitFormat() argument
154 if (format.fourcc == fourcc && format.width == width && in FindBestFitFormat()
165 if (!arc::ImageProcessor::SupportsConversion(V4L2_PIX_FMT_YUV420, fourcc)) { in FindBestFitFormat()
166 HAL_LOGE("Conversion between YU12 and 0x%x not supported.", fourcc); in FindBestFitFormat()
205 if (supported_format.fourcc != supported_fourcc) { in GetQualifiedFormats()
H A Dv4l2_wrapper.cpp325 supported_format.fourcc = pixel_format; in GetSupportedFormats()
372 unique_fourccs.insert(format.fourcc); in GetQualifiedFormats()
683 uint32_t fourcc = in DequeueRequest() local
696 stream_buffer->stream->height, fourcc, buffer.length, in DequeueRequest()
704 if (request_context->camera_buffer->GetFourcc() == fourcc && in DequeueRequest()
H A Dstream_format.h64 uint32_t fourcc, uint32_t width,
/aosp12/hardware/libhardware/modules/camera/3_4/arc/
H A Dframe_buffer.h37 void SetFourcc(uint32_t fourcc) { fourcc_ = fourcc; } in SetFourcc() argument
83 uint32_t height, uint32_t fourcc);
106 uint32_t fourcc, uint32_t device_buffer_length,
H A Dframe_buffer.cpp64 uint32_t fourcc) in V4L2FrameBuffer() argument
69 fourcc_ = fourcc; in V4L2FrameBuffer()
105 uint32_t height, uint32_t fourcc, in GrallocFrameBuffer() argument
121 fourcc_ = fourcc; in GrallocFrameBuffer()
H A Dimage_processor.h25 static size_t GetConvertedSize(int fourcc, uint32_t width, uint32_t height);
H A Dcached_frame.cpp62 size_t CachedFrame::GetConvertedSize(int fourcc) const { in GetConvertedSize()
63 return ImageProcessor::GetConvertedSize(fourcc, yu12_frame_->GetWidth(), in GetConvertedSize()
H A Dcommon_types.h43 uint32_t fourcc; member
H A Dcached_frame.h47 size_t GetConvertedSize(int fourcc) const;
H A Dimage_processor.cpp70 size_t ImageProcessor::GetConvertedSize(int fourcc, uint32_t width, in GetConvertedSize() argument
78 switch (fourcc) { in GetConvertedSize()
91 LOGF(ERROR) << "Pixel format " << FormatToString(fourcc) in GetConvertedSize()
/aosp12/hardware/interfaces/camera/device/3.4/default/
H A DExternalCameraDevice.cpp275 switch (fmt.fourcc) { in initAvailableCapabilities()
593 uint32_t fourcc, const std::array<int, SIZE>& halFormats, in initOutputCharskeysByFormat() argument
605 if (supportedFormat.fourcc != fourcc) { in initOutputCharskeysByFormat()
708 switch (supportedFormat.fourcc) { in initOutputCharsKeys()
717 supportedFormat.fourcc & 0xFF, (supportedFormat.fourcc >> 8) & 0xFF, in initOutputCharsKeys()
718 (supportedFormat.fourcc >> 16) & 0xFF, (supportedFormat.fourcc >> 24) & 0xFF); in initOutputCharsKeys()
770 .pixel_format = format->fourcc, in getFrameRateList()
908 .fourcc = fmtdesc.pixelformat in getCandidateSupportedFormatsLocked()
911 if (format.fourcc == V4L2_PIX_FMT_Z16 && depthEnabled) { in getCandidateSupportedFormatsLocked()
H A DExternalCameraDeviceSession.cpp273 streamingFmt.fourcc & 0xFF, in dumpState()
274 (streamingFmt.fourcc >> 8) & 0xFF, in dumpState()
1973 fmt.fmt.pix.pixelformat = v4l2Fmt.fourcc; in configureV4l2StreamLocked()
1995 v4l2Fmt.fourcc & 0xFF, in configureV4l2StreamLocked()
1996 (v4l2Fmt.fourcc >> 8) & 0xFF, in configureV4l2StreamLocked()
1997 (v4l2Fmt.fourcc >> 16) & 0xFF, in configureV4l2StreamLocked()
1998 (v4l2Fmt.fourcc >> 24) & 0xFF, in configureV4l2StreamLocked()
2364 v4l2Fmt.fourcc & 0xFF, in configureStreams()
2365 (v4l2Fmt.fourcc >> 8) & 0xFF, in configureStreams()
2366 (v4l2Fmt.fourcc >> 16) & 0xFF, in configureStreams()
[all …]
H A DExternalCameraUtils.cpp45 Frame::Frame(uint32_t width, uint32_t height, uint32_t fourcc) : in Frame() argument
46 mWidth(width), mHeight(height), mFourcc(fourcc) {} in Frame()
49 uint32_t w, uint32_t h, uint32_t fourcc, in V4L2Frame() argument
51 Frame(w, h, fourcc), in V4L2Frame()
/aosp12/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_q6vdec.h137 u32 fourcc; member
252 u32 fourcc; member
290 u32 fourcc; member
/aosp12/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_q6vdec.h116 u32 fourcc; /* video format */ member
224 u32 fourcc; member
259 u32 fourcc; member
/aosp12/bionic/libc/kernel/uapi/drm/
H A Dexynos_drm.h94 __u32 fourcc; member
134 __u32 fourcc; member
150 __u32 fourcc; member
/aosp12/hardware/qcom/msm8996/kernel-headers/linux/
H A Dmsm_q6vdec.h137 u32 fourcc; member
252 u32 fourcc; member
290 u32 fourcc; member
/aosp12/hardware/qcom/msm8996/original-kernel-headers/linux/
H A Dmsm_q6vdec.h116 u32 fourcc; /* video format */ member
224 u32 fourcc; member
259 u32 fourcc; member
/aosp12/hardware/google/gchips/gralloc4/interfaces/libs/drmutils/src/
H A Ddrmutils.cpp28 uint32_t fourcc; in drm_fourcc_from_handle() member
109 return table[i].fourcc; in drm_fourcc_from_handle()
/aosp12/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
H A DExternalCameraUtils.h120 uint32_t fourcc; member
133 Frame(uint32_t width, uint32_t height, uint32_t fourcc);
146 V4L2Frame(uint32_t w, uint32_t h, uint32_t fourcc, int bufIdx, int fd,
/aosp12/frameworks/av/media/extractors/mkv/
H A DMatroskaExtractor.cpp1275 static uint32_t FourCCtoLower(uint32_t fourcc) { in FourCCtoLower() argument
1276 uint8_t ch_1 = tolower((fourcc >> 24) & 0xff); in FourCCtoLower()
1277 uint8_t ch_2 = tolower((fourcc >> 16) & 0xff); in FourCCtoLower()
1278 uint8_t ch_3 = tolower((fourcc >> 8) & 0xff); in FourCCtoLower()
1279 uint8_t ch_4 = tolower((fourcc) & 0xff); in FourCCtoLower()
1286 ALOGV("MKVFourCC2MIME fourcc 0x%8.8x", fourcc); in MKVFourCC2MIME()
1287 uint32_t lowerFourcc = FourCCtoLower(fourcc); in MKVFourCC2MIME()
1320 MakeFourCCString(fourcc, fourccString); in MKVFourCC2MIME()
2029 fourcc = ntohl(fourcc); in addTracks()
2036 mime, fourcc); in addTracks()
[all …]
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMPEG4Writer.h54 void beginBox(const char *fourcc);
61 void writeFourcc(const char *fourcc);
/aosp12/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp1768 void MPEG4Writer::beginBox(const char *fourcc) { in beginBox() argument
1769 ALOGV("beginBox:%s", fourcc); in beginBox()
1770 CHECK_EQ(strlen(fourcc), 4u); in beginBox()
1776 writeFourcc(fourcc); in beginBox()
4263 const char *fourcc = getFourCCForMime(mime); in writeMetadataFourCCBox() local
4264 if (fourcc == NULL) { in writeMetadataFourCCBox()
4300 const char *fourcc = getFourCCForMime(mime); in writeVideoFourCCBox() local
4301 if (fourcc == NULL) { in writeVideoFourCCBox()
4306 mOwner->beginBox(fourcc); // video format in writeVideoFourCCBox()
4382 const char *fourcc = getFourCCForMime(mime); in writeAudioFourCCBox() local
[all …]

12