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
85cabb8d
Commit
85cabb8d
authored
Feb 18, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fdct: Move x86-specific declarations to a header in the x86 directory
parent
d6e1d371
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
6 deletions
+32
-6
dct-test.c
libavcodec/dct-test.c
+1
-0
dct.h
libavcodec/dct.h
+0
-4
fdct.c
libavcodec/x86/fdct.c
+1
-1
fdct.h
libavcodec/x86/fdct.h
+28
-0
fdctdsp_init.c
libavcodec/x86/fdctdsp_init.c
+1
-1
mpegvideoenc_template.c
libavcodec/x86/mpegvideoenc_template.c
+1
-0
No files found.
libavcodec/dct-test.c
View file @
85cabb8d
...
...
@@ -45,6 +45,7 @@
#include "aandcttab.h"
#include "faandct.h"
#include "faanidct.h"
#include "x86/fdct.h"
#include "x86/idct_xvid.h"
#include "dctref.h"
...
...
libavcodec/dct.h
View file @
85cabb8d
...
...
@@ -60,8 +60,4 @@ void ff_fdct248_islow_10(int16_t *data);
void
ff_j_rev_dct
(
int16_t
*
data
);
void
ff_fdct_mmx
(
int16_t
*
block
);
void
ff_fdct_mmxext
(
int16_t
*
block
);
void
ff_fdct_sse2
(
int16_t
*
block
);
#endif
/* AVCODEC_DCT_H */
libavcodec/x86/fdct.c
View file @
85cabb8d
...
...
@@ -32,7 +32,7 @@
#include "libavutil/common.h"
#include "libavutil/x86/asm.h"
#include "
libavcodec/
dct.h"
#include "
f
dct.h"
#if HAVE_MMX_INLINE
...
...
libavcodec/x86/fdct.h
0 → 100644
View file @
85cabb8d
/*
* 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_FDCT_H
#define AVCODEC_X86_FDCT_H
#include <stdint.h>
void
ff_fdct_mmx
(
int16_t
*
block
);
void
ff_fdct_mmxext
(
int16_t
*
block
);
void
ff_fdct_sse2
(
int16_t
*
block
);
#endif
/* AVCODEC_X86_FDCT_H */
libavcodec/x86/fdctdsp_init.c
View file @
85cabb8d
...
...
@@ -20,8 +20,8 @@
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dct.h"
#include "libavcodec/fdctdsp.h"
#include "fdct.h"
av_cold
void
ff_fdctdsp_init_x86
(
FDCTDSPContext
*
c
,
AVCodecContext
*
avctx
,
unsigned
high_bit_depth
)
...
...
libavcodec/x86/mpegvideoenc_template.c
View file @
85cabb8d
...
...
@@ -25,6 +25,7 @@
#include "libavutil/internal.h"
#include "libavutil/x86/asm.h"
#include "libavcodec/mpegvideo.h"
#include "fdct.h"
#undef MMREG_WIDTH
#undef MM
...
...
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