• Frank Barchard's avatar
    Reimplement NV21ToARGB to allow different color matrix. · 914a9856
    Frank Barchard authored
    Low level for NV21ToARGB written to accept yuv matrix used by
    other YUV to ARGB functions.
    Previously NV21 was implemented for Windows using NV12 with a different
    matrix that swapped U and V.  But the Arm version of the low level does
    not allow the matrix U and V contributions to be swapped.
    Using a new low level function that reads NV21 and uses the same
    yuvconstants as other YUV conversion functions allows an Arm port of
    this function.
    
    TBR=harryjin@google.com
    BUG=libyuv:500
    
    Review URL: https://codereview.chromium.org/1388273002 .
    914a9856
planar_functions.cc 72.8 KB