Searched refs:yuv1 (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/SDL2/test/ |
A D | testyuv.c | 128 Uint8 *yuv1 = (Uint8 *)SDL_malloc(yuv_len); in run_automated_tests() local 133 if (!pattern || !yuv1 || !yuv2) { in run_automated_tests() 145 if (!verify_yuv_data(formats[i], yuv1, yuv1_pitch, pattern)) { in run_automated_tests() 154 …->h, pattern->format->format, pattern->pixels, pattern->pitch, formats[i], yuv1, yuv1_pitch) < 0) { in run_automated_tests() 158 if (!verify_yuv_data(formats[i], yuv1, yuv1_pitch, pattern)) { in run_automated_tests() 169 …->h, pattern->format->format, pattern->pixels, pattern->pitch, formats[i], yuv1, yuv1_pitch) < 0) { in run_automated_tests() 173 …if (SDL_ConvertPixels(pattern->w, pattern->h, formats[i], yuv1, yuv1_pitch, formats[j], yuv2, yuv2… in run_automated_tests() 194 …->h, pattern->format->format, pattern->pixels, pattern->pitch, formats[i], yuv1, yuv1_pitch) < 0) { in run_automated_tests() 198 …if (SDL_ConvertPixels(pattern->w, pattern->h, formats[i], yuv1, yuv1_pitch, formats[j], yuv1, yuv2… in run_automated_tests() 202 if (!verify_yuv_data(formats[j], yuv1, yuv2_pitch, pattern)) { in run_automated_tests() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | filter_enc.c | 112 static double GetMBSSIM(const uint8_t* yuv1, const uint8_t* yuv2) { in GetMBSSIM() argument 119 sum += VP8SSIMGetClipped(yuv1 + Y_OFF_ENC, BPS, yuv2 + Y_OFF_ENC, BPS, in GetMBSSIM() 125 sum += VP8SSIMGetClipped(yuv1 + U_OFF_ENC, BPS, yuv2 + U_OFF_ENC, BPS, in GetMBSSIM() 127 sum += VP8SSIMGetClipped(yuv1 + V_OFF_ENC, BPS, yuv2 + V_OFF_ENC, BPS, in GetMBSSIM()
|
Completed in 4 milliseconds