/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | oslo_data_injection_test.c | 108 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/ |
D | format_metadata_factory.cpp | 179 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()
|
D | v4l2_wrapper.cpp | 333 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/gchips/libexynosutils/ |
D | exynos_format_v4l2.c | 318 unsigned int frame_size = 0; in FRAME_SIZE() local 324 frame_size = GET_16BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 329 frame_size = GET_24BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 336 frame_size = GET_32BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 343 frame_size = size + ALIGN(width / 2, 16) * height; in FRAME_SIZE() 349 frame_size = width * height * 3 / 2; in FRAME_SIZE() 354 frame_size = (ALIGN_UP(width, 16) * ALIGN_UP(height, 16) + 256) + in FRAME_SIZE() 359 frame_size = (ALIGN_UP(width, 16) * ALIGN_UP(height, 16) + 256) + in FRAME_SIZE() 370 frame_size = GET_16BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 379 return frame_size; in FRAME_SIZE()
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 741 const size_t frame_size = audio_stream_out_frame_size(stream); in out_write() local 744 const size_t frames = bytes / frame_size; in out_write() 790 const size_t flushBufferSizeFrames = sizeof(flush_buffer) / frame_size; in out_write() 808 if (out->log_fd >= 0) write(out->log_fd, buffer, written_frames * frame_size); in out_write() 840 const ssize_t written_bytes = written_frames * frame_size; in out_write() 1055 const size_t frame_size = audio_stream_in_frame_size(stream); in in_read() local 1056 const size_t frames_to_read = bytes / frame_size; in in_read() 1111 if (in->log_fd >= 0) write(in->log_fd, buff, frames_read * frame_size); in in_read() 1115 buff += frames_read * frame_size; in in_read() 1131 const size_t remaining_bytes = remaining_frames * frame_size; in in_read()
|
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/ |
D | lima_drm.h | 120 __u32 frame_size; /* in, size of frame field */ member
|
/hardware/google/graphics/common/libgscaler/ |
D | libgscaler_obj.cpp | 1692 unsigned int frame_size = width * height; in tmp_get_plane_size() local 1702 size[0] = frame_size << 2; in tmp_get_plane_size() 1711 size[0] = frame_size << 1; in tmp_get_plane_size() 1717 size[0] = (frame_size * 3) >> 1; in tmp_get_plane_size() 1720 size[0] = frame_size + (ALIGN((width >> 1), 16) * ((height >> 1) * 2)); in tmp_get_plane_size() 1731 size[0] = frame_size; in tmp_get_plane_size() 1732 size[1] = frame_size / frame_ratio; in tmp_get_plane_size() 1736 size[0] = frame_size; in tmp_get_plane_size() 1737 size[1] = frame_size / frame_ratio; in tmp_get_plane_size() 1738 size[2] = frame_size / frame_ratio; in tmp_get_plane_size()
|
/hardware/nxp/uwb/halimpl/hal/sr200/ |
D | fwd_hdll.h | 64 uint16_t frame_size; member
|
D | fwd_hdll.cc | 1413 hdllCmd->frame_size = hdll_frame_size; in phBuildHdllCmd() 1449 hdllCmd->frame_size = 0; in sendEdlResetCmd() 1458 ret = phGenericSendAndRecv(hdll_frame, hdllCmd->frame_size, rsp_buf, in sendEdlResetCmd() 1574 hdllCmd->frame_size = 0; in phGenericGetInfo() 1583 ret = phGenericSendAndRecv(hdll_frame, hdllCmd->frame_size, rsp_buf, in phGenericGetInfo()
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 2760 const size_t frame_size = channel_count * audio_bytes_per_sample(format); in get_stream_buffer_size() local 2761 const size_t buffer_size = target_frames * frame_size; in get_stream_buffer_size() 3517 const size_t frame_size = audio_stream_out_frame_size(stream); in out_write() local 3518 const size_t frames = bytes / frame_size; in out_write() 3668 size_t frame_size = channel_count * bytes_per_sample; in out_write() local 3669 size_t frame_count = bytes_to_write / frame_size; in out_write() 3678 size_t audio_frame_size = frame_size - haptic_frame_size; in out_write() 4456 const size_t frame_size = audio_stream_in_frame_size(stream); in in_read() local 4457 const size_t frames = bytes / frame_size; in in_read() 5358 uint32_t buffer_size, frame_size; in adev_open_output_stream() local [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 301 Prop.info.frame_size.height = m_sInPortDef.format.video.nFrameHeight; in component_init() 302 Prop.info.frame_size.width = m_sInPortDef.format.video.nFrameWidth; in component_init() 564 Prop.info.frame_size.height = portDefn->format.video.nFrameHeight; in set_parameter() 565 Prop.info.frame_size.width = portDefn->format.video.nFrameWidth; in set_parameter() 1856 Prop.info.frame_size.height = inWidth; in swvenc_do_flip_inport() 1857 Prop.info.frame_size.width = inHeight; in swvenc_do_flip_inport() 1860 Prop.info.frame_size.width, Prop.info.frame_size.height); in swvenc_do_flip_inport()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 309 Prop.info.frame_size.height = m_sInPortDef.format.video.nFrameHeight; in component_init() 310 Prop.info.frame_size.width = m_sInPortDef.format.video.nFrameWidth; in component_init() 576 Prop.info.frame_size.height = portDefn->format.video.nFrameHeight; in set_parameter() 577 Prop.info.frame_size.width = portDefn->format.video.nFrameWidth; in set_parameter() 1800 Prop.info.frame_size.height = inWidth; in swvenc_do_flip_inport() 1801 Prop.info.frame_size.width = inHeight; in swvenc_do_flip_inport() 1804 Prop.info.frame_size.width, Prop.info.frame_size.height); in swvenc_do_flip_inport()
|
D | video_encoder_device_v4l2.cpp | 4439 OMX_U32 frame_size; in venc_superframe_enable() local 4444 frame_size = VENUS_BUFFER_SIZE(color_format, m_sVenc_cfg.input_width, m_sVenc_cfg.input_height); in venc_superframe_enable() 4450 if (handle->size % frame_size || handle->size == frame_size) { in venc_superframe_enable() 4452 handle->size, frame_size); in venc_superframe_enable() 4455 ctrl.value = handle->size / frame_size; in venc_superframe_enable()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 230 uint32_t frame_size; member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 3508 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/ |
D | omx_swvenc_mpeg4.cpp | 272 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/ |
D | omx_swvenc_mpeg4.cpp | 272 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/ |
D | omx_vdpp.h | 289 size_t frame_size; member
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 3215 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()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 1306 pThis->rectangle.nLeft = pThis->drv_ctx.frame_size.left; in process_event_cb() 1307 pThis->rectangle.nTop = pThis->drv_ctx.frame_size.top; in process_event_cb() 1308 … pThis->rectangle.nWidth = pThis->drv_ctx.frame_size.right; in process_event_cb() 1309 … pThis->rectangle.nHeight = pThis->drv_ctx.frame_size.bottom; in process_event_cb() 6528 … || (omx->drv_ctx.frame_size.left != vdec_msg->msgdata.output_frame.framesize.left) in async_message_process() 6529 … || (omx->drv_ctx.frame_size.top != vdec_msg->msgdata.output_frame.framesize.top) in async_message_process() 6530 … || (omx->drv_ctx.frame_size.right != vdec_msg->msgdata.output_frame.framesize.right) in async_message_process() 6531 … || (omx->drv_ctx.frame_size.bottom != vdec_msg->msgdata.output_frame.framesize.bottom) )) { in async_message_process() 6535 omx->drv_ctx.frame_size.left, omx->drv_ctx.frame_size.top, in async_message_process() 6536 omx->drv_ctx.frame_size.right, omx->drv_ctx.frame_size.bottom, in async_message_process() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 1284 pThis->rectangle.nLeft = pThis->drv_ctx.frame_size.left; in process_event_cb() 1285 pThis->rectangle.nTop = pThis->drv_ctx.frame_size.top; in process_event_cb() 1286 … pThis->rectangle.nWidth = pThis->drv_ctx.frame_size.right; in process_event_cb() 1287 … pThis->rectangle.nHeight = pThis->drv_ctx.frame_size.bottom; in process_event_cb() 7710 … || (omx->drv_ctx.frame_size.left != vdec_msg->msgdata.output_frame.framesize.left) in async_message_process() 7711 … || (omx->drv_ctx.frame_size.top != vdec_msg->msgdata.output_frame.framesize.top) in async_message_process() 7712 … || (omx->drv_ctx.frame_size.right != vdec_msg->msgdata.output_frame.framesize.right) in async_message_process() 7713 … || (omx->drv_ctx.frame_size.bottom != vdec_msg->msgdata.output_frame.framesize.bottom) in async_message_process() 7721 omx->drv_ctx.frame_size.left, omx->drv_ctx.frame_size.top, in async_message_process() 7722 omx->drv_ctx.frame_size.right, omx->drv_ctx.frame_size.bottom, in async_message_process() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 265 struct vdec_framesize frame_size; member
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 1610 pThis->rectangle.nLeft = pThis->drv_ctx.frame_size.left; in process_event_cb() 1611 pThis->rectangle.nTop = pThis->drv_ctx.frame_size.top; in process_event_cb() 1612 … pThis->rectangle.nWidth = pThis->drv_ctx.frame_size.right; in process_event_cb() 1613 … pThis->rectangle.nHeight = pThis->drv_ctx.frame_size.bottom; in process_event_cb() 8639 … || (omx->drv_ctx.frame_size.left != vdec_msg->msgdata.output_frame.framesize.left) in async_message_process() 8640 … || (omx->drv_ctx.frame_size.top != vdec_msg->msgdata.output_frame.framesize.top) in async_message_process() 8641 … || (omx->drv_ctx.frame_size.right != vdec_msg->msgdata.output_frame.framesize.right) in async_message_process() 8642 … || (omx->drv_ctx.frame_size.bottom != vdec_msg->msgdata.output_frame.framesize.bottom) in async_message_process() 8650 omx->drv_ctx.frame_size.left, omx->drv_ctx.frame_size.top, in async_message_process() 8651 omx->drv_ctx.frame_size.right, omx->drv_ctx.frame_size.bottom, in async_message_process() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 273 struct vdec_framesize frame_size; member
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 1801 pThis->rectangle.nLeft = pThis->drv_ctx.frame_size.left; in process_event_cb() 1802 pThis->rectangle.nTop = pThis->drv_ctx.frame_size.top; in process_event_cb() 1803 … pThis->rectangle.nWidth = pThis->drv_ctx.frame_size.right; in process_event_cb() 1804 … pThis->rectangle.nHeight = pThis->drv_ctx.frame_size.bottom; in process_event_cb() 9378 memcpy(&omx->drv_ctx.frame_size, in async_message_process() 9398 … || (omx->drv_ctx.frame_size.left != vdec_msg->msgdata.output_frame.framesize.left) in async_message_process() 9399 … || (omx->drv_ctx.frame_size.top != vdec_msg->msgdata.output_frame.framesize.top) in async_message_process() 9400 … || (omx->drv_ctx.frame_size.right != vdec_msg->msgdata.output_frame.framesize.right) in async_message_process() 9401 … || (omx->drv_ctx.frame_size.bottom != vdec_msg->msgdata.output_frame.framesize.bottom) in async_message_process() 9409 omx->drv_ctx.frame_size.left, omx->drv_ctx.frame_size.top, in async_message_process() [all …]
|