Factor frame size calculation out into helper function

NEW
Unassigned

Status

()

Core
Audio/Video: Playback
P3
normal
a year ago
a year ago

People

(Reporter: cpearce, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
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.
You need to log in before you can comment on or make changes to this bug.