Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
b5203427
Commit
b5203427
authored
Sep 19, 2022
by
Rémi Denis-Courmont
Committed by
James Almer
Sep 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/vorbisdsp: use ptrdiff_t rather than intptr_t
... for a difference between pointers.
parent
bbf045aa
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
vorbisdsp_init.c
libavcodec/aarch64/vorbisdsp_init.c
+1
-1
vorbisdsp_init_arm.c
libavcodec/arm/vorbisdsp_init_arm.c
+1
-1
vorbisdsp_altivec.c
libavcodec/ppc/vorbisdsp_altivec.c
+1
-1
vorbis.h
libavcodec/vorbis.h
+1
-1
vorbisdec.c
libavcodec/vorbisdec.c
+1
-1
vorbisdsp.h
libavcodec/vorbisdsp.h
+2
-2
vorbisdsp_init.c
libavcodec/x86/vorbisdsp_init.c
+1
-1
No files found.
libavcodec/aarch64/vorbisdsp_init.c
View file @
b5203427
...
...
@@ -22,7 +22,7 @@
#include "libavcodec/vorbisdsp.h"
void
ff_vorbis_inverse_coupling_neon
(
float
*
mag
,
float
*
ang
,
intptr
_t
blocksize
);
ptrdiff
_t
blocksize
);
av_cold
void
ff_vorbisdsp_init_aarch64
(
VorbisDSPContext
*
c
)
{
...
...
libavcodec/arm/vorbisdsp_init_arm.c
View file @
b5203427
...
...
@@ -25,7 +25,7 @@
#include "libavcodec/vorbisdsp.h"
void
ff_vorbis_inverse_coupling_neon
(
float
*
mag
,
float
*
ang
,
intptr
_t
blocksize
);
ptrdiff
_t
blocksize
);
av_cold
void
ff_vorbisdsp_init_arm
(
VorbisDSPContext
*
c
)
{
...
...
libavcodec/ppc/vorbisdsp_altivec.c
View file @
b5203427
...
...
@@ -29,7 +29,7 @@
#if HAVE_ALTIVEC
static
void
vorbis_inverse_coupling_altivec
(
float
*
mag
,
float
*
ang
,
intptr
_t
blocksize
)
ptrdiff
_t
blocksize
)
{
vector
float
m
,
a
;
vector
bool
int
t0
,
t1
;
...
...
libavcodec/vorbis.h
View file @
b5203427
...
...
@@ -45,7 +45,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num);
void
ff_vorbis_floor1_render_list
(
vorbis_floor1_entry
*
list
,
int
values
,
uint16_t
*
y_list
,
int
*
flag
,
int
multiplier
,
float
*
out
,
int
samples
);
void
ff_vorbis_inverse_coupling
(
float
*
mag
,
float
*
ang
,
intptr
_t
blocksize
);
void
ff_vorbis_inverse_coupling
(
float
*
mag
,
float
*
ang
,
ptrdiff
_t
blocksize
);
#define ilog(i) av_log2(2*(i))
...
...
libavcodec/vorbisdec.c
View file @
b5203427
...
...
@@ -1579,7 +1579,7 @@ static inline int vorbis_residue_decode(vorbis_context *vc, vorbis_residue *vr,
}
}
void
ff_vorbis_inverse_coupling
(
float
*
mag
,
float
*
ang
,
intptr
_t
blocksize
)
void
ff_vorbis_inverse_coupling
(
float
*
mag
,
float
*
ang
,
ptrdiff
_t
blocksize
)
{
for
(
ptrdiff_t
i
=
0
;
i
<
blocksize
;
i
++
)
{
if
(
mag
[
i
]
>
0
.
0
)
{
...
...
libavcodec/vorbisdsp.h
View file @
b5203427
...
...
@@ -19,12 +19,12 @@
#ifndef AVCODEC_VORBISDSP_H
#define AVCODEC_VORBISDSP_H
#include <std
int
.h>
#include <std
def
.h>
typedef
struct
VorbisDSPContext
{
/* assume len is a multiple of 4, and arrays are 16-byte aligned */
void
(
*
vorbis_inverse_coupling
)(
float
*
mag
,
float
*
ang
,
intptr
_t
blocksize
);
ptrdiff
_t
blocksize
);
}
VorbisDSPContext
;
void
ff_vorbisdsp_init
(
VorbisDSPContext
*
dsp
);
...
...
libavcodec/x86/vorbisdsp_init.c
View file @
b5203427
...
...
@@ -25,7 +25,7 @@
#include "libavcodec/vorbisdsp.h"
void
ff_vorbis_inverse_coupling_sse
(
float
*
mag
,
float
*
ang
,
intptr
_t
blocksize
);
ptrdiff
_t
blocksize
);
av_cold
void
ff_vorbisdsp_init_x86
(
VorbisDSPContext
*
dsp
)
{
...
...
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