Home
last modified time | relevance | path

Searched refs:data_format (Results 1 – 17 of 17) sorted by relevance

/external/autotest/client/cros/audio/
Daudio_test_data.py21 def __init__(self, data_format=None, path=None, frequencies=None): argument
39 self.data_format = data_format
56 def convert(self, data_format, volume_scale): argument
79 '_'.join(str(x) for x in data_format.values()) + ext)
83 channels_src=self.data_format['channel'],
84 rate_src=self.data_format['rate'],
86 self.data_format['sample_format']]['size_bytes'] * 8,
88 channels_dst=data_format['channel'],
89 rate_dst=data_format['rate'],
91 data_format['sample_format']]['size_bytes'] * 8,
[all …]
Daudio_helper.py790 def get_one_channel_stat(data, data_format): argument
806 sample_format=data_format['sample_format'])
813 data_format['sample_format']]['size_bytes'])
815 rate=data_format['rate'])
/external/autotest/client/cros/multimedia/
Daudio_facade_native.py132 def playback(self, file_path, data_format, blocking=False): argument
151 file_path, data_format)
153 if data_format != self._PLAYBACK_DATA_FORMAT:
155 'data format %r is not supported' % data_format)
171 def start_recording(self, data_format): argument
190 logging.info('AudioFacadeNative record format: %r', data_format)
192 if data_format not in self._CAPTURE_DATA_FORMATS:
194 'data format %r is not supported' % data_format)
197 self._recorder.start(data_format)
325 def start(self, data_format): argument
[all …]
/external/libexif/libexif/
Dexif-loader.c69 ExifLoaderDataFormat data_format; member
172 switch (eld->data_format) { in exif_loader_write()
206 switch (eld->data_format) { in exif_loader_write()
213 eld->data_format = EL_DATA_FORMAT_FUJI_RAW; in exif_loader_write()
221 eld->data_format = EL_DATA_FORMAT_EXIF; in exif_loader_write()
255 switch (eld->data_format) { in exif_loader_write()
261 eld->data_format = EL_DATA_FORMAT_EXIF; in exif_loader_write()
277 eld->data_format = EL_DATA_FORMAT_EXIF; in exif_loader_write()
279 eld->data_format = EL_DATA_FORMAT_JPEG; /* Probably JFIF - keep searching for APP1 EXIF*/ in exif_loader_write()
290 eld->data_format = EL_DATA_FORMAT_JPEG; in exif_loader_write()
[all …]
/external/autotest/client/cros/chameleon/
Daudio_test_utils.py269 data_format = recorder.data_format
272 channel=data_format['channel'],
273 sample_format=data_format['sample_format'])
284 data_format['sample_format'])
288 normalized_signal, data_format['rate'])
310 rate=data_format['rate'],
Dchameleon.py551 remote_path, data_format = self.chameleond_proxy.StopCapturingAudio(
553 return remote_path, data_format
571 def start_playing_audio(self, path, data_format): argument
581 self.chameleond_proxy.StartPlayingAudio(self.port_id, path, data_format)
Daudio_widget.py131 def data_format(self): member in AudioInputWidget
445 self._test_data_for_chameleon_format = test_data.data_format
763 if test_data.data_format != self._DEFAULT_DATA_FORMAT:
Dchameleon_audio_helper.py400 golden_file.get_binary(), golden_file.data_format,
401 recorder.get_binary(), recorder.data_format, recorder.channel_map,
/external/autotest/server/cros/multimedia/
Daudio_facade_adapter.py39 def playback(self, client_path, data_format, blocking=False): argument
56 client_path, data_format, blocking)
74 def start_recording(self, data_format): argument
87 self._audio_proxy.start_recording(data_format)
/external/ImageMagick/coders/
Dcin.c215 data_format; member
570 cin.data_format.interleave=(unsigned char) ReadBlobByte(image); in ReadCINImage()
572 cin.data_format.packing=(unsigned char) ReadBlobByte(image); in ReadCINImage()
574 cin.data_format.sign=(unsigned char) ReadBlobByte(image); in ReadCINImage()
576 cin.data_format.sense=(unsigned char) ReadBlobByte(image); in ReadCINImage()
578 cin.data_format.line_pad=ReadBlobLong(image); in ReadCINImage()
580 cin.data_format.channel_pad=ReadBlobLong(image); in ReadCINImage()
582 offset+=ReadBlob(image,sizeof(cin.data_format.reserve),(unsigned char *) in ReadCINImage()
583 cin.data_format.reserve); in ReadCINImage()
1052 cin.data_format.interleave=0; /* pixel interleave (rgbrgbr...) */ in WriteCINImage()
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors.py108 data_format = '<' + ''.join(field_formats)
109 unpack_length = struct.calcsize(data_format)
127 obj = super(cls, cls).__new__(cls, *struct.unpack_from(data_format,
Dmbim_message.py82 data_format = cls.get_field_format_string(get_all=True)
91 obj = super(cls, cls).__new__(cls, *struct.unpack_from(data_format,
Dmbim_data_transfer.py364 data_format = cls.get_field_format_string()
373 field_values = struct.unpack_from(data_format, raw_data)
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h106 unsigned data_format; member
Dr600_asm.c1720 S_SQ_VTX_WORD1_DATA_FORMAT(vtx->data_format) | in r600_bytecode_vtx_build()
2586 fprintf(stderr, "FORMAT(DATA:%d ", vtx->data_format); in r600_bytecode_dump()
2834 vtx.data_format = format; in r600_vertex_elements_build_fetch_shader()
Dr600_shader.c499 vtx.data_format = G_SQ_VTX_WORD1_DATA_FORMAT(word1); in r600_vtx_from_byte_stream()
1023 vtx.data_format = FMT_32_32_32_32_FLOAT; in tgsi_fetch_rel_const()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1366 unsigned data_format; in si_is_vertex_format_supported() local
1370 data_format = si_translate_vertexformat(screen, format, desc, first_non_void); in si_is_vertex_format_supported()
1371 return data_format != V_008F0C_BUF_DATA_FORMAT_INVALID; in si_is_vertex_format_supported()
2345 unsigned data_format, num_format; in si_create_vertex_elements() local
2350 data_format = si_translate_vertexformat(ctx->screen, elements[i].src_format, in si_create_vertex_elements()
2373 S_008F0C_DATA_FORMAT(data_format); in si_create_vertex_elements()