• Mitsuru Oshima's avatar
    Revert "Relax NV12 format rejection for exo" · 3315d852
    Mitsuru Oshima authored
    This reverts commit b6f30c85.
    
    Reason for revert: crbug.com/1022397
    
    Original change's description:
    > Relax NV12 format rejection for exo
    > 
    > # This is reland of crrev.com/c/1775190.
    > # It has to use floored value instead of rounding to match what kernel expects.
    > 
    > Applies the same restriction in other scenarios (web page/apps).
    > 
    > * Reject iff
    >  - the buffer is cropped hirozontally, and
    >  - the cropped bounds' horizontal coordinates (x and width) doesn't
    >    fall into even pixel boundary
    > 
    > Bug: 997821, b/141202973
    > Test: manually tested with netflix web/arc apps on eve. GtsYouTubeTestCases:com.google.android.youtube.gts.DecodePerformanceTest passed on octopus
    > Change-Id: I7ce9e41b55a1f3c87e55ed680e17f9842388db51
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847676
    > Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
    > Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#704153}
    
    TBR=oshima@chromium.org,dcastagna@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: 997821, b/141202973
    Change-Id: I89a185e535a1747d863271e2cff5ef73ebab2528
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1913470Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
    Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
    Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#714736}
    3315d852
display.cc 8.34 KB