/hardware/bsp/intel/peripheral/libmraa/examples/java/ |
H A D | I2cCompass.java | 129 System.out.println(String.format("Compass scaled data x : %f, y : %f, z : %f\n", x * SCALE_0_92_MG, y * SCALE_0_92_MG, 131 System.out.println(String.format("Heading : %f\n", direction * 180 / Math.PI));
|
/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;
|
H A D | OMXVideoEncoderMPEG4.cpp | 47 paramPortDefinitionOutput->format.video.cMIMEType = (OMX_STRING)MPEG4_MIME_TYPE; 48 paramPortDefinitionOutput->format.video.eCompressionFormat = OMX_VIDEO_CodingMPEG4; 133 outBuf.format = OUTPUT_CODEC_DATA; 159 outBuf.format = OUTPUT_EVERYTHING;
|
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/ |
H A D | img_gralloc_public.h | 36 /* Use bits [0-3] of "vendor format" bits as real format. Customers should 40 * in the format outside of the "vendor format" mask, the non-extension format 64 * "vendor format" field. If no bits are set in this "compression mask", the 65 * normal memory format for the pixel format is used. Otherwise the pixel 79 * format" field. Only STRIDED and TWIDDLED are supported; there is no space 141 * format an 259 gralloc_module_get_buffer_format_img(const gralloc_module_t *module, int format, const IMG_buffer_format_public_t **v) argument [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/ |
H A D | img_gralloc_public.h | 36 /* Use bits [0-3] of "vendor format" bits as real format. Customers should 40 * in the format outside of the "vendor format" mask, the non-extension format 64 * "vendor format" field. If no bits are set in this "compression mask", the 65 * normal memory format for the pixel format is used. Otherwise the pixel 79 * format" field. Only STRIDED and TWIDDLED are supported; there is no space 141 * format an 259 gralloc_module_get_buffer_format_img(const gralloc_module_t *module, int format, const IMG_buffer_format_public_t **v) argument [all...] |
/hardware/qcom/audio/msm8909/policy_hal/ |
H A D | AudioPolicyManager.h | 71 audio_format_t format, 143 // internal method to return the output handle for the given device and format 149 audio_format_t format,
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | mapper.cpp | 329 int format = va_arg(args, int); local 344 hnd->format = format; 354 int format = va_arg(args, int); local 358 0, format, false, alignedw, alignedh); 402 int format = va_arg(args, int); local 407 *tileEnabled = isMacroTileEnabled(format, usage); 409 height, format, *tileEnabled, *alignedWidth,
|
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | mapper.cpp | 319 int format = va_arg(args, int); local 333 hnd->format = format; 342 int format = va_arg(args, int); local 346 0, format, 0, alignedw, alignedh); 390 int format = va_arg(args, int); local 395 *tileEnabled = isMacroTileEnabled(format, usage); 397 height, format, usage, *alignedWidth, *alignedHeight);
|
/hardware/qcom/display/msm8996/sdm/include/utils/ |
H A D | constants.h | 67 #define IS_RGB_FORMAT(format) (((format) < kFormatYCbCr420Planar) ? true: false)
|
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | copybit.cpp | 122 /** convert COPYBIT_FORMAT to MDP format */ 123 static int get_format(int format) { argument 124 switch (format) { 150 img->format = get_format(rhs->format); 246 l->req[i].src.format, 253 l->req[i].dst.format, 398 switch (src->format) { 402 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__, 403 src->format); [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_copybit.cpp | 180 fbHnd->format); 220 buf.format = hnd->format; 317 src.format = hnd->format; 342 dst.format = fbHandle->format; 424 if (0 == alloc_buffer(&tmpHnd, tmp_w, tmp_h, fbHandle->format, usage)){ 429 tmp_dst.format = tmpHnd->format; [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | blit_engine_c2d.cpp | 144 int BlitEngineC2d::AllocateBlitTargetBuffers(uint32_t width, uint32_t height, uint32_t format, argument 161 status = alloc_buffer(&blit_target_buffer_[i], width, height, format, usage); 195 buffer.format = hnd->format; 271 if (Is10BitFormat(layer.input_buffer->format)) { 364 // Allocate a single buffer of RGBA8888 format 380 layer.input_buffer->format = kFormatRGBA8888Ubwc; 503 src.format = hnd->format; 521 dst.format [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/ |
H A D | omx_proxy_videodec.c | 383 if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedSemiPlanar) 387 pPortDef->format.video.eColorFormat = HAL_NV12_PADDED_PIXEL_FORMAT; 391 pPortDef->format.video.eColorFormat = OMX_TI_COLOR_FormatYUV420PackedSemiPlanar; 446 if(pPortDef->format.video.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar 447 || pPortDef->format.video.eColorFormat == HAL_NV12_PADDED_PIXEL_FORMAT) 449 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatYUV420PackedSemiPlanar; 599 if (sPortDef.eDomain == OMX_PortDomainVideo && sPortDef.format.video.eCompressionFormat == OMX_VIDEO_CodingUnused) 603 sPortDef.format.video.nStride = LINUX_PAGE_SIZE; 619 sPortDef.format.video.nStride = tParamStruct.nWidth; 699 0,0,sPortDef.format [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
H A D | omx_proxy_videodec.c | 352 if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedSemiPlanar) 356 pPortDef->format.video.eColorFormat = HAL_NV12_PADDED_PIXEL_FORMAT; 360 pPortDef->format.video.eColorFormat = OMX_TI_COLOR_FormatYUV420PackedSemiPlanar; 415 if(pPortDef->format.video.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar 416 || pPortDef->format.video.eColorFormat == HAL_NV12_PADDED_PIXEL_FORMAT) 418 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatYUV420PackedSemiPlanar; 568 if (sPortDef.eDomain == OMX_PortDomainVideo && sPortDef.format.video.eCompressionFormat == OMX_VIDEO_CodingUnused) 572 sPortDef.format.video.nStride = LINUX_PAGE_SIZE; 588 sPortDef.format.video.nStride = tParamStruct.nWidth; 649 0,0,sPortDef.format [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_pcm.c | 137 int get_compressed_format(const char *format) argument 139 const char *ch = format; 147 printf("invalid format\n"); 155 int format; local 156 for (format = 0; format < FORMAT_LAST; format++) { 157 if (formats_list[format][0] && 158 strcasecmp(name, formats_list[format][0]) == 0) { 160 return format; 166 get_format_name(int format) argument 174 get_format_desc(int format) argument [all...] |
/hardware/ti/omap4-aah/test/CameraHal/ |
H A D | camera_test_surfacetexture.cpp | 53 //temporarily define format here 69 static size_t calcBufSize(int format, int width, int height) argument 73 switch (format) { 90 static unsigned int calcOffset(int format, unsigned int width, unsigned int top, unsigned int left) argument 94 switch (format) { 111 static int getHalPixFormat(const char *format) argument 114 if ( NULL != format ) { 115 if ( strcmp(format, CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0 ) { 117 } else if ( strcmp(format, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 ) { 119 } else if ( strcmp(format, CameraParameter 129 getUsageFromANW(int format) argument 743 setInput(buffer_info_t bufinfo, const char *format, ShotParameters ¶ms) argument [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioHardwareALSA.cpp | 689 uint32_t AudioHardwareALSA::getVoipMode(int format) argument 691 switch(format) { 722 int *format, 777 if(*format == AudioSystem::PCM_16_BIT) 778 alsa_handle.format = SNDRV_PCM_FORMAT_S16_LE; 780 alsa_handle.format = *format; 787 mALSADevice->setVoipConfig(getVoipMode(*format), mVoipBitRate); 828 err = out->set(format, channels, sampleRate, devices); 846 alsa_handle.format 721 openOutputStream(uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 997 openOutputSession(uint32_t devices, int *format, status_t *status, int sessionId, uint32_t samplingRate, uint32_t channels) argument 1092 openInputStream(uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument 1410 getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
H A D | OMX_VideoEncoder.c | 45 *! that is, newest first. The date format is dd-Mon-yyyy. 626 pPortDef->format.video.cMIMEType = "yuv"; 627 pPortDef->format.video.pNativeRender = NULL; 628 pPortDef->format.video.nFrameWidth = 176; 629 pPortDef->format.video.nFrameHeight = 144; 630 pPortDef->format.video.nStride = -1; 631 pPortDef->format.video.nSliceHeight = -1; 632 pPortDef->format.video.xFramerate = fToQ16(15.0); 633 pPortDef->format.video.bFlagErrorConcealment = OMX_FALSE; 634 pPortDef->format [all...] |
/hardware/qcom/audio/hal/ |
H A D | audio_hw.c | 91 .format = PCM_FORMAT_S16_LE, 102 .format = PCM_FORMAT_S16_LE, 113 .format = PCM_FORMAT_S16_LE, 122 .format = PCM_FORMAT_S16_LE, 138 .format = PCM_FORMAT_S16_LE, 152 .format = PCM_FORMAT_S16_LE, 227 static bool is_supported_format(audio_format_t format) argument 229 switch (format) { 241 static int get_snd_codec_id(audio_format_t format) argument 245 switch (format 1295 check_input_parameters(uint32_t sample_rate, audio_format_t format, int channel_count) argument 1329 get_input_buffer_size(uint32_t sample_rate, audio_format_t format, int channel_count, bool is_low_latency) argument [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
H A D | hwc_copybit.cpp | 500 buf.format = hnd->format; 532 (!(hnd->format == HAL_PIXEL_FORMAT_RGBA_8888 || 533 hnd->format == HAL_PIXEL_FORMAT_RGBX_8888)) || 820 src.format = hnd->format; 845 dst.format = dstHandle->format; 865 (dst.format == HAL_PIXEL_FORMAT_RGB_565) ? COPYBIT_ENABLE : 912 src.format 1062 int format = fbHandle->format; local [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | OverlayPlaneBase.cpp | 389 uint32_t format = grallocMapper.getFormat(); local 392 format = OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled; 395 switch (format) { 445 buf.setFormat(format); 581 uint32_t format; local 584 format = mapper.getFormat(); 585 if (format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar && 586 format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled) 691 uint32_t format = mapper.getFormat(); local 700 // clear original format settin 821 uint32_t format = mapper.getFormat(); local 1156 uint32_t format = mapper.getFormat(); local 1201 uint32_t format; local [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
H A D | hmtrp.py | 99 "rxBandwidth: {2}Khz").format(freq.__getitem__(0),
|
/hardware/intel/img/hwcomposer/merrifield/include/ |
H A D | BufferManager.h | 60 buffer_handle_t allocGrallocBuffer(uint32_t width, uint32_t height, uint32_t format, uint32_t usage);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
H A D | BufferManager.h | 60 uint32_t allocGrallocBuffer(uint32_t width, uint32_t height, uint32_t format, uint32_t usage);
|