Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio: add aligned limits for component copy function #5266

Merged
merged 1 commit into from
May 20, 2022

Commits on May 17, 2022

  1. audio: add API with alignment limits for stream copy

    Add API function such as comp_get_copy_limits_frame
    _aligned(). This function would finally call audio_
    stream_get_avail_frames_aligned to use right shift
    instead of division, whichh reduce about 26% MCPS than
    the original division method.
    Developers should set the byte_align for xtensa intrinsics
    and frame_align_req for algorithm limits only once in
    component prepare or param function.
    
    Signed-off-by: Andrula Song <[email protected]>
    Andrula Song committed May 17, 2022
    Configuration menu
    Copy the full SHA
    3cdc49c View commit details
    Browse the repository at this point in the history