Searched defs:format (Results 1 - 25 of 368) sorted by relevance

1234567891011>>

/hardware/libhardware/include/hardware/
H A Daudio_alsaops.h33 * format the audio_format_t to convert
35 * Logs a fatal error if format is not a valid convertible audio_format_t.
37 static inline enum pcm_format pcm_format_from_audio_format(audio_format_t format) argument
39 switch (format) {
61 LOG_ALWAYS_FATAL("pcm_format_from_audio_format: invalid audio format %#x", format);
68 * format the pcm_format to convert
70 * Logs a fatal error if format is not a valid convertible pcm_format.
72 static inline audio_format_t audio_format_from_pcm_format(enum pcm_format format) argument
74 switch (format) {
[all...]
H A Dfb.h57 /* framebuffer pixel format */
58 const int format; member in struct:framebuffer_device_t
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dvbp_trace.c14 void vbp_trace_util(const char* cat, const char* fun, int line, const char* format, ...) argument
16 if (NULL == cat || NULL == fun || NULL == format)
21 va_start(args, format);
22 vprintf(format, args);
/hardware/intel/common/libmix/videodecoder/
H A DVideoDecoderTrace.cpp23 void TraceVideoDecoder(const char* cat, const char* fun, int line, const char* format, ...) argument
25 if (NULL == cat || NULL == fun || NULL == format)
30 va_start(args, format);
31 vprintf(format, args);
/hardware/intel/common/libva/va/
H A Dva_compat.c35 int format,
40 return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces,
31 vaCreateSurfaces_0_32_0( VADisplay dpy, int width, int height, int format, int num_surfaces, VASurfaceID *surfaces ) argument
H A Dva_tpi.c50 int format,
65 return tpi->vaCreateSurfacesWithAttribute( ctx, width, height, format, num_surfaces, surfaces, attribute_tpi);
46 vaCreateSurfacesWithAttribute( VADisplay dpy, int width, int height, int format, int num_surfaces, VASurfaceID *surfaces, VASurfaceAttributeTPI *attribute_tpi ) argument
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
H A DTngDisplayQuery.cpp28 bool DisplayQuery::isVideoFormat(uint32_t format) argument
30 switch (format) {
33 // Expand format to support the case: Software decoder + HW rendering
42 int DisplayQuery::getOverlayLumaStrideAlignment(uint32_t format) argument
45 switch (format) {
H A DTngOverlayPlane.cpp122 uint32_t format; local
124 format = mapper.getFormat();
126 if (format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar &&
127 format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled &&
128 format != HAL_PIXEL_FORMAT_NV12) {
129 ETRACE("Invalid video format %#x", format);
135 if (payload == NULL && format == HAL_PIXEL_FORMAT_NV12) {
/hardware/qcom/display/msm8996/sdm/libs/utils/
H A Dformats.cpp36 bool IsUBWCFormat(LayerBufferFormat format) { argument
37 switch (format) {
51 bool Is10BitFormat(LayerBufferFormat format) { argument
52 switch (format) {
71 const char *GetFormatString(const LayerBufferFormat &format) { argument
72 switch (format) {
/hardware/qcom/display/msm8998/sdm/libs/utils/
H A Dformats.cpp36 bool IsUBWCFormat(LayerBufferFormat format) { argument
37 switch (format) {
51 bool Is10BitFormat(LayerBufferFormat format) { argument
52 switch (format) {
71 const char *GetFormatString(const LayerBufferFormat &format) { argument
72 switch (format) {
118 BufferLayout GetBufferLayout(LayerBufferFormat format) { argument
119 switch (format) {
123 return (IsUBWCFormat(format) ? kUBWC : kLinear);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
H A DTngDisplayQuery.cpp28 bool DisplayQuery::isVideoFormat(uint32_t format) argument
30 switch (format) {
33 // Expand format to support the case: Software decoder + HW rendering
42 int DisplayQuery::getOverlayLumaStrideAlignment(uint32_t format) argument
45 switch (format) {
/hardware/intel/img/psb_video/src/
H A Dpsb_surface_attrib.h107 int format,
124 int format,
140 int format,
120 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/
H A DPnwGrallocBuffer.h32 int format; member in struct:android::intel::PnwIMGGrallocBuffer
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_utils.cpp34 bool IsUncompressedRGBFormat(int format) { argument
35 switch (format) {
64 bool IsCompressedRGBFormat(int format) { argument
65 switch (format) {
102 uint32_t GetBppForUncompressedRGB(int format) { argument
104 switch (format) {
132 ALOGE("Error : %s New format request = 0x%x", __FUNCTION__, format);
/hardware/qcom/display/msm8996/sdm/libs/core/
H A Ddump_impl.cpp60 void DumpImpl::AppendString(char *buffer, uint32_t length, const char *format, ...) { argument
69 va_start(list, format);
70 vsnprintf(buffer, length - filled -1, format, list);
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_utils.cpp34 bool IsUncompressedRGBFormat(int format) { argument
35 switch (format) {
63 bool IsCompressedRGBFormat(int format) { argument
64 switch (format) {
101 uint32_t GetBppForUncompressedRGB(int format) { argument
103 switch (format) {
120 ALOGE("Error : %s New format request", __FUNCTION__);
/hardware/qcom/display/msm8998/sdm/libs/core/
H A Ddump_impl.cpp60 void DumpImpl::AppendString(char *buffer, uint32_t length, const char *format, ...) { argument
69 va_start(list, format);
70 vsnprintf(buffer, length - filled -1, format, list);
/hardware/qcom/display/msm8996/sdm/include/core/
H A Dbuffer_allocator.h50 LayerBufferFormat format = kFormatInvalid; //!< Specifies buffer format for buffer allocation. member in struct:sdm::BufferConfig
/hardware/intel/common/libva/va/wayland/
H A Dva_wayland.c45 va_wayland_error(const char *format, ...) argument
49 va_start(args, format);
51 vfprintf(stderr, format, args);
/hardware/intel/img/hwcomposer/merrifield/include/
H A DIVideoPayloadManager.h46 uint32_t format; member in struct:android::intel::IVideoPayloadManager::MetaData
/hardware/libhardware/modules/camera/3_0/
H A DStream.cpp41 mFormat(s->format),
106 const char* Stream::formatToString(int format) argument
109 switch (format) {
143 return "Invalid stream format!";
169 if (s->format != mFormat) {
170 ALOGE("%s:%d: Mismatched format in reused stream. Got %s(%d) "
171 "expect %s(%d)", __func__, mId, formatToString(s->format),
172 s->format, formatToString(mFormat), mFormat);
/hardware/libhardware/modules/usbcamera/
H A DStream.cpp88 const char* Stream::formatToString(int format) { argument
90 switch (format) {
124 return "Invalid stream format!";
144 if (s->format != mStream->format) {
145 ALOGE("%s:%d: Mismatched format in reused stream. Got %s(%d) "
146 "expect %s(%d)", __func__, mId, formatToString(s->format),
147 s->format, formatToString(mStream->format), mStream->format);
[all...]
/hardware/libhardware_legacy/audio/
H A DA2dpAudioInterface.h52 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
57 int *format=0,
65 int *format,
89 virtual int format() const { return AudioSystem::PCM_16_BIT; } function in class:android_audio_legacy::A2dpAudioInterface::A2dpAudioStreamOut
H A DAudioHardwareGeneric.h53 virtual int format() const { return AudioSystem::PCM_16_BIT; } function in class:android_audio_legacy::AudioStreamOutGeneric
87 virtual int format() const { return AudioSystem::PCM_16_BIT; } function in class:android_audio_legacy::AudioStreamInGeneric
122 int *format=0,
130 int *format,
H A DAudioHardwareStub.h36 virtual int format() const { return AudioSystem::PCM_16_BIT; } function in class:android_audio_legacy::AudioStreamOutStub
53 virtual int format() const { return AudioSystem::PCM_16_BIT; } function in class:android_audio_legacy::AudioStreamInStub
81 int *format=0,
89 int *format,

Completed in 671 milliseconds

1234567891011>>