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
43171886
Commit
43171886
authored
Apr 06, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huffyuvenc: Mark codec as init-thread-safe and init-cleanup
parent
d90133b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
huffyuvenc.c
libavcodec/huffyuvenc.c
+5
-0
No files found.
libavcodec/huffyuvenc.c
View file @
43171886
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include "huffyuv.h"
#include "huffyuv.h"
#include "huffman.h"
#include "huffman.h"
#include "huffyuvencdsp.h"
#include "huffyuvencdsp.h"
#include "internal.h"
#include "put_bits.h"
#include "put_bits.h"
static
inline
int
sub_left_prediction
(
HYuvContext
*
s
,
uint8_t
*
dst
,
static
inline
int
sub_left_prediction
(
HYuvContext
*
s
,
uint8_t
*
dst
,
...
@@ -697,6 +698,8 @@ AVCodec ff_huffyuv_encoder = {
...
@@ -697,6 +698,8 @@ AVCodec ff_huffyuv_encoder = {
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_RGB24
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_RGB24
,
AV_PIX_FMT_RGB32
,
AV_PIX_FMT_NONE
AV_PIX_FMT_RGB32
,
AV_PIX_FMT_NONE
},
},
.
caps_internal
=
FF_CODEC_CAP_INIT_THREADSAFE
|
FF_CODEC_CAP_INIT_CLEANUP
,
};
};
#if CONFIG_FFVHUFF_ENCODER
#if CONFIG_FFVHUFF_ENCODER
...
@@ -713,5 +716,7 @@ AVCodec ff_ffvhuff_encoder = {
...
@@ -713,5 +716,7 @@ AVCodec ff_ffvhuff_encoder = {
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_RGB24
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_RGB24
,
AV_PIX_FMT_RGB32
,
AV_PIX_FMT_NONE
AV_PIX_FMT_RGB32
,
AV_PIX_FMT_NONE
},
},
.
caps_internal
=
FF_CODEC_CAP_INIT_THREADSAFE
|
FF_CODEC_CAP_INIT_CLEANUP
,
};
};
#endif
#endif
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