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
4de8b606
Commit
4de8b606
authored
Feb 18, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
idct: Move arm-specific declarations to a header in the arm directory
parent
9f99a5f1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
22 deletions
+45
-22
idct.h
libavcodec/arm/idct.h
+40
-0
idctdsp_init_arm.c
libavcodec/arm/idctdsp_init_arm.c
+1
-3
idctdsp_init_armv5te.c
libavcodec/arm/idctdsp_init_armv5te.c
+1
-4
idctdsp_init_armv6.c
libavcodec/arm/idctdsp_init_armv6.c
+1
-4
idctdsp_init_neon.c
libavcodec/arm/idctdsp_init_neon.c
+1
-4
dct-test.c
libavcodec/dct-test.c
+1
-7
No files found.
libavcodec/arm/idct.h
0 → 100644
View file @
4de8b606
/*
* This file is part of Libav.
*
* Libav 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.
*
* Libav 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 Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVCODEC_ARM_IDCT_H
#define AVCODEC_ARM_IDCT_H
#include <stdint.h>
void
ff_j_rev_dct_arm
(
int16_t
*
data
);
void
ff_simple_idct_arm
(
int16_t
*
data
);
void
ff_simple_idct_armv5te
(
int16_t
*
data
);
void
ff_simple_idct_put_armv5te
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_add_armv5te
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_armv6
(
int16_t
*
data
);
void
ff_simple_idct_put_armv6
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_add_armv6
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_neon
(
int16_t
*
data
);
void
ff_simple_idct_put_neon
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_add_neon
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
#endif
/* AVCODEC_ARM_IDCT_H */
libavcodec/arm/idctdsp_init_arm.c
View file @
4de8b606
...
...
@@ -26,11 +26,9 @@
#include "libavutil/arm/cpu.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/idctdsp.h"
#include "idct.h"
#include "idctdsp_arm.h"
void
ff_j_rev_dct_arm
(
int16_t
*
data
);
void
ff_simple_idct_arm
(
int16_t
*
data
);
/* XXX: local hack */
static
void
(
*
ff_put_pixels_clamped
)(
const
int16_t
*
block
,
uint8_t
*
pixels
,
int
line_size
);
static
void
(
*
ff_add_pixels_clamped
)(
const
int16_t
*
block
,
uint8_t
*
pixels
,
int
line_size
);
...
...
libavcodec/arm/idctdsp_init_armv5te.c
View file @
4de8b606
...
...
@@ -23,12 +23,9 @@
#include "libavutil/attributes.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/idctdsp.h"
#include "idct.h"
#include "idctdsp_arm.h"
void
ff_simple_idct_armv5te
(
int16_t
*
data
);
void
ff_simple_idct_put_armv5te
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_add_armv5te
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
av_cold
void
ff_idctdsp_init_armv5te
(
IDCTDSPContext
*
c
,
AVCodecContext
*
avctx
,
unsigned
high_bit_depth
)
{
...
...
libavcodec/arm/idctdsp_init_armv6.c
View file @
4de8b606
...
...
@@ -23,12 +23,9 @@
#include "libavutil/attributes.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/idctdsp.h"
#include "idct.h"
#include "idctdsp_arm.h"
void
ff_simple_idct_armv6
(
int16_t
*
data
);
void
ff_simple_idct_put_armv6
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_add_armv6
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_add_pixels_clamped_armv6
(
const
int16_t
*
block
,
uint8_t
*
pixels
,
int
line_size
);
...
...
libavcodec/arm/idctdsp_init_neon.c
View file @
4de8b606
...
...
@@ -24,12 +24,9 @@
#include "libavutil/attributes.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/idctdsp.h"
#include "idct.h"
#include "idctdsp_arm.h"
void
ff_simple_idct_neon
(
int16_t
*
data
);
void
ff_simple_idct_put_neon
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_simple_idct_add_neon
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
data
);
void
ff_add_pixels_clamped_neon
(
const
int16_t
*
,
uint8_t
*
,
int
);
void
ff_put_pixels_clamped_neon
(
const
int16_t
*
,
uint8_t
*
,
int
);
void
ff_put_signed_pixels_clamped_neon
(
const
int16_t
*
,
uint8_t
*
,
int
);
...
...
libavcodec/dct-test.c
View file @
4de8b606
...
...
@@ -45,19 +45,13 @@
#include "aandcttab.h"
#include "faandct.h"
#include "faanidct.h"
#include "arm/idct.h"
#include "ppc/fdct.h"
#include "x86/fdct.h"
#include "x86/idct_xvid.h"
#include "x86/simple_idct.h"
#include "dctref.h"
// ARM
void
ff_j_rev_dct_arm
(
int16_t
*
data
);
void
ff_simple_idct_arm
(
int16_t
*
data
);
void
ff_simple_idct_armv5te
(
int16_t
*
data
);
void
ff_simple_idct_armv6
(
int16_t
*
data
);
void
ff_simple_idct_neon
(
int16_t
*
data
);
struct
algo
{
const
char
*
name
;
void
(
*
func
)(
int16_t
*
block
);
...
...
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