/hardware/bsp/intel/peripheral/libupm/examples/python/ |
H A D | rotaryencoder.py | 48 print "Position: {0}".format(myRotaryEncoder.position())
|
/hardware/intel/common/libva/va/ |
H A D | va_compat.h | 102 #define vaCreateSurfaces6(dpy, width, height, format, num_surfaces, surfaces) \ 103 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \ 106 #define vaCreateSurfaces8(dpy, format, width, height, surfaces, num_surfaces, attribs, num_attribs) \ 107 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \
|
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | gpu.h | 40 int bufferType, int format, 45 int alloc_impl(int w, int h, int format, int usage, 50 int format, int usage, 62 int w, int h, int format,
|
H A D | alloc_controller.cpp | 131 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 137 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { 150 switch(format) 184 switch (format) 254 width, height, format, 0,raster_mode, padding_threshold, 361 bool isMacroTileEnabled(int format, int usage) argument 369 // check the format 370 switch(format) 394 size_t getSize(int format, int width, int height, const int alignedw, argument 398 switch (format) { 503 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 521 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 540 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, size_t& size) argument 623 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | gpu.h | 40 int bufferType, int format, 45 int alloc_impl(int w, int h, int format, int usage, 50 int format, int usage, 62 int w, int h, int format,
|
H A D | alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 135 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { 148 switch(format) 182 switch (format) 246 width, height, format, 0,raster_mode, padding_threshold, 364 bool isMacroTileEnabled(int format, int usage) argument 372 // check the format 373 switch(format) 397 unsigned int getSize(int format, int width, int height, const int alignedw, argument 401 switch (format) { 502 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 520 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 539 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 621 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument [all...] |
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | gpu.h | 40 int bufferType, int format, 45 int alloc_impl(int w, int h, int format, int usage, 50 int format, int usage, 62 int w, int h, int format,
|
H A D | alloc_controller.cpp | 137 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 143 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { 156 switch(format) 191 switch (format) 259 width, height, format, 0,raster_mode, padding_threshold, 377 bool isMacroTileEnabled(int format, int usage) argument 385 // check the format 386 switch(format) 410 unsigned int getSize(int format, int width, int height, const int alignedw, argument 414 switch (format) { 515 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 533 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 552 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 633 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | gpu.h | 41 int bufferType, int format, 46 int alloc_impl(int w, int h, int format, int usage, 51 int format, int usage, 63 int w, int h, int format,
|
H A D | gr.h | 50 size_t getBufferSizeAndDimensions(int width, int height, int format, 53 int decideBufferHandlingMechanism(int format, const char *compositionUsed, 57 // Allocate buffer from width, height, format into a private_handle_t 59 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage); 88 * Function to compute the adreno stride based on the width and format. 92 int getStride(int width, int format);
|
H A D | alloc_controller.cpp | 105 int AdrenoMemInfo::getStride(int width, int format) argument 109 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { 111 switch(format) 132 switch (format) 256 size_t getBufferSizeAndDimensions(int width, int height, int format, argument 261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); 263 switch (format) { 298 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { 299 ALOGE("w or h is odd for the YV12 format"); 303 if (HAL_PIXEL_FORMAT_NV12_ENCODEABLE == format) { 353 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | gpu.h | 40 int bufferType, int format, 45 int alloc_impl(int w, int h, int format, int usage, 50 int format, int usage, 62 int w, int h, int format,
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | gpu.h | 40 int bufferType, int format, 45 int alloc_impl(int w, int h, int format, int usage, 50 int format, int usage, 62 int w, int h, int format,
|
H A D | alloc_controller.cpp | 160 int f = hnd->format; 175 bool isUncompressedRgbFormat(int format) argument 179 switch (format) 209 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 212 bool ubwc_enabled = isUBwcEnabled(format, usage); 215 if (isUncompressedRgbFormat(format) == true) { 216 int tileEnabled = ubwc_enabled || isMacroTileEnabled(format, usage); 217 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); 219 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); 224 switch (format) 316 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 371 isUBWCSupportedByGPU(int format) argument 509 isMacroTileEnabled(int format, int usage) argument 546 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 673 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 691 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 709 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tiled, unsigned int& size) argument 776 int format = hnd->format; local 865 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument 915 isUBwcFormat(int format) argument 928 isUBwcSupported(int format) argument 946 isUBwcEnabled(int format, int usage) argument 975 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument 1048 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
H A D | vc1.h | 33 #define LOG( log_lev, format, args ... ) \ 34 if (vc1_log_level >= log_lev) { OS_INFO("%s[%d]:: " format "\n", __FUNCTION__ , __LINE__ , ## args ); } 45 #define LOG_CRIT(format, args ... ) LOG( CRITICAL, format, ## args) 46 #define LOG_WARN(format, args ... ) LOG( WARNING, format, ## args) 47 #define LOG_INFO(format, args ... ) LOG( INFO, format, ## args) 48 #define LOG_DEBUG(format, args ... ) LOG( DEBUG, format, ## arg [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | PlaneCapabilities.cpp | 38 uint32_t format = hwcLayer->getFormat(); local 42 switch (format) { 50 VTRACE("unsupported format %#x", format); 54 switch (format) { 70 VTRACE("unsupported format %#x", format); 81 uint32_t format = hwcLayer->getFormat(); local 90 switch (format) { 102 VTRACE("unsupported format [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
H A D | PlaneCapabilities.cpp | 39 uint32_t format = hwcLayer->getFormat(); local 43 switch (format) { 51 VLOGTRACE("unsupported format %#x", format); 55 switch (format) { 71 VLOGTRACE("unsupported format %#x", format); 82 uint32_t format = hwcLayer->getFormat(); local 89 switch (format) { 102 VLOGTRACE("unsupported format [all...] |
/hardware/libhardware/modules/usbcamera/ |
H A D | Stream.cpp | 88 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/intel/common/omx-components/videocodec/ |
H A D | OMXVideoDecoderBase.cpp | 86 paramPortDefinitionInput.format.video.cMIMEType = NULL; // to be overridden 87 paramPortDefinitionInput.format.video.pNativeRender = NULL; 88 paramPortDefinitionInput.format.video.nFrameWidth = 176; 89 paramPortDefinitionInput.format.video.nFrameHeight = 144; 90 paramPortDefinitionInput.format.video.nStride = 0; 91 paramPortDefinitionInput.format.video.nSliceHeight = 0; 92 paramPortDefinitionInput.format.video.nBitrate = 64000; 93 paramPortDefinitionInput.format.video.xFramerate = 15 << 16; 95 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE; 96 paramPortDefinitionInput.format [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioHardwareInterface.cpp | 113 size_t AudioHardwareBase::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 119 if (format != AudioSystem::PCM_16_BIT) { 120 ALOGW("getInputBufferSize bad format: %d", format); 154 int *format, 159 return openOutputStream(devices, format, channels, sampleRate, status); 152 openOutputStreamWithFlags(uint32_t devices, audio_output_flags_t flags, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
|
H A D | AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 70 lFormat = outFinal->format(); 74 if (format != 0) { 75 if (*format != 0) { 76 lFormat = *format; 78 *format = lFormat; 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, argument 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 136 lFormat = inFinal->format(); 59 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 251 getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 258 AudioStreamOutDump(AudioDumpInterface *interface, int id, AudioStreamOut* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument 329 int AudioStreamOutDump::format() const function in class:android::AudioStreamOutDump 419 AudioStreamInDump(AudioDumpInterface *interface, int id, AudioStreamIn* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument 533 int AudioStreamInDump::format() const function in class:android::AudioStreamInDump [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
H A D | delegation_client.c | 93 It is up to you to define the format of this configuration file and the 148 static MD_INLINE void LogError(const char* format, ...) argument 151 va_start(ap, format); 154 vsyslog(LOG_ERR, format, ap); 159 vfprintf(stderr, format, ap); 165 static MD_INLINE void LogWarning(const char* format, ...) argument 168 va_start(ap, format); 171 vsyslog(LOG_WARNING, format, ap); 176 vfprintf(stderr, format, ap); 181 static MD_INLINE void LogInfo(const char* format, argument 197 TRACE_ERROR(const char* format, ...) argument 218 TRACE_WARNING(const char* format, ...) argument 239 TRACE_INFO(const char* format, ...) argument 263 LogError(const char* format, ...) argument 267 LogWarning(const char* format, ...) argument 271 LogInfo(const char* format, ...) argument 276 TRACE_ERROR(const char* format, ...) argument 281 TRACE_WARNING(const char* format, ...) argument 286 TRACE_INFO(const char* format, ...) argument 294 LogError(const char* format, ...) argument 303 LogWarning(const char* format, ...) argument 312 LogInfo(const char* format, ...) argument 321 TRACE_ERROR(const char* format, ...) argument 335 TRACE_WARNING(const char* format, ...) argument 349 TRACE_INFO(const char* format, ...) argument [all...] |
/hardware/libhardware/tests/camera2/ |
H A D | CameraStreamFixture.h | 39 // Format specifier for picking the best format for CPU reading the given device 117 int format = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; local 119 getResolutionList(format, 141 int64_t getMinFrameDurationFor(int32_t format, int32_t width, int32_t height) { argument 148 if (format == availableMinDurations.data.i64[i] && 168 int32_t format = availableStrmConfigs.data.i32[i]; local 173 int index = mOutputResolutions.indexOfKey(format); 175 index = mOutputResolutions.add(format, new Vector<int32_t>()); 186 void getResolutionList(int32_t format, argument 189 ALOGV("Getting resolutions for format 254 int format = MapAutoFormat(p.mFormat); local 274 MapAutoFormat(int format) argument [all...] |
/hardware/intel/common/libmix/videoencoder/ |
H A D | IntelMetadataBuffer.h | 30 #define STRING_TO_FOURCC(format) ((uint32_t)(((format)[0])|((format)[1]<<8)|((format)[2]<<16)|((format)[3]<<24))) 62 uint32_t format; //color format member in struct:__anon778 63 uint32_t s3dformat; //S3D format
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
H A D | PlaneCapabilities.cpp | 40 uint32_t format = hwcLayer->getFormat(); local 44 switch (format) { 52 VTRACE("unsupported format %#x", format); 56 switch (format) { 71 VTRACE("unsupported format %#x", format); 82 uint32_t format = hwcLayer->getFormat(); local 91 switch (format) { 104 VTRACE("unsupported format 205 uint32_t format = hwcLayer->getFormat(); local [all...] |