VideoPixelFormat: remove unused PIXEL_FORMAT_I422
This CL removes the superfluous PIXEL_FORMAT_I422, synonym of the older PIXEL_FORMAT_YV16. This format was landed in crrev.com/2571163002 with a comment that "Apart from how the buffer is allocated the format is basically idential to I422 (a.k.a YU16).", but I can't see any difference from the code, i.e. both PIXEL_FORMAT_YV16 and PIXEL_FORMAT_I422 are treated the same everywhere. Note that usually we should not roll back VideoPixelFormat's PIXEL_FORMAT_MAX but PIXEL_FORMAT_I422 was never added to enums.xml, so UMA knows nothing about it [1], and we can just pretend it was never there and was never logged [2] (it'd be logged as some hash name) [1] https://cs.chromium.org/chromium/src/tools/metrics/histograms/enums.xml?type=cs&q=histograms+enums.xml+y16&sq=package:chromium&l=43271 [2] https://uma.googleplex.com/timeline_v2?sid=deaff528e0268c7d0fdaa405130a075f TBR=reveman@chromium.org for the autochange in video_resource_updater.cc Bug: 795424 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I9e5d52d8013bc4f6d237c8274ceb63327d78fa30 Reviewed-on: https://chromium-review.googlesource.com/830769 Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#524549}
Showing
Please register or sign in to comment