aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin/pixels.h
blob: 78a714e1a5574f25b256bb3c62ef55dfdc876b48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * BlackFin DSPUTILS COMMON OPTIMIZATIONS HEADER
 *
 * Copyright (C) 2007 Marc Hoffman <mmh@pleasantst.com>
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser 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
 */

#ifndef AVCODEC_BFIN_PIXELS_H
#define AVCODEC_BFIN_PIXELS_H

#include <stdint.h>

#include "libavutil/bfin/attributes.h"

void ff_bfin_z_put_pixels16_xy2(uint8_t *block, const uint8_t *s0,
                                int dest_size, int line_size, int h) attribute_l1_text;
void ff_bfin_z_put_pixels8_xy2(uint8_t *block, const uint8_t *s0,
                               int dest_size, int line_size, int h) attribute_l1_text;

void ff_bfin_put_pixels8uc(uint8_t *block, const uint8_t *s0,
                           const uint8_t *s1, int dest_size, int line_size,
                           int h) attribute_l1_text;
void ff_bfin_put_pixels16uc(uint8_t *block, const uint8_t *s0,
                            const uint8_t *s1, int dest_size, int line_size,
                            int h) attribute_l1_text;

#endif /* AVCODEC_BFIN_PIXELS_H */