/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
H A D | hw_info_drm.cpp | 88 #define PRINTLOG(tag, method, format, buf) \ 90 va_start(list, format); \ 91 vsnprintf(buf, sizeof(buf), format, list); \ 95 void Error(const char *format, ...) { PRINTLOG(kTagNone, Error, format, buf_); } argument 96 void Warning(const char *format, ...) { PRINTLOG(kTagDriverConfig, Warning, format, buf_); } argument 97 void Info(const char *format, ...) { PRINTLOG(kTagDriverConfig, Info, format, buf_); } argument 98 void Debug(const char *format, argument 99 Verbose(const char *format, ...) argument [all...] |
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
H A D | media_video_hidl_test_common.cpp | 88 portDef.format.video.nFrameWidth = nFrameWidth; 89 portDef.format.video.nFrameHeight = nFrameHeight; 90 portDef.format.video.nStride = (((nFrameWidth + 15) >> 4) << 4); 91 portDef.format.video.nSliceHeight = (((nFrameHeight + 15) >> 4) << 4); 92 portDef.format.video.nBitrate = nBitrate; 93 portDef.format.video.xFramerate = xFramerate; 94 portDef.format.video.bFlagErrorConcealment = OMX_TRUE; 95 portDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; 96 portDef.format.video.eColorFormat = eColorFormat;
|
H A D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 430 ((portDef.format.video.nFrameWidth + 15) >> 431 4 * (portDef.format.video.nFrameHeight + 15) >> 4) / 472 portDef.format.video.nFrameWidth = nFrameWidth; 473 portDef.format.video.nFrameHeight = nFrameHeight; 474 portDef.format.video.nBitrate = nBitrate; 475 portDef.format.video.xFramerate = xFramerate; 476 portDef.format.video.bFlagErrorConcealment = OMX_TRUE; 477 portDef.format.video.eCompressionFormat = eCompressionFormat; 478 portDef.format.video.eColorFormat = OMX_COLOR_FormatUnused; 575 int colorFormatConversion(BufferInfo* buffer, void* buff, PixelFormat format, argument 694 fillGraphicBuffer(BufferInfo* buffer, PixelFormat format, std::ifstream& eleStream) argument 751 PixelFormat format = PixelFormat::YCBCR_420_888; local [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
H A D | utils.c | 232 if (in->format == AUDIO_FORMAT_PCM_16_BIT) { 239 } else if (in->format == AUDIO_FORMAT_PCM_24_BIT_PACKED || 240 in->format == AUDIO_FORMAT_PCM_8_24_BIT) { 247 } else if (in->format == AUDIO_FORMAT_PCM_32_BIT) { 255 ALOGE("%s bad format\n", __func__); 287 if (!audio_is_linear_pcm(out->format)) { 295 } else if (out->format == AUDIO_FORMAT_PCM_16_BIT) { 302 } else if (out->format == AUDIO_FORMAT_PCM_24_BIT_PACKED || 303 out->format == AUDIO_FORMAT_PCM_8_24_BIT) { 310 } else if (out->format [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/ |
H A D | mm_lib2d_test.c | 102 * @format: format of the input yuv frame 110 cam_format_t format; member in struct:input_yuv_data_t 140 // assuming buffer format is always ARGB 141 void lib2d_dump_tga(void *addr, cam_format_t format, int width, argument 347 cam_format_t format = CAM_FORMAT_YUV_420_NV21; local 392 format = (uint32_t)atoi(argv[6]); 399 "<stride> <offset> <format> \n"); 410 format = input_nv21[index].format; [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayUtils.cpp | 91 int getMdpFormat(int format) { argument 92 switch (format) { 130 //NV12 encodeable format maps to the venus format on 142 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format); 149 // This function returns corresponding tile format 153 int getMdpFormat(int format, bool tileEnabled) argument 156 return getMdpFormat(format); 158 switch (format) { [all...] |
H A D | overlayMdssRot.cpp | 63 return mRotInfo.src.format; 79 mRotInfo.src.format = whf.format; 180 // Calculate the size based on rotator's dst format, w and h. 251 mRotInfo.src.format); //mdss src and dst formats are same. 289 //respective format classes, yuv/rgb. The table above is for reference 290 if(utils::isYuv(destWhf.format)) {
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | mapper.cpp | 320 int format = va_arg(args, int); local 335 height, format, 0, alignedw, alignedh); 340 hnd->format = format; 350 int format = va_arg(args, int); local 354 0, format, 0, alignedw, alignedh); 395 int format = va_arg(args, int); local 400 *tileEnabled = isUBwcEnabled(format, usage); 402 height, format, usage, *alignedWidth, *alignedHeight);
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
H A D | mapper.cpp | 320 int format = va_arg(args, int); local 335 height, format, 0, alignedw, alignedh); 340 hnd->format = format; 350 int format = va_arg(args, int); local 354 0, format, 0, alignedw, alignedh); 395 int format = va_arg(args, int); local 400 *tileEnabled = isUBwcEnabled(format, usage); 402 height, format, usage, *alignedWidth, *alignedHeight);
|
/hardware/google/av/codec2/vndk/ |
H A D | C2AllocatorGralloc.cpp | 113 uint32_t format; member in struct:android::__anon223::C2HandleGralloc::ExtraData 156 // we cannot validate width/height/format/usage without accessing gralloc driver 162 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, 170 width, height, format, uint32_t(usage & 0xFFFFFFFF), uint32_t(usage >> 32), 211 uint32_t *width, uint32_t *height, uint32_t *format, 220 *format = xd->format; 240 uint32_t width, uint32_t height, uint32_t format, uint64_t usage, uint32_t stride, uint64_t igbp_id, uint32_t igbp_slot) { 241 return C2HandleGralloc::WrapNativeHandle(handle, width, height, format, usage, stride, igbp_id, igbp_slot); 353 (uint32_t)mInfo.mapperInfo.format, mInf 160 WrapNativeHandle( const native_handle_t *const handle, uint32_t width, uint32_t height, uint32_t format, uint64_t usage, uint32_t stride, uint64_t igbp_id = 0, uint32_t igbp_slot = 0) argument 209 Import( const C2Handle *const handle, uint32_t *width, uint32_t *height, uint32_t *format, uint64_t *usage, uint32_t *stride, uint64_t *igbp_id, uint32_t *igbp_slot) argument 238 WrapNativeCodec2GrallocHandle( const native_handle_t *const handle, uint32_t width, uint32_t height, uint32_t format, uint64_t usage, uint32_t stride, uint64_t igbp_id, uint32_t igbp_slot) argument 574 _UnwrapNativeCodec2GrallocMetadata( const C2Handle *const handle, uint32_t *width, uint32_t *height, uint32_t *format,uint64_t *usage, uint32_t *stride, uint64_t *igbp_id, uint32_t *igbp_slot) argument 596 newGraphicAllocation( uint32_t width, uint32_t height, uint32_t format, const C2MemoryUsage &usage, std::shared_ptr<C2GraphicAllocation> *allocation) argument 699 newGraphicAllocation( uint32_t width, uint32_t height, uint32_t format, C2MemoryUsage usage, std::shared_ptr<C2GraphicAllocation> *allocation) argument [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
H A D | AnnOverlayPlane.cpp | 176 uint32_t format = mapper.getFormat(); local 188 if (format == HAL_PIXEL_FORMAT_BGRX_8888 || 189 format == HAL_PIXEL_FORMAT_BGRA_8888) { 190 // set source format XRGB 200 // clear original format setting 216 switch(format) { 263 // NOTE: this is the decoded video format, align the height to 32B 313 ELOGTRACE("unsupported format %d", format); 339 uint32_t format local 417 uint32_t format = mapper.getFormat(); local 747 uint32_t format; local 783 uint32_t format; local [all...] |
/hardware/interfaces/camera/device/3.4/default/ |
H A D | ExternalCameraDevice.cpp | 577 ALOGE("%s: Init supported format list failed", __FUNCTION__); 594 for (const auto& format : halFormats) { 595 streamConfigurations.push_back(format); 621 for (const auto& format : halFormats) { 622 minFrameDurations.push_back(format); 628 // The stall duration is 0 for non-jpeg formats. For JPEG format, stall 631 for (const auto& format : halFormats) { 634 (format == HAL_PIXEL_FORMAT_BLOB) ? NS_TO_SECOND : 0; 635 stallDurations.push_back(format); 692 int fd, double fpsUpperBound, SupportedV4L2Format* format) { 691 getFrameRateList( int fd, double fpsUpperBound, SupportedV4L2Format* format) argument [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioUtil.cpp | 24 int AudioUtil::printFormatFromEDID(unsigned char format) { argument 25 switch (format) { 69 ALOGV("Invalid format ID...."); 72 return format; 104 unsigned char format) { 106 if (format == 1) { 118 ALOGV("not lpcm format, return 0"); 103 getBitsPerSampleFromEDID(unsigned char byte, unsigned char format) argument
|
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlayMdpRot.cpp | 47 return mRotImgInfo.dst.format; 53 if(mRotImgInfo.src.format == MDP_Y_CR_CB_GH2V2){ 94 mRotImgInfo.src.format = whf.format; 153 mRotImgInfo.dst.format);
|
/hardware/intel/common/libva/va/wayland/ |
H A D | va_wayland.c | 45 va_wayland_error(const char *format, ...) argument 49 va_start(args, format); 51 vfprintf(stderr, format, args);
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
H A D | AnnOverlayPlane.cpp | 168 uint32_t format = mapper.getFormat(); local 181 // clear original format setting 197 switch(format) { 232 // NOTE: this is the decoded video format, align the height to 32B 282 ETRACE("unsupported format %d", format); 660 uint32_t format; local 662 format = mapper.getFormat(); 663 if (format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar && 664 format ! 696 uint32_t format; local [all...] |
/hardware/interfaces/audio/common/all-versions/default/include/common/all-versions/default/ |
H A D | HidlUtils.impl.h | 47 config->format = AudioFormat(halConfig.format); 56 halConfig->format = static_cast<audio_format_t>(config.format); 126 offload->format = AudioFormat(halOffload.format); 142 halOffload->format = static_cast<audio_format_t>(offload.format); 161 config->format = AudioFormat(halConfig.format); [all...] |
/hardware/interfaces/camera/common/1.0/default/include/ |
H A D | CameraParameters.h | 99 void setPreviewFormat(const char *format); 104 void setPictureFormat(const char *format); 143 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in 164 // The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE 447 // sensitive). The format is three float values separated by commas. The 488 // The image format for video frames. See CAMERA_MSG_VIDEO_FRAME in 628 // Raw bayer format used for images, which is 10 bit precision samples 631 // Pixel format is not known to the framework 693 * corrsponding to the format given in the input string or -1 if no such 696 static int previewFormatToEnum(const char* format); [all...] |
/hardware/interfaces/camera/device/3.2/default/ |
H A D | convert.cpp | 65 dst->format = (int) src.format; 77 dst->overrideFormat = (PixelFormat) src->format;
|
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/ |
H A D | Gralloc1Hal.h | 47 bufferDescriptorInfo.format = static_cast<android_pixel_format_t>(descriptorInfo.format); 78 static_cast<common::V1_0::PixelFormat>(descriptorInfo.format), descriptorInfo.usage,
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_mpeg4.cpp | 259 m_sInPortDef.format.video.cMIMEType = (char *)"YUV420"; 260 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; 261 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT; 262 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH; 263 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT; 264 m_sInPortDef.format.video.nBitrate = 64000; 265 m_sInPortDef.format.video.xFramerate = 15 << 16; 266 m_sInPortDef.format.video.eColorFormat = (OMX_COLOR_FORMATTYPE) 268 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; 272 Prop.info.frame_size.height = m_sInPortDef.format [all...] |
/hardware/google/av/codec2/vndk/include/ |
H A D | C2BufferPriv.h | 67 uint32_t format, 97 uint32_t format,
|
/hardware/intel/common/omx-components/videocodec/ |
H A D | OMXVideoDecoderVP8.cpp | 45 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP8_MIME_TYPE; 46 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP8;
|
H A D | OMXVideoDecoderWMV.cpp | 45 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)WMV_MIME_TYPE; 46 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingWMV;
|
/hardware/interfaces/camera/device/1.0/ |
H A D | ICameraDevicePreviewCallback.hal | 67 * Set the dimensions and format of future preview buffers. 70 * format. 75 android.hardware.graphics.common@1.0::PixelFormat format)
|