/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | GLESTextureUtils.cpp | 21 static int computePixelSize(GLenum format, GLenum type) { in computePixelSize() argument 23 #define FORMAT_ERROR(format, type) \ in computePixelSize() argument 24 ALOGE("%s:%d unknown format/type 0x%x 0x%x", __FUNCTION__, __LINE__, format, type) \ in computePixelSize() 28 switch(format) { in computePixelSize() 49 default: FORMAT_ERROR(format, type); in computePixelSize() 53 switch(format) { in computePixelSize() 80 default: FORMAT_ERROR(format, type); in computePixelSize() 84 switch(format) { in computePixelSize() 93 default: FORMAT_ERROR(format, type); in computePixelSize() 97 switch(format) { in computePixelSize() [all …]
|
D | GLESTextureUtils.h | 10 GLenum format, GLenum type, 22 GLenum format, GLenum type, 32 GLenum format, GLenum type, 47 GLenum format, GLenum type, 60 GLenum format, GLenum type,
|
/device/generic/goldfish-opengl/android-emu/android/utils/ |
D | debug.c | 27 dprint( const char* format, ... ) in dprint() argument 30 va_start( args, format ); in dprint() 32 vfprintf( stdout, format, args ); in dprint() 39 dprintn( const char* format, ... ) in dprintn() argument 42 va_start( args, format ); in dprintn() 43 vfprintf( stdout, format, args ); in dprintn() 48 dprintnv( const char* format, va_list args ) in dprintnv() argument 50 vfprintf( stdout, format, args ); in dprintnv() 55 dwarning( const char* format, ... ) in dwarning() argument 58 va_start( args, format ); in dwarning() [all …]
|
D | debug.h | 102 #define VERBOSE_DPRINT(tag,format,...) \ argument 104 dprintn(format "\n", \ 107 #define VERBOSE_FUNCTION_PRINT(tag,format,...) \ argument 109 dprintn("emulator: %s: " format "\n", \ 113 #define VERBOSE_FUNCTION_DPRINT(tag,format,...) \ argument 115 dprintn("%s: " format "\n", \ 151 extern void dprint( const char* format, ... ); 152 extern void dprintn( const char* format, ... ); 153 extern void dprintnv( const char* format, va_list args ); 154 extern void dwarning( const char* format, ... ); [all …]
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | StringFormat.cpp | 22 std::string StringFormatRaw(const char* format, ...) { in StringFormatRaw() argument 24 va_start(args, format); in StringFormatRaw() 25 auto result = StringFormatWithArgs(format, args); in StringFormatRaw() 30 std::string StringFormatWithArgs(const char* format, va_list args) { in StringFormatWithArgs() argument 32 StringAppendFormatWithArgs(&result, format, args); in StringFormatWithArgs() 36 void StringAppendFormatRaw(std::string* string, const char* format, ...) { in StringAppendFormatRaw() argument 38 va_start(args, format); in StringAppendFormatRaw() 39 StringAppendFormatWithArgs(string, format, args); in StringAppendFormatRaw() 44 const char* format, in StringAppendFormatWithArgs() argument 51 int ret = vsnprintf(&(*string)[cur_size], extra, format, args2); in StringAppendFormatWithArgs()
|
D | StringFormat.h | 30 std::string StringFormatRaw(const char* format, ...); 34 std::string StringFormatWithArgs(const char* format, va_list args); 40 void StringAppendFormatRaw(std::string* string, const char* format, ...); 45 const char* format, 70 std::string StringFormat(const char* format, Args&&... args) { in StringFormat() argument 71 return StringFormatRaw(format, unpackFormatArg(std::forward<Args>(args))...); in StringFormat() 76 const char* format, in StringAppendFormat() argument 78 StringAppendFormatRaw(string, format, in StringAppendFormat()
|
/device/google/contexthub/util/nanotool/ |
D | log.cpp | 43 #define LOG_EX_VARARGS(level, format) \ argument 46 va_start(arg_list, format); \ 47 Log::LogEx(level, format, arg_list); \ 51 void Log::Error(const char *format, ...) { in Error() argument 52 LOG_EX_VARARGS(LogLevel::Error, format); in Error() 55 void Log::Warn(const char *format, ...) { in Warn() argument 56 LOG_EX_VARARGS(LogLevel::Warn, format); in Warn() 59 void Log::Info(const char *format, ...) { in Info() argument 60 LOG_EX_VARARGS(LogLevel::Info, format); in Info() 63 void Log::Debug(const char *format, ...) { in Debug() argument [all …]
|
D | log.h | 45 virtual void Output(const char *format, va_list arg_list) = 0; 64 static void Error(const char *format, ...); 67 static void Warn(const char *format, ...); 70 static void Info(const char *format, ...); 73 static void Debug(const char *format, ...); 83 static void LogEx(LogLevel level, const char *format, va_list arg_list); 93 void Output(const char *format, va_list arg_list);
|
/device/generic/goldfish/audio/ |
D | stream_common.cpp | 42 * util::getBytesPerSample(m_config.format); in getFrameSize() 57 void StreamCommon::getSupportedSampleRates(AudioFormat format, in getSupportedSampleRates() argument 59 if (m_config.format == format) { in getSupportedSampleRates() 75 void StreamCommon::getSupportedChannelMasks(AudioFormat format, in getSupportedChannelMasks() argument 77 if (m_config.format == format) { in getSupportedChannelMasks() 90 return m_config.format; in getFormat() 94 _hidl_cb(Result::OK, {m_config.format}); in getSupportedFormats() 97 Result StreamCommon::setFormat(AudioFormat format) const { in setFormat() 98 (void)format; in setFormat() 103 _hidl_cb(m_config.sampleRateHz, m_config.channelMask, m_config.format); in getAudioProperties()
|
/device/google/cuttlefish/guest/hals/gralloc/legacy/ |
D | gralloc_vsoc_priv.h | 82 int format; member 97 private_handle_t(int fd, int size, int format, int x_res, int y_res, 102 format(format), in fd() 165 static inline int formatToBytesPerPixel(int format) { in formatToBytesPerPixel() argument 166 switch (format) { in formatToBytesPerPixel() 187 ALOGE("%s: unknown format=%d", __FUNCTION__, format); in formatToBytesPerPixel() 192 inline const char* pixel_format_to_string(int format) { in pixel_format_to_string() argument 193 switch (format) { in pixel_format_to_string() 252 int format, int width, int height, void* base_v, android_ycbcr* out) { in formatToYcbcr() argument 256 switch (format) { in formatToYcbcr() [all …]
|
D | gralloc.cpp | 50 alloc_device_t* /*dev*/, int format, int w, int h, in gralloc_alloc_buffer() argument 56 int bytes_per_pixel = formatToBytesPerPixel(format); in gralloc_alloc_buffer() 62 ALOG_ASSERT(format != HAL_PIXEL_FORMAT_RGB_888); in gralloc_alloc_buffer() 63 if (format == HAL_PIXEL_FORMAT_YV12) { in gralloc_alloc_buffer() 68 size = roundUpToPageSize(size + formatToBytesPerFrame(format, w, h)); in gralloc_alloc_buffer() 71 android::String8::format( in gralloc_alloc_buffer() 82 new private_handle_t(fd, size, format, w, h, stride_in_pixels, 0); in gralloc_alloc_buffer() 99 static int gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc() argument 105 int err = gralloc_alloc_buffer(dev, format, w, h, pHandle, pStrideInPixels); in gralloc_alloc()
|
/device/generic/goldfish-opengl/fuchsia/ |
D | port.cc | 26 int __android_log_print(int priority, const char* tag, const char* format, in __android_log_print() argument 33 va_start(ap, format); in __android_log_print() 37 FX_LOGVF(DEBUG, local_tag, format, ap); in __android_log_print() 40 FX_LOGVF(WARNING, local_tag, format, ap); in __android_log_print() 43 FX_LOGVF(ERROR, local_tag, format, ap); in __android_log_print() 46 FX_LOGVF(FATAL, local_tag, format, ap); in __android_log_print() 50 FX_LOGVF(INFO, local_tag, format, ap); in __android_log_print() 57 const char* format, ...) { in __android_log_assert() argument 63 va_start(ap, format); in __android_log_assert() 64 FX_LOGVF(ERROR, local_tag, format, ap); in __android_log_assert()
|
D | fuchsia_stdio.cc | 21 int printf(const char *format, ...) in printf() argument 24 va_start(args, format); in printf() 25 vfprintf(stdout, format, args); in printf() 30 int vprintf(const char *format, va_list ap) in vprintf() argument 32 return vfprintf(stdout, format, ap); in vprintf() 35 int fprintf(FILE *stream, const char *format, ...) in fprintf() argument 41 va_start(args, format); in fprintf() 42 vfprintf(stream, format, args); in fprintf() 63 int vfprintf(FILE *stream, const char *format, va_list ap) in vfprintf() argument 68 _FX_LOGVF(severity(stream), "goldfish", format, ap); in vfprintf()
|
/device/google/cuttlefish/host/frontend/webrtc/lib/ |
D | vp8only_encoder_factory.cpp | 29 for (auto& format : inner_->GetSupportedFormats()) { in GetSupportedFormats() local 30 if (format.name == "VP8") { in GetSupportedFormats() 31 ret.push_back(format); in GetSupportedFormats() 38 const webrtc::SdpVideoFormat& format) const { in QueryVideoEncoder() 39 return inner_->QueryVideoEncoder(format); in QueryVideoEncoder() 43 const webrtc::SdpVideoFormat& format) { in CreateVideoEncoder() argument 44 return inner_->CreateVideoEncoder(format); in CreateVideoEncoder()
|
/device/generic/goldfish-opengl/system/hals/ |
D | allocator3.cpp | 107 PixelFormat format; in allocateImpl() local 108 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl() 111 __func__, __LINE__, descriptor.format, usage); in allocateImpl() 115 switch (format) { in allocateImpl() 204 __func__, __LINE__, format, descriptor.format, usage); in allocateImpl() 230 format, emulatorFrameworkFormat, in allocateImpl() 239 const PixelFormat format, in allocateImpl2() argument 251 format, emulatorFrameworkFormat, in allocateImpl2() 273 d->format = static_cast<PixelFormat>(raw[3]); in decodeBufferDescriptorInfo() 284 PixelFormat* format) { in getBufferFormat() argument [all …]
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | vk_format_info.h | 103 vk_format_aspects(VkFormat format) in vk_format_aspects() argument 105 switch (format) { in vk_format_aspects() 155 vk_format_is_color(VkFormat format) in vk_format_is_color() argument 157 return vk_format_aspects(format) == VK_IMAGE_ASPECT_COLOR_BIT; in vk_format_is_color() 161 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() argument 163 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_is_depth_or_stencil() 168 vk_format_has_depth(VkFormat format) in vk_format_has_depth() argument 170 const VkImageAspectFlags aspects = vk_format_aspects(format); in vk_format_has_depth()
|
D | AndroidHardwareBuffer.cpp | 79 ahbFormatProps->format = vk_format_from_android(desc.format); in getAndroidHardwareBufferPropertiesANDROID() 80 ahbFormatProps->externalFormat = desc.format; in getAndroidHardwareBufferPropertiesANDROID() 105 android_format_is_yuv(desc.format) ? in getAndroidHardwareBufferPropertiesANDROID() 199 uint32_t format = 0; in createAndroidHardwareBuffer() local 207 format = android_format_from_vk(imageFormat); in createAndroidHardwareBuffer() 211 format = AHARDWAREBUFFER_FORMAT_BLOB; in createAndroidHardwareBuffer() 217 format = AHARDWAREBUFFER_FORMAT_BLOB; in createAndroidHardwareBuffer() 228 .format = format, in createAndroidHardwareBuffer()
|
/device/generic/goldfish-opengl/system/codecs/omx/plugin/ |
D | GoldfishVideoDecoderOMXComponent.cpp | 116 def.format.video.cMIMEType = const_cast<char *>(mimeType); in initPorts() 117 def.format.video.pNativeRender = NULL; in initPorts() 119 def.format.video.nBitrate = 0; in initPorts() 120 def.format.video.xFramerate = 0; in initPorts() 121 def.format.video.bFlagErrorConcealment = OMX_FALSE; in initPorts() 122 def.format.video.eCompressionFormat = mCodingType; in initPorts() 123 def.format.video.eColorFormat = OMX_COLOR_FormatUnused; in initPorts() 124 def.format.video.pNativeWindow = NULL; in initPorts() 138 def.format.video.cMIMEType = const_cast<char *>("video/raw"); in initPorts() 139 def.format.video.pNativeRender = NULL; in initPorts() [all …]
|
/device/linaro/dragonboard/gralloc/ |
D | gralloc_gbm.cpp | 73 static uint32_t get_gbm_format(int format) in get_gbm_format() argument 77 switch (format) { in get_gbm_format() 107 static int gralloc_gbm_get_bpp(int format) in gralloc_gbm_get_bpp() argument 111 switch (format) { in gralloc_gbm_get_bpp() 167 int format = get_gbm_format(handle->format); in gbm_import() local 174 data.format = format; in gbm_import() 176 if (handle->format == HAL_PIXEL_FORMAT_YV12) { in gbm_import() 201 int format = get_gbm_format(handle->format); in gbm_alloc() local 218 if (handle->format == HAL_PIXEL_FORMAT_YV12) { in gbm_alloc() 224 handle->width, handle->height, handle->format, usage); in gbm_alloc() [all …]
|
/device/generic/goldfish-opengl/fuchsia/include/cutils/ |
D | log.h | 20 #define android_printLog(prio, tag, format, ...) \ argument 21 __android_log_print(prio, tag, "[prio %d] " format, prio, ##__VA_ARGS__) 29 #define android_printAssert(condition, tag, format, ...) \ argument 30 __android_log_assert(condition, tag, "assert: condition: %s " format, condition, ##__VA_ARGS__) 53 int __android_log_print(int priority, const char* tag, const char* format, ...); 56 const char* format, ...);
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_formats.h | 136 static inline int mali_gralloc_format_wrapper(int format, int modifiers) in mali_gralloc_format_wrapper() argument 147 if (format == MALI_GRALLOC_FORMAT_INTERNAL_YV12) in mali_gralloc_format_wrapper() 149 format = MALI_GRALLOC_FORMAT_INTERNAL_YV12_WRAP; in mali_gralloc_format_wrapper() 151 else if (format == MALI_GRALLOC_FORMAT_INTERNAL_Y8) in mali_gralloc_format_wrapper() 153 format = MALI_GRALLOC_FORMAT_INTERNAL_Y8_WRAP; in mali_gralloc_format_wrapper() 155 else if (format == MALI_GRALLOC_FORMAT_INTERNAL_Y16) in mali_gralloc_format_wrapper() 157 format = MALI_GRALLOC_FORMAT_INTERNAL_Y16_WRAP; in mali_gralloc_format_wrapper() 160 return (modifiers | format); in mali_gralloc_format_wrapper()
|
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_formats.h | 136 static inline int mali_gralloc_format_wrapper(int format, int modifiers) in mali_gralloc_format_wrapper() argument 147 if (format == MALI_GRALLOC_FORMAT_INTERNAL_YV12) in mali_gralloc_format_wrapper() 149 format = MALI_GRALLOC_FORMAT_INTERNAL_YV12_WRAP; in mali_gralloc_format_wrapper() 151 else if (format == MALI_GRALLOC_FORMAT_INTERNAL_Y8) in mali_gralloc_format_wrapper() 153 format = MALI_GRALLOC_FORMAT_INTERNAL_Y8_WRAP; in mali_gralloc_format_wrapper() 155 else if (format == MALI_GRALLOC_FORMAT_INTERNAL_Y16) in mali_gralloc_format_wrapper() 157 format = MALI_GRALLOC_FORMAT_INTERNAL_Y16_WRAP; in mali_gralloc_format_wrapper() 160 return (modifiers | format); in mali_gralloc_format_wrapper()
|
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/ |
D | nano_calibration.cc | 38 #define NANO_CAL_LOGD(tag, format, ...) LOGD("%s " format, tag, ##__VA_ARGS__) argument 39 #define NANO_CAL_LOGW(tag, format, ...) LOGW("%s " format, tag, ##__VA_ARGS__) argument 40 #define NANO_CAL_LOGE(tag, format, ...) LOGE("%s " format, tag, ##__VA_ARGS__) argument 42 #define NANO_CAL_LOGD(tag, format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 43 #define NANO_CAL_LOGW(tag, format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 44 #define NANO_CAL_LOGE(tag, format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 49 #define NANO_CAL_LOGI(tag, format, ...) LOGI("%s " format, tag, ##__VA_ARGS__) argument
|
/device/linaro/dragonboard/qcom/qrtr/lib/ |
D | logging.c | 53 void qlog(int priority, const char *format, ...) in qlog() argument 60 va_start(ap, format); in qlog() 63 vsyslog(priority, format, ap); in qlog() 66 vsnprintf(buf, QLOG_BUF_SIZE, format, ap); in qlog()
|
/device/amlogic/yukawa/hal/gralloc/legacy/ |
D | alloc_device.cpp | 43 static int alloc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_hand… in alloc_device_alloc() argument 62 format = HAL_PIXEL_FORMAT_RGB_565; in alloc_device_alloc() 64 format = HAL_PIXEL_FORMAT_BGRA_8888; in alloc_device_alloc() 91 hnd->req_format = format; in alloc_device_alloc() 93 hnd->internal_format = format; in alloc_device_alloc() 109 buffer_descriptor.hal_format = format; in alloc_device_alloc()
|