Home
last modified time | relevance | path

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

12

/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/msm8994/kernel-headers/sound/
Dcompress_offload.h77 uint32_t frame_size; member
/hardware/qcom/msm8x26/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/msm8x84/kernel-headers/sound/
Dcompress_offload.h77 uint32_t frame_size; member
/hardware/qcom/msm8x84/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/msm8x09/original-kernel-headers/sound/
Dcompress_offload.h131 uint32_t frame_size; member
/hardware/qcom/msm8x09/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.cpp790 const size_t frame_size = audio_stream_out_frame_size(stream); in audio_config_compare() local
793 const size_t frames = bytes / frame_size; in audio_config_compare()
829 const size_t flushBufferSizeFrames = sizeof(flush_buffer) / frame_size; in audio_config_compare()
847 if (out->log_fd >= 0) write(out->log_fd, buffer, written_frames * frame_size); in audio_config_compare()
879 const ssize_t written_bytes = written_frames * frame_size; in audio_config_compare()
1102 const size_t frame_size = audio_stream_in_frame_size(stream); in audio_config_compare() local
1103 const size_t frames_to_read = bytes / frame_size; in audio_config_compare()
1262 if (in->log_fd >= 0) write(in->log_fd, buff, frames_read * frame_size); in audio_config_compare()
1266 buff += frames_read * frame_size; in audio_config_compare()
1282 const size_t remaining_bytes = remaining_frames * frame_size; in audio_config_compare()
/hardware/qcom/audio/hal/
Daudio_hw.c3428 const size_t frame_size = audio_stream_out_frame_size(stream); in out_write() local
3429 const size_t frames = bytes / frame_size; in out_write()
3579 size_t frame_size = channel_count * bytes_per_sample; in out_write() local
3580 size_t frame_count = bytes_to_write / frame_size; in out_write()
3589 size_t audio_frame_size = frame_size - haptic_frame_size; in out_write()
4366 const size_t frame_size = audio_stream_in_frame_size(stream); in in_read() local
4367 const size_t frames = bytes / frame_size; in in_read()
5240 uint32_t buffer_size, frame_size; in adev_open_output_stream() local
5250 frame_size = audio_bytes_per_sample(out->format) * out->config.channels; in adev_open_output_stream()
5251 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/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()
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h289 size_t frame_size; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp3215 unsigned int frame_size = 0; in Read_Buffer_From_DivX_311_File() local
3243 bytes_read = read(inputBufferFileFd, &frame_size, num_bytes_size); in Read_Buffer_From_DivX_311_File()
3245 DEBUG_PRINT("Read_Buffer_From_DivX_311_File: Frame size = %d\n", frame_size); in Read_Buffer_From_DivX_311_File()
3246 n_offset += read(inputBufferFileFd, p_buffer, frame_size); in Read_Buffer_From_DivX_311_File()

12