Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
b78b10c4
Commit
b78b10c4
authored
Aug 20, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil: Move internal CPU detection function declarations to private header
parent
91d4cfb8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
5 deletions
+30
-5
cpu.c
libavutil/arm/cpu.c
+1
-0
cpu.c
libavutil/cpu.c
+1
-0
cpu.h
libavutil/cpu.h
+0
-5
cpu_internal.h
libavutil/cpu_internal.h
+26
-0
cpu.c
libavutil/ppc/cpu.c
+1
-0
cpu.c
libavutil/x86/cpu.c
+1
-0
No files found.
libavutil/arm/cpu.c
View file @
b78b10c4
...
...
@@ -17,6 +17,7 @@
*/
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"
#include "config.h"
#define CORE_FLAG(f) \
...
...
libavutil/cpu.c
View file @
b78b10c4
...
...
@@ -17,6 +17,7 @@
*/
#include "cpu.h"
#include "cpu_internal.h"
#include "config.h"
#include "opt.h"
#include "common.h"
...
...
libavutil/cpu.h
View file @
b78b10c4
...
...
@@ -81,9 +81,4 @@ int av_parse_cpu_flags(const char *s);
*/
int
av_cpu_count
(
void
);
/* The following CPU-specific functions shall not be called directly. */
int
ff_get_cpu_flags_arm
(
void
);
int
ff_get_cpu_flags_ppc
(
void
);
int
ff_get_cpu_flags_x86
(
void
);
#endif
/* AVUTIL_CPU_H */
libavutil/cpu_internal.h
0 → 100644
View file @
b78b10c4
/*
* 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 AVUTIL_CPU_INTERNAL_H
#define AVUTIL_CPU_INTERNAL_H
int
ff_get_cpu_flags_arm
(
void
);
int
ff_get_cpu_flags_ppc
(
void
);
int
ff_get_cpu_flags_x86
(
void
);
#endif
/* AVUTIL_CPU_INTERNAL_H */
libavutil/ppc/cpu.c
View file @
b78b10c4
...
...
@@ -29,6 +29,7 @@
#endif
/* __APPLE__ */
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"
#include "config.h"
/**
...
...
libavutil/x86/cpu.c
View file @
b78b10c4
...
...
@@ -26,6 +26,7 @@
#include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h"
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"
#if HAVE_YASM
...
...
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