Home
last modified time | relevance | path

Searched refs:frame_size (Results 1 – 25 of 38) sorted by relevance

12

/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_data_injection_test.c108 static bool frame_data_validate(const uint8_t *data, size_t frame_size) { in frame_data_validate() argument
131 num_chirps_per_frame = frame_size / chirp_size; in frame_data_validate()
136 if (frame_size % chirp_size != 0) { in frame_data_validate()
137 ALOGE("frame_size (%d) is not a multiple of the chirp_size (%d)!!!\n", frame_size, in frame_data_validate()
140 frame_size, chirp_size); in frame_data_validate()
175 int frame_size = 0; in main() local
204 frame_size = strtol(argv[3], NULL, 0); in main()
235 if (frame_size < 0 || frame_size > FRAME_SIZE_MAX) { in main()
236 fprintf(stderr, "Invalid frame_size:%d\n", frame_size); in main()
241 inject_bytes_per_sec = frame_size * 1000 / frame_period_ms; in main()
[all …]
/hardware/libhardware/modules/camera/3_4/
Dformat_metadata_factory.cpp179 for (const auto& frame_size : frame_sizes) { in AddFormatComponents() local
183 frame_size[0], in AddFormatComponents()
184 frame_size[1], in AddFormatComponents()
190 v4l2_format, frame_size, &duration_range); in AddFormatComponents()
196 frame_size[0], in AddFormatComponents()
197 frame_size[1]); in AddFormatComponents()
203 frame_size[0], in AddFormatComponents()
204 frame_size[1], in AddFormatComponents()
215 {{hal_format, frame_size[0], frame_size[1], stall_duration}}); in AddFormatComponents()
Dv4l2_wrapper.cpp333 for (auto frame_size : frame_sizes) { in GetSupportedFormats() local
334 supported_format.width = frame_size[0]; in GetSupportedFormats()
335 supported_format.height = frame_size[1]; in GetSupportedFormats()
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.cpp173 static bool parseMp3Header(uint32_t header, size_t *frame_size, in parseMp3Header() argument
178 *frame_size = 0; in parseMp3Header()
224 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; in parseMp3Header()
264 *frame_size = 144000 * bitrate / sampling_rate + padding; in parseMp3Header()
267 *frame_size = tmp * bitrate / sampling_rate + padding; in parseMp3Header()
DC2SoftMp3Dec.h25 bool parseMp3Header(uint32_t header, size_t *frame_size,
/hardware/qcom/msm8x26/original-kernel-headers/sound/
Dcompress_offload.h131 uint32_t frame_size; member
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Dcompress_offload.h131 uint32_t frame_size; member
/hardware/qcom/msm8x84/kernel-headers/sound/
Dcompress_offload.h77 uint32_t frame_size; member
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dcompress_offload.h131 uint32_t frame_size; member
/hardware/qcom/msm8x26/kernel-headers/sound/
Dcompress_offload.h77 uint32_t frame_size; member
/hardware/qcom/msm8994/kernel-headers/sound/
Dcompress_offload.h77 uint32_t frame_size; member
/hardware/qcom/msm8x09/kernel-headers/sound/
Dcompress_offload.h77 uint32_t frame_size; member
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Dcompress_offload.h131 uint32_t frame_size; member
/hardware/qcom/msm8996/kernel-headers/sound/
Dcompress_offload.h77 uint32_t frame_size; member
/hardware/qcom/msm8996/original-kernel-headers/sound/
Dcompress_offload.h131 uint32_t frame_size; member
/hardware/qcom/msm8998/original-kernel-headers/sound/
Dcompress_offload.h131 __u32 frame_size; member
/hardware/qcom/msm8998/kernel-headers/sound/
Dcompress_offload.h77 __u32 frame_size; member
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp792 const size_t frame_size = audio_stream_out_frame_size(stream); in audio_config_compare() local
795 const size_t frames = bytes / frame_size; in audio_config_compare()
840 const size_t flushBufferSizeFrames = sizeof(flush_buffer) / frame_size; in audio_config_compare()
858 if (out->log_fd >= 0) write(out->log_fd, buffer, written_frames * frame_size); in audio_config_compare()
890 const ssize_t written_bytes = written_frames * frame_size; in audio_config_compare()
1113 const size_t frame_size = audio_stream_in_frame_size(stream); in audio_config_compare() local
1114 const size_t frames_to_read = bytes / frame_size; in audio_config_compare()
1273 if (in->log_fd >= 0) write(in->log_fd, buff, frames_read * frame_size); in audio_config_compare()
1277 buff += frames_read * frame_size; in audio_config_compare()
1293 const size_t remaining_bytes = remaining_frames * frame_size; in audio_config_compare()
/hardware/qcom/audio/hal/
Daudio_hw.c3429 const size_t frame_size = audio_stream_out_frame_size(stream); in out_write() local
3430 const size_t frames = bytes / frame_size; in out_write()
3580 size_t frame_size = channel_count * bytes_per_sample; in out_write() local
3581 size_t frame_count = bytes_to_write / frame_size; in out_write()
3590 size_t audio_frame_size = frame_size - haptic_frame_size; in out_write()
4368 const size_t frame_size = audio_stream_in_frame_size(stream); in in_read() local
4369 const size_t frames = bytes / frame_size; in in_read()
5242 uint32_t buffer_size, frame_size; in adev_open_output_stream() local
5252 frame_size = audio_bytes_per_sample(out->format) * out->config.channels; in adev_open_output_stream()
5253 out->config.period_size = buffer_size / frame_size; in adev_open_output_stream()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp296 Prop.info.frame_size.height = m_sInPortDef.format.video.nFrameHeight; in component_init()
297 Prop.info.frame_size.width = m_sInPortDef.format.video.nFrameWidth; in component_init()
578 Prop.info.frame_size.height = portDefn->format.video.nFrameHeight; in set_parameter()
579 Prop.info.frame_size.width = portDefn->format.video.nFrameWidth; in set_parameter()
1829 Prop.info.frame_size.height = inWidth; in swvenc_do_flip_inport()
1830 Prop.info.frame_size.width = inHeight; in swvenc_do_flip_inport()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h230 uint32_t frame_size; member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp297 Prop.info.frame_size.height = m_sInPortDef.format.video.nFrameHeight; in component_init()
298 Prop.info.frame_size.width = m_sInPortDef.format.video.nFrameWidth; in component_init()
557 Prop.info.frame_size.height = portDefn->format.video.nFrameHeight; in set_parameter()
558 Prop.info.frame_size.width = portDefn->format.video.nFrameWidth; in set_parameter()
1848 Prop.info.frame_size.height = inWidth; in swvenc_do_flip_inport()
1849 Prop.info.frame_size.width = inHeight; in swvenc_do_flip_inport()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp3508 unsigned int frame_size = 0; in Read_Buffer_From_DivX_311_File() local
3532 bytes_read = read(inputBufferFileFd, &frame_size, num_bytes_size); in Read_Buffer_From_DivX_311_File()
3534 DEBUG_PRINT("Read_Buffer_From_DivX_311_File: Frame size = %d\n", frame_size); in Read_Buffer_From_DivX_311_File()
3535 n_offset += read(inputBufferFileFd, p_buffer, frame_size); in Read_Buffer_From_DivX_311_File()
3556 unsigned int frame_size = 0; in Read_Buffer_From_VP8_File() local
3585 bytes_read = read(inputBufferFileFd, &frame_size, 4); in Read_Buffer_From_VP8_File()
3587 n_offset += read(inputBufferFileFd, p_buffer, frame_size); in Read_Buffer_From_VP8_File()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp272 Prop.info.frame_size.height = m_sInPortDef.format.video.nFrameHeight; in component_init()
273 Prop.info.frame_size.width = m_sInPortDef.format.video.nFrameWidth; in component_init()
534 Prop.info.frame_size.height = portDefn->format.video.nFrameHeight; in set_parameter()
535 Prop.info.frame_size.width = portDefn->format.video.nFrameWidth; in set_parameter()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_mpeg4.cpp272 Prop.info.frame_size.height = m_sInPortDef.format.video.nFrameHeight; in component_init()
273 Prop.info.frame_size.width = m_sInPortDef.format.video.nFrameWidth; in component_init()
532 Prop.info.frame_size.height = portDefn->format.video.nFrameHeight; in set_parameter()
533 Prop.info.frame_size.width = portDefn->format.video.nFrameWidth; in set_parameter()

12