[libyuv] Use NV12 and NV21 Matrix wrapper macros in convert_argb_test

Update JNV12ToABGR, JNV21ToABGR, JNV12ToRAW, and JNV21ToRAW test macros
in convert_argb_test.cc to use the public NV12ToABGRMatrix,
NV21ToABGRMatrix, NV12ToRAWMatrix, and NV21ToRAWMatrix wrapper macros.

Test: libyuv_unittest --gtest_filter=*JNV*
libyuv:537503370
Change-Id: I53c2496311cb30f621593f8a9d0011e1106ab501
TAG=agy
CONV=5daf08a8-11bd-4d47-8c71-c5b7a882a788
This commit is contained in:
Frank Barchard 2026-07-21 18:57:43 -07:00
parent 805babf995
commit f2f730f9f0

View File

@ -460,17 +460,17 @@ TESTPLANARTOB(I444, 1, 1, ARGB, 4, 4, 1)
#define JNV21ToARGB(a, b, c, d, e, f, g, h) \
NV21ToARGBMatrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)
#define JNV12ToABGR(a, b, c, d, e, f, g, h) \
NV21ToARGBMatrix(a, b, c, d, e, f, &kYvuJPEGConstants, g, h)
NV12ToABGRMatrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)
#define JNV21ToABGR(a, b, c, d, e, f, g, h) \
NV12ToARGBMatrix(a, b, c, d, e, f, &kYvuJPEGConstants, g, h)
NV21ToABGRMatrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)
#define JNV12ToRGB24(a, b, c, d, e, f, g, h) \
NV12ToRGB24Matrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)
#define JNV21ToRGB24(a, b, c, d, e, f, g, h) \
NV21ToRGB24Matrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)
#define JNV12ToRAW(a, b, c, d, e, f, g, h) \
NV21ToRGB24Matrix(a, b, c, d, e, f, &kYvuJPEGConstants, g, h)
NV12ToRAWMatrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)
#define JNV21ToRAW(a, b, c, d, e, f, g, h) \
NV12ToRGB24Matrix(a, b, c, d, e, f, &kYvuJPEGConstants, g, h)
NV21ToRAWMatrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)
#define JNV12ToRGB565(a, b, c, d, e, f, g, h) \
NV12ToRGB565Matrix(a, b, c, d, e, f, &kYuvJPEGConstants, g, h)