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
5dcc2015
Commit
5dcc2015
authored
Feb 18, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simple_idct: Move x86-specific declarations to a header in the x86 directory
parent
85cabb8d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
6 deletions
+32
-6
dct-test.c
libavcodec/dct-test.c
+1
-0
simple_idct.h
libavcodec/simple_idct.h
+0
-4
idctdsp_init.c
libavcodec/x86/idctdsp_init.c
+1
-1
simple_idct.c
libavcodec/x86/simple_idct.c
+2
-1
simple_idct.h
libavcodec/x86/simple_idct.h
+28
-0
No files found.
libavcodec/dct-test.c
View file @
5dcc2015
...
...
@@ -47,6 +47,7 @@
#include "faanidct.h"
#include "x86/fdct.h"
#include "x86/idct_xvid.h"
#include "x86/simple_idct.h"
#include "dctref.h"
// ALTIVEC
...
...
libavcodec/simple_idct.h
View file @
5dcc2015
...
...
@@ -44,10 +44,6 @@ void ff_simple_idct_10(int16_t *block);
*/
void
ff_prores_idct
(
int16_t
*
block
,
const
int16_t
*
qmat
);
void
ff_simple_idct_mmx
(
int16_t
*
block
);
void
ff_simple_idct_add_mmx
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
ff_simple_idct_put_mmx
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
ff_simple_idct248_put
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
ff_simple_idct84_add
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
...
...
libavcodec/x86/idctdsp_init.c
View file @
5dcc2015
...
...
@@ -22,9 +22,9 @@
#include "libavutil/x86/cpu.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/idctdsp.h"
#include "libavcodec/simple_idct.h"
#include "idct_xvid.h"
#include "idctdsp.h"
#include "simple_idct.h"
/* Input permutation for the simple_idct_mmx */
static
const
uint8_t
simple_mmx_permutation
[
64
]
=
{
...
...
libavcodec/x86/simple_idct.c
View file @
5dcc2015
...
...
@@ -19,11 +19,12 @@
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavcodec/simple_idct.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/x86/asm.h"
#include "idctdsp.h"
#include "simple_idct.h"
#if HAVE_INLINE_ASM
...
...
libavcodec/x86/simple_idct.h
0 → 100644
View file @
5dcc2015
/*
* 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_X86_SIMPLE_IDCT_H
#define AVCODEC_X86_SIMPLE_IDCT_H
#include <stdint.h>
void
ff_simple_idct_mmx
(
int16_t
*
block
);
void
ff_simple_idct_add_mmx
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
void
ff_simple_idct_put_mmx
(
uint8_t
*
dest
,
int
line_size
,
int16_t
*
block
);
#endif
/* AVCODEC_X86_SIMPLE_IDCT_H */
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