/hardware/intel/common/wrs_omxil_core/base/src/ |
H A D | portbase.cpp | 66 portdefinition.format.audio.cMIMEType = &definition_format_mimetype[0]; 67 portdefinition.format.video.cMIMEType = &definition_format_mimetype[0]; 68 portdefinition.format.image.cMIMEType = &definition_format_mimetype[0]; 173 LOGV("unsupport color format !"); 228 OMX_AUDIO_PORTDEFINITIONTYPE *format = &temp.format.audio; local 229 const OMX_AUDIO_PORTDEFINITIONTYPE *pformat = &p->format.audio; 235 strncpy(format->cMIMEType, pformat->cMIMEType, 237 format->cMIMEType[mimetype_len+1] = '\0'; 238 format 245 OMX_VIDEO_PORTDEFINITIONTYPE *format = &temp.format.video; local 278 OMX_IMAGE_PORTDEFINITIONTYPE *format = &temp.format.image; local 302 OMX_OTHER_PORTDEFINITIONTYPE *format = &temp.format.other; local [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/ |
H A D | PnwGrallocBuffer.cpp | 35 mFormat = grallocHandle->format;
|
H A D | PnwGrallocBuffer.h | 32 int format; member in struct:android::intel::PnwIMGGrallocBuffer
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
H A D | dump_impl.h | 37 static void AppendString(char *buffer, uint32_t length, const char *format, ...);
|
H A D | dump_impl.cpp | 60 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/libs/core/ |
H A D | dump_impl.h | 37 static void AppendString(char *buffer, uint32_t length, const char *format, ...);
|
H A D | dump_impl.cpp | 60 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/sdm/libs/core/ |
H A D | dump_impl.h | 37 static void AppendString(char *buffer, uint32_t length, const char *format, ...);
|
H A D | dump_impl.cpp | 60 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/google/av/codec2/vndk/include/ |
H A D | C2AllocatorGralloc.h | 44 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, uint32_t stride, 52 uint32_t *width, uint32_t *height, uint32_t *format, uint64_t *usage, uint32_t *stride, 64 uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage,
|
/hardware/google/av/media/sfplugin/ |
H A D | Codec2Buffer.h | 125 const sp<AMessage> &format, 144 * \param format mandatory buffer format for MediaCodecBuffer 150 const sp<AMessage> &format, const std::shared_ptr<C2LinearBlock> &block); 160 const sp<AMessage> &format, 177 * \param format mandatory buffer format for MediaCodecBuffer 183 const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer); 191 const sp<AMessage> &format, 213 * \param format mandator [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | psb_surface_attrib.h | 107 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/qcom/audio/legacy/alsa_sound/ |
H A D | ALSAStreamOps.cpp | 94 status_t ALSAStreamOps::set(int *format, argument 141 snd_pcm_format_t iformat = mHandle->format; 143 if (format) { 144 switch(*format) { 158 iformat = *format; 166 ALOGE("Unknown PCM format %i. Forcing default", *format); 170 if (mHandle->format != iformat) 175 *format = AudioSystem::PCM_16_BIT; 178 *format 309 int ALSAStreamOps::format() const function in class:android_audio_legacy::ALSAStreamOps [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_layers.cpp | 221 LayerBufferFormat format = GetSDMFormat(handle->format, handle->flags); local 222 if ((format != layer_buffer->format) || (UINT32(aligned_width) != layer_buffer->width) || 228 layer_buffer->format = format; 316 layer_->input_buffer.format = kFormatARGB8888; 509 LayerBufferFormat format = kFormatInvalid; local 513 format = kFormatRGBA8888Ubwc; 516 format [all...] |
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 66 bool isYUVSurface(ColorConvertFormat format); 67 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource); 70 uint32_t getC2DFormat(ColorConvertFormat format); 71 size_t calcStride(ColorConvertFormat format, size_t width); 72 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 73 size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 76 size_t calcLumaAlign(ColorConvertFormat format); 77 size_t calcSizeAlign(ColorConvertFormat format); 78 C2DBytesPerPixel calcBytesPerPixel(ColorConvertFormat format); 295 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format) argument 313 getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) argument 412 getC2DFormat(ColorConvertFormat format) argument 437 calcStride(ColorConvertFormat format, size_t width) argument 466 calcYSize(ColorConvertFormat format, size_t width, size_t height) argument 494 calcSize(ColorConvertFormat format, size_t width, size_t height) argument 621 calcLumaAlign(ColorConvertFormat format) argument 637 calcSizeAlign(ColorConvertFormat format) argument 653 calcBytesPerPixel(ColorConvertFormat format) argument [all...] |
/hardware/intel/common/omx-components/videocodec/ |
H A D | OMXVideoDecoderVP9Hybrid.cpp | 65 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP9_MIME_TYPE; 66 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP9; 90 mGraphicBufferParam.graphicBufferColorFormat = def_output->format.video.eColorFormat; 91 mGraphicBufferParam.graphicBufferHStride = (def_output->format.video.nFrameWidth + VP9_YV12_ALIGN) & ~VP9_YV12_ALIGN; 92 mGraphicBufferParam.graphicBufferVStride = (def_output->format.video.nFrameHeight + 0x1f) & ~0x1f; 93 mGraphicBufferParam.graphicBufferWidth = def_output->format.video.nFrameWidth; 94 mGraphicBufferParam.graphicBufferHeight = def_output->format.video.nFrameHeight; 95 mDecodedImageWidth = def_output->format.video.nFrameWidth; 96 mDecodedImageHeight = def_output->format.video.nFrameHeight; 174 mGraphicBufferParam.graphicBufferColorFormat = def_output->format [all...] |
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 66 bool isYUVSurface(ColorConvertFormat format); 67 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource); 70 uint32_t getC2DFormat(ColorConvertFormat format); 71 size_t calcStride(ColorConvertFormat format, size_t width); 72 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 73 size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 76 size_t calcLumaAlign(ColorConvertFormat format); 77 size_t calcSizeAlign(ColorConvertFormat format); 78 C2DBytesPerPixel calcBytesPerPixel(ColorConvertFormat format); 292 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format) argument 310 getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) argument 406 getC2DFormat(ColorConvertFormat format) argument 431 calcStride(ColorConvertFormat format, size_t width) argument 460 calcYSize(ColorConvertFormat format, size_t width, size_t height) argument 488 calcSize(ColorConvertFormat format, size_t width, size_t height) argument 615 calcLumaAlign(ColorConvertFormat format) argument 631 calcSizeAlign(ColorConvertFormat format) argument 647 calcBytesPerPixel(ColorConvertFormat format) argument [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_buffer_allocator.cpp | 65 int format; local 80 error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); 87 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, 162 int format; local 175 if (SetBufferInfo(buffer_config.format, &format, &alloc_flags) < 0) { 181 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, 189 int HWCBufferAllocator::SetBufferInfo(LayerBufferFormat format, int *target, int *flags) { argument 190 switch (format) { [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
H A D | TngOverlayPlane.cpp | 122 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/intel/img/psb_video/src/android/ |
H A D | psb_surface_gralloc.c | 100 int format, 109 int protected = (VA_RT_FORMAT_PROTECTED & format); 118 format = format & (~VA_RT_FORMAT_PROTECTED); 126 ALOGD("format is 0x%x, width is %d, height is %d, num_surfaces is %d.\n", format, width, height, num_surfaces); 127 /* We only support one format */ 128 if ((VA_RT_FORMAT_YUV420 != format) 129 && (VA_RT_FORMAT_YUV422 != format)) { 183 switch (format) { 96 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument 252 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument [all...] |
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 65 bool isYUVSurface(ColorConvertFormat format); 66 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource); 69 uint32_t getC2DFormat(ColorConvertFormat format); 70 size_t calcStride(ColorConvertFormat format, size_t width); 71 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 72 size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 75 size_t calcLumaAlign(ColorConvertFormat format); 76 size_t calcSizeAlign(ColorConvertFormat format); 77 C2DBytesPerPixel calcBytesPerPixel(ColorConvertFormat format); 266 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format) argument 283 getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) argument 374 getC2DFormat(ColorConvertFormat format) argument 397 calcStride(ColorConvertFormat format, size_t width) argument 424 calcYSize(ColorConvertFormat format, size_t width, size_t height) argument 447 calcSize(ColorConvertFormat format, size_t width, size_t height) argument 561 calcLumaAlign(ColorConvertFormat format) argument 577 calcSizeAlign(ColorConvertFormat format) argument 592 calcBytesPerPixel(ColorConvertFormat format) argument [all...] |
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 53 audio_format_t format; member in struct:stub_stream_out 62 audio_format_t format; member in struct:stub_stream_in 105 ALOGV("out_get_format: %d", out->format); 106 return out->format; 109 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument 113 ALOGV("out_set_format: %d", format); 114 out->format = format; 256 ALOGV("in_get_format: %d", in->format); 257 return in->format; 260 in_set_format(struct audio_stream *stream, audio_format_t format) argument [all...] |
/hardware/interfaces/audio/4.0/ |
H A D | IStream.hal | 54 * Return supported native sampling rates of the stream for a given format. 66 * @param format audio format for which the sample rates are supported. 68 * Must be OK if the format is supported. 71 getSupportedSampleRates(AudioFormat format) 96 * @param format audio format for which the channel masks are supported. 98 * Must be OK if the format is supported. 101 getSupportedChannelMasks(AudioFormat format) 109 * @param format audi [all...] |
/hardware/libhardware/modules/camera/3_4/ |
H A D | format_metadata_factory_test.cpp | 70 // The camera must report at least one qualified format. 74 // For USB cameras, we assume that this format will not be present, and it 75 // will default to a qualified format or one of the other required formats. 83 for (auto format : formats) { 84 std::set<std::array<int32_t, 2>> format_sizes = sizes[format]; 85 EXPECT_CALL(*mock_device_, GetFormatFrameSizes(format, _)) 89 EXPECT_CALL(*mock_device_, GetFormatFrameDurationRange(format, size, _)) 92 DoAll(SetArgPointee<2>(durations[format][size]), Return(0))); 110 // 3 sizes per format, 4 elements per config. 140 // If a qualified format i [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
H A D | hwc_display_virtual.cpp | 187 buffer_info.buffer_config.format = GetSDMFormat(output_handle->format, output_handle->flags); 209 int output_handle_format = output_handle->format; 214 LayerBufferFormat format = GetSDMFormat(output_handle_format, output_handle->flags); local 215 if (format == kFormatInvalid) { 227 (format != output_buffer_->format)) { 268 int output_handle_format = output_handle->format; 274 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); 276 if (output_buffer_->format [all...] |