Spaces:
Runtime error
Runtime error
/* | |
* Copyright (c) 2017 Jokyo Images | |
* | |
* This file is part of FFmpeg. | |
* | |
* FFmpeg is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* FFmpeg is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
* GNU General Public License for more details. | |
* | |
* You should have received a copy of the GNU General Public License along | |
* with FFmpeg; if not, write to the Free Software Foundation, Inc., | |
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
*/ | |
static void check_restore_rgb_planes(void) { | |
CHECK_RESTORE(uint8_t); | |
} | |
static void check_restore_rgb_planes10(void) { | |
CHECK_RESTORE(uint16_t); | |
} | |
void checkasm_check_utvideodsp(void) | |
{ | |
UTVideoDSPContext h; | |
ff_utvideodsp_init(&h); | |
if (check_func(h.restore_rgb_planes, "restore_rgb_planes")) | |
check_restore_rgb_planes(); | |
report("restore_rgb_planes"); | |
if (check_func(h.restore_rgb_planes10, "restore_rgb_planes10")) | |
check_restore_rgb_planes10(); | |
report("restore_rgb_planes10"); | |
} | |