| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /* | ||
| 2 | * Copyright (c) 2012 Loren Merritt | ||
| 3 | * | ||
| 4 | * This file is part of FFmpeg. | ||
| 5 | * | ||
| 6 | * FFmpeg is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * FFmpeg is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along | ||
| 17 | * with FFmpeg; if not, write to the Free Software Foundation, Inc., | ||
| 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include <stddef.h> | ||
| 22 | #include <stdint.h> | ||
| 23 | |||
| 24 | #include "libavutil/attributes.h" | ||
| 25 | #include "libavfilter/vf_hqdn3d.h" | ||
| 26 | |||
| 27 | void ff_hqdn3d_row_8_x86(uint8_t *src, uint8_t *dst, uint16_t *line_ant, | ||
| 28 | uint16_t *frame_ant, ptrdiff_t w, int16_t *spatial, | ||
| 29 | int16_t *temporal); | ||
| 30 | void ff_hqdn3d_row_9_x86(uint8_t *src, uint8_t *dst, uint16_t *line_ant, | ||
| 31 | uint16_t *frame_ant, ptrdiff_t w, int16_t *spatial, | ||
| 32 | int16_t *temporal); | ||
| 33 | void ff_hqdn3d_row_10_x86(uint8_t *src, uint8_t *dst, uint16_t *line_ant, | ||
| 34 | uint16_t *frame_ant, ptrdiff_t w, int16_t *spatial, | ||
| 35 | int16_t *temporal); | ||
| 36 | void ff_hqdn3d_row_16_x86(uint8_t *src, uint8_t *dst, uint16_t *line_ant, | ||
| 37 | uint16_t *frame_ant, ptrdiff_t w, int16_t *spatial, | ||
| 38 | int16_t *temporal); | ||
| 39 | |||
| 40 | 2 | av_cold void ff_hqdn3d_init_x86(HQDN3DContext *hqdn3d) | |
| 41 | { | ||
| 42 | 2 | hqdn3d->denoise_row[8] = ff_hqdn3d_row_8_x86; | |
| 43 | 2 | hqdn3d->denoise_row[9] = ff_hqdn3d_row_9_x86; | |
| 44 | 2 | hqdn3d->denoise_row[10] = ff_hqdn3d_row_10_x86; | |
| 45 | 2 | hqdn3d->denoise_row[16] = ff_hqdn3d_row_16_x86; | |
| 46 | 2 | } | |
| 47 |