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
4b63bcef
Commit
4b63bcef
authored
Aug 08, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autodetect jpeg-ls files.
parent
0dcebb9f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
Makefile
libavformat/Makefile
+1
-0
allformats.c
libavformat/allformats.c
+1
-0
img2dec.c
libavformat/img2dec.c
+10
-0
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/Makefile
View file @
4b63bcef
...
...
@@ -192,6 +192,7 @@ OBJS-$(CONFIG_IMAGE_BMP_PIPE_DEMUXER) += img2dec.o img2.o
OBJS-$(CONFIG_IMAGE_DPX_PIPE_DEMUXER)
+=
img2dec.o
img2.o
OBJS-$(CONFIG_IMAGE_EXR_PIPE_DEMUXER)
+=
img2dec.o
img2.o
OBJS-$(CONFIG_IMAGE_J2K_PIPE_DEMUXER)
+=
img2dec.o
img2.o
OBJS-$(CONFIG_IMAGE_JPEGLS_PIPE_DEMUXER)
+=
img2dec.o
img2.o
OBJS-$(CONFIG_IMAGE_PICTOR_PIPE_DEMUXER)
+=
img2dec.o
img2.o
OBJS-$(CONFIG_IMAGE_PNG_PIPE_DEMUXER)
+=
img2dec.o
img2.o
OBJS-$(CONFIG_IMAGE_SGI_PIPE_DEMUXER)
+=
img2dec.o
img2.o
...
...
libavformat/allformats.c
View file @
4b63bcef
...
...
@@ -325,6 +325,7 @@ void av_register_all(void)
REGISTER_DEMUXER
(
IMAGE_DPX_PIPE
,
image_dpx_pipe
);
REGISTER_DEMUXER
(
IMAGE_EXR_PIPE
,
image_exr_pipe
);
REGISTER_DEMUXER
(
IMAGE_J2K_PIPE
,
image_j2k_pipe
);
REGISTER_DEMUXER
(
IMAGE_JPEGLS_PIPE
,
image_jpegls_pipe
);
REGISTER_DEMUXER
(
IMAGE_PICTOR_PIPE
,
image_pictor_pipe
);
REGISTER_DEMUXER
(
IMAGE_PNG_PIPE
,
image_png_pipe
);
REGISTER_DEMUXER
(
IMAGE_SGI_PIPE
,
image_sgi_pipe
);
...
...
libavformat/img2dec.c
View file @
4b63bcef
...
...
@@ -609,6 +609,15 @@ static int j2k_probe(AVProbeData *p)
return
0
;
}
static
int
jpegls_probe
(
AVProbeData
*
p
)
{
const
uint8_t
*
b
=
p
->
buf
;
if
(
AV_RB32
(
b
)
==
0xffd8fff7
)
return
AVPROBE_SCORE_EXTENSION
+
1
;
return
0
;
}
static
int
pictor_probe
(
AVProbeData
*
p
)
{
const
uint8_t
*
b
=
p
->
buf
;
...
...
@@ -690,6 +699,7 @@ IMAGEAUTO_DEMUXER(bmp, AV_CODEC_ID_BMP)
IMAGEAUTO_DEMUXER
(
dpx
,
AV_CODEC_ID_DPX
)
IMAGEAUTO_DEMUXER
(
exr
,
AV_CODEC_ID_EXR
)
IMAGEAUTO_DEMUXER
(
j2k
,
AV_CODEC_ID_JPEG2000
)
IMAGEAUTO_DEMUXER
(
jpegls
,
AV_CODEC_ID_JPEGLS
)
IMAGEAUTO_DEMUXER
(
pictor
,
AV_CODEC_ID_PICTOR
)
IMAGEAUTO_DEMUXER
(
png
,
AV_CODEC_ID_PNG
)
IMAGEAUTO_DEMUXER
(
sgi
,
AV_CODEC_ID_SGI
)
...
...
libavformat/version.h
View file @
4b63bcef
...
...
@@ -31,7 +31,7 @@
#define LIBAVFORMAT_VERSION_MAJOR 55
#define LIBAVFORMAT_VERSION_MINOR 5
4
#define LIBAVFORMAT_VERSION_MINOR 5
5
#define LIBAVFORMAT_VERSION_MICRO 100
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
...
...
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