Closed Bug 1221836 Opened 9 years ago Closed 9 years ago

return output pointer from FFTConvolver::process() to save a buffer copy

Categories

(Core :: Web Audio, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Attachments

(1 file)

FFTConvolver copies its output to a provided buffer, but it already has the output in its own buffer and so can instead provide a pointer to the buffer. This requires dropping support for FFT half-sizes less than WEBAUDIO_BlOCK_SIZE, which we don't really use after changes in bug, but saves 4-5% CPU usage.
bug 1221836 return output pointer from FFTConvolver::process() to save a buffer copy r?padenot
Attachment #8683449 - Flags: review?(padenot)
Rank: 12
Priority: -- → P1
Attachment #8683449 - Flags: review?(padenot) → review+
Comment on attachment 8683449 [details] MozReview Request: bug 1221836 return output pointer from FFTConvolver::process() to save a buffer copy r?padenot https://reviewboard.mozilla.org/r/24361/#review21875
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: