Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
6b2e2587
Commit
6b2e2587
authored
Feb 06, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added non native float 32/64 to araw decoder.
parent
2f4e7076
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
modules/codec/araw.c
modules/codec/araw.c
+8
-4
No files found.
modules/codec/araw.c
View file @
6b2e2587
...
...
@@ -191,8 +191,10 @@ static int DecoderOpen( vlc_object_t *p_this )
case
VLC_CODEC_ALAW
:
case
VLC_CODEC_MULAW
:
case
VLC_CODEC_FL64
:
case
VLC_CODEC_FL32
:
case
VLC_CODEC_F64L
:
case
VLC_CODEC_F64B
:
case
VLC_CODEC_F32L
:
case
VLC_CODEC_F32B
:
case
VLC_CODEC_S32L
:
case
VLC_CODEC_S32B
:
case
VLC_CODEC_S24L
:
...
...
@@ -232,12 +234,14 @@ static int DecoderOpen( vlc_object_t *p_this )
p_dec
->
fmt_in
.
audio
.
i_rate
,
p_dec
->
fmt_in
.
audio
.
i_channels
,
p_dec
->
fmt_in
.
audio
.
i_bitspersample
);
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_FL64
)
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_F64L
||
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_F64B
)
{
p_dec
->
fmt_out
.
i_codec
=
p_dec
->
fmt_in
.
i_codec
;
p_dec
->
fmt_in
.
audio
.
i_bitspersample
=
64
;
}
else
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_FL32
)
else
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_F32L
||
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_F32B
)
{
p_dec
->
fmt_out
.
i_codec
=
p_dec
->
fmt_in
.
i_codec
;
p_dec
->
fmt_in
.
audio
.
i_bitspersample
=
32
;
...
...
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