Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DGoldfishVideoDecoderOMXComponent.cpp116 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/google/gs201/fingerprint/fpc1540/fp_tool/
Dfp_test.cpp8 #define LOGI(format,...) ALOGI(TAG format,##__VA_ARGS__) argument
9 #define LOGD(format,...) ALOGD(TAG format,##__VA_ARGS__) argument
10 #define LOGE(format,...) ALOGE(TAG format,##__VA_ARGS__) argument
11 #define CLOGI(format,...) printf(TAG format,##__VA_ARGS__) argument
12 #define CLOGD(format,...) printf(TAG format,##__VA_ARGS__) argument
13 #define CLOGE(format,...) printf(TAG format,##__VA_ARGS__) argument
15 #define LOGI_BOTH(format,...) { \ argument
16 ALOGI(TAG format,##__VA_ARGS__) \
17 prinft(TAG format, ##__VA_ARGS__) \
/device/google/contexthub/util/nanotool/
Dlog.cpp43 #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 …]
Dlog.h45 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/google/gs101/fingerprint/fpc1540/fp_tool/
Dfp_test.cpp8 #define LOGI(format,...) ALOGI(TAG format,##__VA_ARGS__) argument
9 #define LOGD(format,...) ALOGD(TAG format,##__VA_ARGS__) argument
10 #define LOGE(format,...) ALOGE(TAG format,##__VA_ARGS__) argument
11 #define CLOGI(format,...) printf(TAG format,##__VA_ARGS__) argument
12 #define CLOGD(format,...) printf(TAG format,##__VA_ARGS__) argument
13 #define CLOGE(format,...) printf(TAG format,##__VA_ARGS__) argument
15 #define LOGI_BOTH(format,...) { \ argument
16 ALOGI(TAG format,##__VA_ARGS__) \
17 prinft(TAG format, ##__VA_ARGS__) \
/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp115 PixelFormat format; in allocateImpl() local
116 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl()
119 __func__, __LINE__, descriptor.format, usage); in allocateImpl()
123 switch (format) { in allocateImpl()
211 __func__, __LINE__, format, descriptor.format, usage); in allocateImpl()
242 format, emulatorFrameworkFormat, in allocateImpl()
251 const PixelFormat format, in allocateImpl2() argument
263 format, emulatorFrameworkFormat, in allocateImpl2()
285 d->format = static_cast<PixelFormat>(raw[3]); in decodeBufferDescriptorInfo()
296 PixelFormat* format) { in getBufferFormat() argument
[all …]
/device/google/cuttlefish/guest/hals/keymint/rust/src/
Dkeymint_hal_main.rs61 return Err(HalServiceError(format!( in set_terminal_raw()
75 return Err(HalServiceError(format!( in set_terminal_raw()
113 return Err(HalServiceError(format!( in inner_main()
125 let service_name = format!("{}/{}", KM_SERVICE_NAME, SERVICE_INSTANCE); in inner_main()
127 HalServiceError(format!("Failed to register service {} because of {:?}.", service_name, e)) in inner_main()
131 let service_name = format!("{}/{}", RPC_SERVICE_NAME, SERVICE_INSTANCE); in inner_main()
133 HalServiceError(format!("Failed to register service {} because of {:?}.", service_name, e)) in inner_main()
137 let service_name = format!("{}/{}", CLOCK_SERVICE_NAME, SERVICE_INSTANCE); in inner_main()
139 HalServiceError(format!("Failed to register service {} because of {:?}.", service_name, e)) in inner_main()
143 let service_name = format!("{}/{}", SECRET_SERVICE_NAME, SERVICE_INSTANCE); in inner_main()
[all …]
/device/google/trout/tools/
Dbpttool198 raise ValueError('Cannot parse string "{}"'.format(arg))
339 'only 1.0 is supported'.format(major_version,
343 format(file_hdr_sz))
346 format(chunk_hdr_sz))
370 format(data_sz, chunk_sz*self.block_size))
382 'has {}'.format(data_sz))
393 format(data_sz))
403 'this has {}'.format(data_sz))
406 raise ValueError('Unknown chunk type {}'.format(chunk_type))
417 'but we saw {}'.format(self._num_total_blocks, offset))
[all …]
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs271 let arg = format!("--variable={}", variable); in get_variable()
386 let abort_var_name = format!("{}_NO_PKG_CONFIG", envify(name)); in probe()
449 self.env_var_os(&format!("{}_{}", var_base, target)) in targeted_env_var()
450 .or_else(|| self.env_var_os(&format!("{}_{}", var_base, target_u))) in targeted_env_var()
451 .or_else(|| self.env_var_os(&format!("{}_{}", kind, var_base))) in targeted_env_var()
505 cmd.arg(&format!("{} >= {}", name, version)); in command()
508 cmd.arg(&format!("{} > {}", name, version)); in command()
514 cmd.arg(&format!("{} <= {}", name, version)); in command()
517 cmd.arg(&format!("{} < {}", name, version)); in command()
532 if self.env_var_os(&format!("{}_STATIC", name)).is_some() { in infer_static()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.cc60 #define NANO_CAL_LOGD(tag, format, ...) \ argument
61 TECHENG_LOGD("%s " format, tag, ##__VA_ARGS__)
62 #define NANO_CAL_LOGW(tag, format, ...) \ argument
63 TECHENG_LOGW("%s " format, tag, ##__VA_ARGS__)
64 #define NANO_CAL_LOGE(tag, format, ...) \ argument
65 TECHENG_LOGE("%s " format, tag, ##__VA_ARGS__)
67 #define NANO_CAL_LOGD(tag, format, ...) techeng_log_null(format, ##__VA_ARGS__) argument
68 #define NANO_CAL_LOGW(tag, format, ...) techeng_log_null(format, ##__VA_ARGS__) argument
69 #define NANO_CAL_LOGE(tag, format, ...) techeng_log_null(format, ##__VA_ARGS__) argument
74 #define NANO_CAL_LOGI(tag, format, ...) \ argument
[all …]
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dlib.rs201 emit(&format!("rustc_{}_{}", major, minor)); in emit_rustc_version()
213 .arg(format!("probe{}", id)) in probe()
247 … self.probe(format!("extern crate {} as probe;", name)) // `as _` wasn't stabilized until Rust 1.33 in probe_sysroot_crate()
254 emit(&format!("has_{}", mangle(name))); in emit_sysroot_crate()
266 self.probe(format!("pub use {};", path)).unwrap_or(false) in probe_path()
275 emit(&format!("has_{}", mangle(path))); in emit_has_path()
294 self.probe(format!("pub trait Probe: {} + Sized {{}}", name)) in probe_trait()
304 emit(&format!("has_{}", mangle(name))); in emit_has_trait()
323 self.probe(format!("pub type Probe = {};", name)) in probe_type()
333 emit(&format!("has_{}", mangle(name))); in emit_has_type()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/
DYUVConverter.cpp31 FrameworkFormat format, in getPlanarYUVSizes() argument
42 switch (format) { in getPlanarYUVSizes()
72 FrameworkFormat format, in getYUVSizes() argument
77 switch (format) { in getYUVSizes()
80 getPlanarYUVSizes(width, height, format, in getYUVSizes()
91 static void getPlanarYUVOffsets(int width, int height, FrameworkFormat format, in getPlanarYUVOffsets() argument
98 getYUVSizes(width, height, format, &totalSize, &yStride, &cStride, &cHeight); in getPlanarYUVOffsets()
101 switch (format) { in getPlanarYUVOffsets()
135 static void getYUVOffsets(int width, int height, FrameworkFormat format, in getYUVOffsets() argument
138 switch (format) { in getYUVOffsets()
[all …]
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_formats.h136 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()
Dmali_gralloc_public_interface.cpp88 /*int32_t*/ android_pixel_format_t format) in mali_gralloc_set_format() argument
91 ret = mali_gralloc_set_format_internal(descriptor, format); in mali_gralloc_set_format()
183 uint64_t format; in mali_gralloc_allocate() local
185 format = bufDescriptor->hal_format; in mali_gralloc_allocate()
191 format = HAL_PIXEL_FORMAT_RGB_565; in mali_gralloc_allocate()
193 format = HAL_PIXEL_FORMAT_BGRA_8888; in mali_gralloc_allocate()
213 hnd->req_format = format; in mali_gralloc_allocate()
214 hnd->format = format; in mali_gralloc_allocate()
216 hnd->internal_format = format; in mali_gralloc_allocate()
424 if (descriptorInfo->format == 0) in mali_gralloc1_validate_buffer_size()
[all …]
/device/linaro/hikey/gralloc960/
Dmali_gralloc_formats.h136 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/cuttlefish/host/commands/cvd_import_locations/
Dmain.cc30 DEFINE_string(format, "", "supported file format, either kml or gpx");
39 --format=[format_string]
40 input file format for cvd_import_locations
56 cvd_import_locations --format="gpx" --file_path="input.gpx"
57 cvd_import_locations --format="kml" --file_path="input.kml"
59 cvd_import_locations --format="gpx" --file_path="input.gpx" --delay=.5
60 cvd_import_locations --format="kml" --file_path="input.kml" --delay=.5
62 cvd_import_locations --format="gpx" --file_path="input.gpx" --delay=.5 --instance_num=2
/device/linaro/hikey/gralloc/
Dalloc_device.cpp478 static int alloc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_hand… in alloc_device_alloc() argument
489 if (format == HAL_PIXEL_FORMAT_YCrCb_420_SP || format == HAL_PIXEL_FORMAT_YV12 in alloc_device_alloc()
495 …|| format == HAL_PIXEL_FORMAT_YCbCr_420_SP || format == HAL_PIXEL_FORMAT_YCbCr_420_P || format == … in alloc_device_alloc()
499 switch (format) in alloc_device_alloc()
540 switch (format) in alloc_device_alloc()
568 AERR("The format is not supported yet: format=%d\n", format); in alloc_device_alloc()
572 if (format == HAL_PIXEL_FORMAT_BLOB) { in alloc_device_alloc()
606 format = HAL_PIXEL_FORMAT_RGB_565; in alloc_device_alloc()
608 format = HAL_PIXEL_FORMAT_BGRA_8888; in alloc_device_alloc()
637 hnd->format = format; in alloc_device_alloc()
/device/generic/opengl-transport/host/commands/emugen/
DREADME14 * Input files description & format
117 file has the following format:
134 global attributes of the protocol. For uptodate format of the file,
136 tree. The format of the .attrib file is described below.
142 <type name> <size in bits> <print format string> <is a pointer? true|false>
146 <print format string> a string to format the value of the type, as
246 .attrib file format description:
250 The file format is as follows:
277 format: base_opcode 100
281 format: encoder_headers <stdio.h> "kuku.h"
[all …]
/device/generic/goldfish/audio/
Dutil.cpp126 size_t getBytesPerSample(const AudioFormat &format) { in getBytesPerSample() argument
127 if (format == "AUDIO_FORMAT_PCM_16_BIT") { in getBytesPerSample()
130 ALOGE("util::%s:%d unknown format, '%s'", __func__, __LINE__, format.c_str()); in getBytesPerSample()
136 if (xsd::isUnknownAudioFormat(cfg.base.format) in checkAudioConfig()
143 xsd::isUnknownAudioFormat(info.base.format) in checkAudioConfig()
169 if (!checkFormat(src.base.format, suggested.base.format)) { in checkAudioConfig()
182 if (cfg.base.format.getDiscriminator() == in checkAudioPortConfig()
184 if (xsd::isUnknownAudioFormat(cfg.base.format.value())) { in checkAudioPortConfig()
Dstream_common.cpp42 * util::getBytesPerSample(m_config.base.format); in getFrameSize()
60 profile.format = m_config.base.format; in getSupportedProfiles()
68 return m_config.base.format; in getFormat()
71 Result StreamCommon::setFormat(AudioFormat format) const { in setFormat()
72 (void)format; in setFormat()
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c276 return audio_format_from_pcm_format(out->config.format); in out_get_format()
279 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format() argument
281 ALOGV("out_set_format: %d",format); in out_set_format()
529 static size_t get_input_buffer_size(size_t frames, audio_format_t format, in get_input_buffer_size() argument
535 audio_bytes_per_sample(format); in get_input_buffer_size()
550 ALOGV("in_get_format: %d", in->config.format); in in_get_format()
551 return audio_format_from_pcm_format(in->config.format); in in_get_format()
554 static int in_set_format(struct audio_stream *stream, audio_format_t format) in in_set_format() argument
863 out->config.format = PCM_FORMAT_S16_LE; in adev_open_output_stream()
869 out->config.format != pcm_format_from_audio_format(config->format) ) { in adev_open_output_stream()
[all …]
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp515 cb->format != HAL_PIXEL_FORMAT_YV12 && in updateHostColorBuffer()
516 cb->format != HAL_PIXEL_FORMAT_YCbCr_420_888; in updateHostColorBuffer()
536 switch (cb->format) { in updateHostColorBuffer()
561 switch (cb->format) { in updateHostColorBuffer()
638 const int format = gralloc_get_buffer_format(frameworkFormat, usage); in gralloc_alloc() local
639 if (format < 0) { in gralloc_alloc()
640 return format; in gralloc_alloc()
681 switch (format) { in gralloc_alloc()
774 ALOGE("gralloc_alloc: Unknown format %d", format); in gralloc_alloc()
840 D("gralloc_alloc format=%d, ashmem_size=%d, stride=%d, tid %lu\n", format, ashmem_size, stride, in gralloc_alloc()
[all …]
/device/linaro/dragonboard/audio/
Daudio_hw.c250 return audio_format_from_pcm_format(out->config.format); in out_get_format()
253 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format() argument
255 ALOGV("out_set_format: %d",format); in out_set_format()
509 static size_t get_input_buffer_size(size_t frames, audio_format_t format, in get_input_buffer_size() argument
515 audio_bytes_per_sample(format); in get_input_buffer_size()
530 ALOGV("in_get_format: %d", in->config.format); in in_get_format()
531 return audio_format_from_pcm_format(in->config.format); in in_get_format()
534 static int in_set_format(struct audio_stream *stream, audio_format_t format) in in_set_format() argument
849 out->config.format = PCM_FORMAT_S16_LE; in adev_open_output_stream()
855 out->config.format != pcm_format_from_audio_format(config->format) ) { in adev_open_output_stream()
[all …]
/device/google/atv/audio_proxy/service/
DDeviceImpl.cpp44 audio_format_t format = AUDIO_FORMAT_INVALID; in toAidlAudioConfig() local
45 if (!audio_format_from_string(hidl_config.format.c_str(), &format)) { in toAidlAudioConfig()
56 .format = static_cast<AidlAudioFormat>(format), in toAidlAudioConfig()
121 if (config.base.format.getDiscriminator() == in checkAudioPortConfig()
123 audio_format_t format; in checkAudioPortConfig() local
124 if (!audio_format_from_string(config.base.format.value().c_str(), in checkAudioPortConfig()
125 &format)) { in checkAudioPortConfig()
187 .format = static_cast<AidlAudioFormat>(hidl_config.format), in toAidlAudioConfig()
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp43 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()

12345678910>>...16