Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 76) sorted by relevance

1234

/hardware/qcom/audio/hal/audio_extn/
Dcirrus_playback.c208 struct crus_sp_ioctl_header header; in audio_extn_cirrus_run_calibration() local
249 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
250 header.module_id = CRUS_MODULE_ID_RX; in audio_extn_cirrus_run_calibration()
251 header.param_id = CRUS_PARAM_RX_SET_CALIB; in audio_extn_cirrus_run_calibration()
252 header.data_length = sizeof(option); in audio_extn_cirrus_run_calibration()
253 header.data = &option; in audio_extn_cirrus_run_calibration()
255 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET, &header); in audio_extn_cirrus_run_calibration()
263 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
264 header.module_id = CRUS_MODULE_ID_TX; in audio_extn_cirrus_run_calibration()
265 header.param_id = CRUS_PARAM_TX_SET_CALIB; in audio_extn_cirrus_run_calibration()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dts_parser.cpp127 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
130 if (!reorder_ts || error || !header) { in insert_timestamp()
131 if (error || !header) in insert_timestamp()
132 DEBUG("\n Invalid condition in insert_timestamp %p", header); in insert_timestamp()
144 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
147 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) in insert_timestamp()
168 *table_entry = header->nTimeStamp; in insert_timestamp()
170 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
211 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/interfaces/confirmationui/support/src/
Dcbor.cpp60 uint8_t& header = *wState.data_; in writeHeader() local
62 header = static_cast<uint8_t>(type) << 5; in writeHeader()
64 header |= static_cast<uint8_t>(value); in writeHeader()
66 header |= 24; in writeHeader()
69 header |= 25; in writeHeader()
72 header |= 26; in writeHeader()
75 header |= 27; in writeHeader()
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.cpp221 OpusHeader* header) { in ParseOpusHeader() argument
253 header->channels = *(data + kOpusHeaderChannelsOffset); in ParseOpusHeader()
254 if (header->channels <= 0 || header->channels > kMaxChannels) { in ParseOpusHeader()
255 ALOGE("Invalid Header, wrong channel count: %d", header->channels); in ParseOpusHeader()
259 header->skip_samples = ReadLE16(data, in ParseOpusHeader()
263 header->gain_db = static_cast<int16_t>(ReadLE16(data, in ParseOpusHeader()
267 header->channel_mapping = *(data + kOpusHeaderChannelMappingOffset); in ParseOpusHeader()
268 if (!header->channel_mapping) { in ParseOpusHeader()
269 if (header->channels > kMaxChannelsWithDefaultLayout) { in ParseOpusHeader()
273 header->num_streams = 1; in ParseOpusHeader()
[all …]
/hardware/qcom/msm8998/json-c/
Dconfig.h.in32 /* Define to 1 if you have the <dlfcn.h> header file. */
38 /* Define to 1 if you have the <endian.h> header file. */
41 /* Define to 1 if you have the <fcntl.h> header file. */
44 /* Define to 1 if you have the <inttypes.h> header file. */
47 /* Define to 1 if you have the <limits.h> header file. */
50 /* Define to 1 if you have the <locale.h> header file. */
57 /* Define to 1 if you have the <memory.h> header file. */
73 /* Define to 1 if you have the <stdarg.h> header file. */
76 /* Define to 1 if you have the <stdint.h> header file. */
79 /* Define to 1 if you have the <stdlib.h> header file. */
[all …]
Djson_config.h.in2 /* Define to 1 if you have the <inttypes.h> header file. */
/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.cpp105 V2_0::ISoundTriggerHw::SoundModel soundModel_2_0(soundModel.header); in loadSoundModel_2_1()
123 soundModel_2_0.common = soundModel.common.header; in loadPhraseSoundModel_2_1()
143 V2_0::ISoundTriggerHw::RecognitionConfig config_2_0(config.header); in startRecognition_2_1()
161 event.common.header = event_2_0.common; in recognitionCallback()
166 convertRecognitionEventFromHal(&event.header, halEvent); in recognitionCallback()
167 event.header.model = mId; in recognitionCallback()
168 auto result = moveVectorToMemory(&event.header.data, &event.data); in recognitionCallback()
178 convertSoundModelEventFromHal(&event.header, halEvent); in soundModelCallback()
179 event.header.model = mId; in soundModelCallback()
180 auto result = moveVectorToMemory(&event.header.data, &event.data); in soundModelCallback()
/hardware/libhardware/
DAndroid.bp9 "libbluetooth-types-header",
15 "libbluetooth-types-header",
25 "libbluetooth-types-header",
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/
DKbuild1 header-y += wcd9xxx_registers.h
2 header-y += wcd9310_registers.h
/hardware/interfaces/soundtrigger/2.1/
DISoundTriggerHwCallback.hal32 /** Event header. Any data contained in the 'header.data' field
34 @2.0::ISoundTriggerHwCallback.RecognitionEvent header;
53 /** Event header. Any data contained in the 'header.data' field
55 @2.0::ISoundTriggerHwCallback.ModelEvent header;
DISoundTriggerHw.hal31 * Base sound model descriptor. This struct is the header of a larger block
36 /** Sound model header. Any data contained in the 'header.data' field
38 @2.0::ISoundTriggerHw.SoundModel header;
60 /** Configuration header. Any data contained in the 'header.data' field
62 @2.0::ISoundTriggerHw.RecognitionConfig header;
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dts_parser.h54 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
55 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.cpp173 static bool parseMp3Header(uint32_t header, size_t *frame_size, in parseMp3Header() argument
184 if ((header & 0xffe00000) != 0xffe00000) return false; in parseMp3Header()
186 unsigned version = (header >> 19) & 3; in parseMp3Header()
189 unsigned layer = (header >> 17) & 3; in parseMp3Header()
192 unsigned bitrate_index = (header >> 12) & 0x0f; in parseMp3Header()
195 unsigned sampling_rate_index = (header >> 10) & 3; in parseMp3Header()
206 unsigned padding = (header >> 9) & 1; in parseMp3Header()
276 int channel_mode = (header >> 6) & 3; in parseMp3Header()
288 static status_t calculateOutSize(uint8 *header, size_t inSize, in calculateOutSize() argument
296 if (!parseMp3Header(U32_AT(header + totalInSize), &frameSize, in calculateOutSize()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h71 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
72 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h71 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
72 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h70 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
71 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h71 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
72 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraMjpegDecode.cpp235 jpeg_hdr_t header; in decoder_test() local
332 rc = jpegd_read_header(decoder, &header); in decoder_test()
338 p_args->width = header.main.width; in decoder_test()
339 p_args->height = header.main.height; in decoder_test()
341 header.main.width, header.main.height, (int)header.main.subsampling); in decoder_test()
345 dest.width = (p_args->width) ? (p_args->width) : header.main.width; in decoder_test()
346 dest.height = (p_args->height) ? (p_args->height) : header.main.height; in decoder_test()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DGenericStateResidencyDataProvider.h15 std::string header; variable
33 PowerEntityConfig(const std::string &header,
/hardware/google/pixel/powerstats/
DGenericStateResidencyDataProvider.cpp45 cfg.header = h.second; in generateGenericStateResidencyConfigs()
54 PowerEntityConfig::PowerEntityConfig(const std::string &header, in PowerEntityConfig() argument
56 : mHeader(header) { in PowerEntityConfig()
128 return (a.second.header == android::base::Trim(std::string(b))); in getStateData()
/hardware/interfaces/soundtrigger/2.1/vts/functional/
DVtsHalSoundtriggerV2_1TargetTest.cpp261 model.common.header.type = SoundModelType::UNKNOWN; in TEST_F()
337 model.header.type = SoundModelType::GENERIC; in TEST_F()
361 model.header.type = SoundModelType::GENERIC; in TEST_F()
453 config.header.captureHandle = 0; in TEST_F()
454 config.header.captureDevice = AudioDevice::IN_BUILTIN_MIC; in TEST_F()
459 config.header.phrases.setToExternal(&phrase, 1); in TEST_F()

1234