Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6893b7a4
Commit
6893b7a4
authored
Oct 03, 2014
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Oct 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omxil: use convert_hevc_nal_units for hevc
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
5e19ce93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/codec/omxil/omxil.c
modules/codec/omxil/omxil.c
+10
-0
No files found.
modules/codec/omxil/omxil.c
View file @
6893b7a4
...
...
@@ -36,6 +36,7 @@
#include <vlc_block_helper.h>
#include <vlc_cpu.h>
#include "../h264_nal.h"
#include "../hevc_nal.h"
#include "omxil.h"
#include "omxil_core.h"
...
...
@@ -1195,6 +1196,15 @@ static int OpenGeneric( vlc_object_t *p_this, bool b_encode )
p_header
->
pBuffer
,
p_header
->
nAllocLen
,
(
uint32_t
*
)
&
p_header
->
nFilledLen
,
NULL
);
}
else
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_HEVC
&&
!
p_sys
->
in
.
b_direct
)
{
p_header
->
nFilledLen
=
0
;
convert_hevc_nal_units
(
p_dec
,
p_dec
->
fmt_in
.
p_extra
,
p_dec
->
fmt_in
.
i_extra
,
p_header
->
pBuffer
,
p_header
->
nAllocLen
,
(
uint32_t
*
)
&
p_header
->
nFilledLen
,
&
p_sys
->
i_nal_size_length
);
}
else
if
(
p_sys
->
in
.
b_direct
)
{
p_header
->
pOutputPortPrivate
=
p_header
->
pBuffer
;
...
...
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