Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
e9e608ad
Commit
e9e608ad
authored
Mar 10, 2013
by
Ronald S. Bultje
Committed by
Michael Niedermayer
Mar 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move bfin half-pel assembly from dsputil to hpeldsp.
parent
de99545f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
552 additions
and
466 deletions
+552
-466
Makefile
libavcodec/bfin/Makefile
+2
-0
dsputil_bfin.c
libavcodec/bfin/dsputil_bfin.c
+0
-95
dsputil_bfin.h
libavcodec/bfin/dsputil_bfin.h
+0
-11
hpel_pixels_bfin.S
libavcodec/bfin/hpel_pixels_bfin.S
+379
-0
hpeldsp_bfin.c
libavcodec/bfin/hpeldsp_bfin.c
+119
-0
hpeldsp_bfin.h
libavcodec/bfin/hpeldsp_bfin.h
+50
-0
pixels_bfin.S
libavcodec/bfin/pixels_bfin.S
+1
-359
hpeldsp.c
libavcodec/hpeldsp.c
+1
-1
No files found.
libavcodec/bfin/Makefile
View file @
e9e608ad
...
@@ -3,6 +3,8 @@ OBJS += bfin/dsputil_bfin.o \
...
@@ -3,6 +3,8 @@ OBJS += bfin/dsputil_bfin.o \
bfin/idct_bfin.o
\
bfin/idct_bfin.o
\
bfin/pixels_bfin.o
\
bfin/pixels_bfin.o
\
OBJS-$(CONFIG_HPELDS)
+=
bfin/hpeldsp_bfin.o
\
bfin/hpel_pixels_bfin.o
OBJS-$(CONFIG_MPEGVIDEOENC)
+=
bfin/mpegvideo_bfin.o
OBJS-$(CONFIG_MPEGVIDEOENC)
+=
bfin/mpegvideo_bfin.o
OBJS-$(CONFIG_VP3DSP)
+=
bfin/vp3_bfin.o
\
OBJS-$(CONFIG_VP3DSP)
+=
bfin/vp3_bfin.o
\
bfin/vp3_idct_bfin.o
bfin/vp3_idct_bfin.o
libavcodec/bfin/dsputil_bfin.c
View file @
e9e608ad
...
@@ -54,79 +54,6 @@ static void bfin_clear_blocks (int16_t *blocks)
...
@@ -54,79 +54,6 @@ static void bfin_clear_blocks (int16_t *blocks)
::
"a"
(
blocks
)
:
"P0"
,
"I0"
,
"R0"
);
::
"a"
(
blocks
)
:
"P0"
,
"I0"
,
"R0"
);
}
}
static
void
bfin_put_pixels8
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc
(
block
,
pixels
,
pixels
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_x2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc
(
block
,
pixels
,
pixels
+
1
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_y2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_z_put_pixels8_xy2
(
block
,
s0
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc
(
block
,
pixels
,
pixels
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_x2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc
(
block
,
pixels
,
pixels
+
1
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_y2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_z_put_pixels16_xy2
(
block
,
s0
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc_nornd
(
block
,
pixels
,
pixels
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_x2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc_nornd
(
block
,
pixels
,
pixels
+
1
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_y2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc_nornd
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc_nornd
(
block
,
pixels
,
pixels
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_x2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc_nornd
(
block
,
pixels
,
pixels
+
1
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_y2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc_nornd
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
h
);
}
static
int
bfin_pix_abs16
(
void
*
c
,
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
line_size
,
int
h
)
static
int
bfin_pix_abs16
(
void
*
c
,
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
line_size
,
int
h
)
{
{
return
ff_bfin_z_sad16x16
(
blk1
,
blk2
,
line_size
,
line_size
,
h
);
return
ff_bfin_z_sad16x16
(
blk1
,
blk2
,
line_size
,
line_size
,
h
);
...
@@ -232,28 +159,6 @@ av_cold void ff_dsputil_init_bfin(DSPContext *c, AVCodecContext *avctx)
...
@@ -232,28 +159,6 @@ av_cold void ff_dsputil_init_bfin(DSPContext *c, AVCodecContext *avctx)
c
->
sse
[
1
]
=
ff_bfin_sse8
;
c
->
sse
[
1
]
=
ff_bfin_sse8
;
c
->
sse
[
2
]
=
ff_bfin_sse4
;
c
->
sse
[
2
]
=
ff_bfin_sse4
;
if
(
!
high_bit_depth
)
{
c
->
put_pixels_tab
[
0
][
0
]
=
bfin_put_pixels16
;
c
->
put_pixels_tab
[
0
][
1
]
=
bfin_put_pixels16_x2
;
c
->
put_pixels_tab
[
0
][
2
]
=
bfin_put_pixels16_y2
;
c
->
put_pixels_tab
[
0
][
3
]
=
bfin_put_pixels16_xy2
;
c
->
put_pixels_tab
[
1
][
0
]
=
bfin_put_pixels8
;
c
->
put_pixels_tab
[
1
][
1
]
=
bfin_put_pixels8_x2
;
c
->
put_pixels_tab
[
1
][
2
]
=
bfin_put_pixels8_y2
;
c
->
put_pixels_tab
[
1
][
3
]
=
bfin_put_pixels8_xy2
;
c
->
put_no_rnd_pixels_tab
[
1
][
0
]
=
bfin_put_pixels8_nornd
;
c
->
put_no_rnd_pixels_tab
[
1
][
1
]
=
bfin_put_pixels8_x2_nornd
;
c
->
put_no_rnd_pixels_tab
[
1
][
2
]
=
bfin_put_pixels8_y2_nornd
;
/* c->put_no_rnd_pixels_tab[1][3] = ff_bfin_put_pixels8_xy2_nornd; */
c
->
put_no_rnd_pixels_tab
[
0
][
0
]
=
bfin_put_pixels16_nornd
;
c
->
put_no_rnd_pixels_tab
[
0
][
1
]
=
bfin_put_pixels16_x2_nornd
;
c
->
put_no_rnd_pixels_tab
[
0
][
2
]
=
bfin_put_pixels16_y2_nornd
;
/* c->put_no_rnd_pixels_tab[0][3] = ff_bfin_put_pixels16_xy2_nornd; */
}
if
(
avctx
->
bits_per_raw_sample
<=
8
)
{
if
(
avctx
->
bits_per_raw_sample
<=
8
)
{
if
(
avctx
->
dct_algo
==
FF_DCT_AUTO
)
if
(
avctx
->
dct_algo
==
FF_DCT_AUTO
)
c
->
fdct
=
ff_bfin_fdct
;
c
->
fdct
=
ff_bfin_fdct
;
...
...
libavcodec/bfin/dsputil_bfin.h
View file @
e9e608ad
...
@@ -46,19 +46,8 @@ int ff_bfin_pix_norm1 (uint8_t * pix, int line_size) attribute_l1_text;
...
@@ -46,19 +46,8 @@ int ff_bfin_pix_norm1 (uint8_t * pix, int line_size) attribute_l1_text;
int
ff_bfin_z_sad8x8
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_z_sad8x8
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_z_sad16x16
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_z_sad16x16
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
dsz
,
int
line_size
,
int
h
)
attribute_l1_text
;
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_pixels16_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels8_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_pix_sum
(
uint8_t
*
p
,
int
stride
)
attribute_l1_text
;
int
ff_bfin_pix_sum
(
uint8_t
*
p
,
int
stride
)
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
;
void
ff_bfin_put_pixels8uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels16uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse4
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse4
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse8
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse8
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse16
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
int
ff_bfin_sse16
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
attribute_l1_text
;
...
...
libavcodec/bfin/hpel_pixels_bfin.S
0 → 100644
View file @
e9e608ad
This diff is collapsed.
Click to expand it.
libavcodec/bfin/hpeldsp_bfin.c
0 → 100644
View file @
e9e608ad
/*
* BlackFin DSPUTILS
*
* Copyright (C) 2007 Marc Hoffman <marc.hoffman@analog.com>
* Copyright (c) 2006 Michael Benjamin <michael.benjamin@analog.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
*/
#include "libavcodec/hpeldsp.h"
#include "hpeldsp_bfin.h"
static
void
bfin_put_pixels8
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc
(
block
,
pixels
,
pixels
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_x2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc
(
block
,
pixels
,
pixels
+
1
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_y2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_z_put_pixels8_xy2
(
block
,
s0
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc
(
block
,
pixels
,
pixels
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_x2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc
(
block
,
pixels
,
pixels
+
1
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_y2
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_xy2
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_z_put_pixels16_xy2
(
block
,
s0
,
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc_nornd
(
block
,
pixels
,
pixels
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_x2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc_nornd
(
block
,
pixels
,
pixels
+
1
,
line_size
,
h
);
}
static
void
bfin_put_pixels8_y2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels8uc_nornd
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc_nornd
(
block
,
pixels
,
pixels
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_x2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc_nornd
(
block
,
pixels
,
pixels
+
1
,
line_size
,
h
);
}
static
void
bfin_put_pixels16_y2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
)
{
ff_bfin_put_pixels16uc_nornd
(
block
,
pixels
,
pixels
+
line_size
,
line_size
,
h
);
}
void
ff_hpeldsp_init_bfin
(
HpelDSPContext
*
c
,
int
flags
)
{
c
->
put_pixels_tab
[
0
][
0
]
=
bfin_put_pixels16
;
c
->
put_pixels_tab
[
0
][
1
]
=
bfin_put_pixels16_x2
;
c
->
put_pixels_tab
[
0
][
2
]
=
bfin_put_pixels16_y2
;
c
->
put_pixels_tab
[
0
][
3
]
=
bfin_put_pixels16_xy2
;
c
->
put_pixels_tab
[
1
][
0
]
=
bfin_put_pixels8
;
c
->
put_pixels_tab
[
1
][
1
]
=
bfin_put_pixels8_x2
;
c
->
put_pixels_tab
[
1
][
2
]
=
bfin_put_pixels8_y2
;
c
->
put_pixels_tab
[
1
][
3
]
=
bfin_put_pixels8_xy2
;
c
->
put_no_rnd_pixels_tab
[
1
][
0
]
=
bfin_put_pixels8_nornd
;
c
->
put_no_rnd_pixels_tab
[
1
][
1
]
=
bfin_put_pixels8_x2_nornd
;
c
->
put_no_rnd_pixels_tab
[
1
][
2
]
=
bfin_put_pixels8_y2_nornd
;
/* c->put_no_rnd_pixels_tab[1][3] = ff_bfin_put_pixels8_xy2_nornd; */
c
->
put_no_rnd_pixels_tab
[
0
][
0
]
=
bfin_put_pixels16_nornd
;
c
->
put_no_rnd_pixels_tab
[
0
][
1
]
=
bfin_put_pixels16_x2_nornd
;
c
->
put_no_rnd_pixels_tab
[
0
][
2
]
=
bfin_put_pixels16_y2_nornd
;
/* c->put_no_rnd_pixels_tab[0][3] = ff_bfin_put_pixels16_xy2_nornd; */
}
libavcodec/bfin/hpeldsp_bfin.h
0 → 100644
View file @
e9e608ad
/*
* 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_HPELDSP_BFIN_H
#define AVCODEC_BFIN_HPELDSP_BFIN_H
#include <stdint.h>
#include "config.h"
#if defined(__FDPIC__) && CONFIG_SRAM
#define attribute_l1_text __attribute__ ((l1_text))
#define attribute_l1_data_b __attribute__((l1_data_B))
#else
#define attribute_l1_text
#define attribute_l1_data_b
#endif
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_pixels16_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels8_xy2_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
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
;
void
ff_bfin_put_pixels8uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
void
ff_bfin_put_pixels16uc_nornd
(
uint8_t
*
block
,
const
uint8_t
*
s0
,
const
uint8_t
*
s1
,
int
line_size
,
int
h
)
attribute_l1_text
;
#endif
/* AVCODEC_BFIN_HPELDSP_BFIN_H */
libavcodec/bfin/pixels_bfin.S
View file @
e9e608ad
This diff is collapsed.
Click to expand it.
libavcodec/hpeldsp.c
View file @
e9e608ad
...
@@ -62,6 +62,6 @@ av_cold void ff_hpeldsp_init(HpelDSPContext* c, int flags)
...
@@ -62,6 +62,6 @@ av_cold void ff_hpeldsp_init(HpelDSPContext* c, int flags)
if
(
ARCH_PPC
)
ff_hpeldsp_init_ppc
(
c
,
flags
);
if
(
ARCH_PPC
)
ff_hpeldsp_init_ppc
(
c
,
flags
);
#if 0
#if 0
if (ARCH_SH4) ff_hpeldsp_init_sh4 (c, flags);
if (ARCH_SH4) ff_hpeldsp_init_sh4 (c, flags);
if (ARCH_BFIN) ff_hpeldsp_init_bfin (c, flags);
#endif
#endif
if
(
ARCH_BFIN
)
ff_hpeldsp_init_bfin
(
c
,
flags
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment