Open Bug 1352925 Opened 9 years ago Updated 3 years ago

Factor frame size calculation out into helper function

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: cpearce, Unassigned)

References

Details

JW pointed out in Bug 1351954 that we have several instances of code that calculates the sizes of Y,U and V planes and then uses those calculated sizes in a memcpy. For example gmp-clearkey's VideoDecoder::SampleToVideoFrame(). We may be able to factor this code out into a helper function or object to so that we don't have to maintain multiple copies of the calculations.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.