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
1a265f61
Commit
1a265f61
authored
Feb 02, 2012
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prores encoder
parent
8835c2c8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
861 additions
and
3 deletions
+861
-3
Changelog
Changelog
+1
-0
general.texi
doc/general.texi
+1
-1
Makefile
libavcodec/Makefile
+1
-0
allcodecs.c
libavcodec/allcodecs.c
+1
-1
proresdsp.c
libavcodec/proresdsp.c
+17
-0
proresdsp.h
libavcodec/proresdsp.h
+3
-0
proresenc.c
libavcodec/proresenc.c
+836
-0
version.h
libavcodec/version.h
+1
-1
No files found.
Changelog
View file @
1a265f61
...
...
@@ -7,6 +7,7 @@ version <next>:
- Support for fragmentation in the mov/mp4 muxer
- ISMV (Smooth Streaming) muxer
- CDXL demuxer and decoder
- Apple ProRes encoder
version 0.8:
...
...
doc/general.texi
View file @
1a265f61
...
...
@@ -406,7 +406,7 @@ following image formats are supported:
@tab Used in Chinese MP3 players.
@item ANSI/ASCII art @tab @tab X
@item Apple MJPEG-B @tab @tab X
@item Apple ProRes @tab
@tab X
@item Apple ProRes @tab
X
@tab X
@item Apple QuickDraw @tab @tab X
@tab fourcc: qdrw
@item Asus v1 @tab X @tab X
...
...
libavcodec/Makefile
View file @
1a265f61
...
...
@@ -302,6 +302,7 @@ OBJS-$(CONFIG_PNG_ENCODER) += png.o pngenc.o
OBJS-$(CONFIG_PPM_DECODER)
+=
pnmdec.o
pnm.o
OBJS-$(CONFIG_PPM_ENCODER)
+=
pnmenc.o
pnm.o
OBJS-$(CONFIG_PRORES_DECODER)
+=
proresdec.o
proresdata.o
proresdsp.o
OBJS-$(CONFIG_PRORES_ENCODER)
+=
proresenc.o
proresdata.o
proresdsp.o
OBJS-$(CONFIG_PTX_DECODER)
+=
ptx.o
OBJS-$(CONFIG_QCELP_DECODER)
+=
qcelpdec.o
celp_math.o
\
celp_filters.o
acelp_vectors.o
\
...
...
libavcodec/allcodecs.c
View file @
1a265f61
...
...
@@ -168,7 +168,7 @@ void avcodec_register_all(void)
REGISTER_DECODER
(
PICTOR
,
pictor
);
REGISTER_ENCDEC
(
PNG
,
png
);
REGISTER_ENCDEC
(
PPM
,
ppm
);
REGISTER_
DECODER
(
PRORES
,
prores
);
REGISTER_
ENCDEC
(
PRORES
,
prores
);
REGISTER_DECODER
(
PTX
,
ptx
);
REGISTER_DECODER
(
QDRAW
,
qdraw
);
REGISTER_DECODER
(
QPEG
,
qpeg
);
...
...
libavcodec/proresdsp.c
View file @
1a265f61
...
...
@@ -51,13 +51,30 @@ static void prores_idct_put_c(uint16_t *out, int linesize, DCTELEM *block, const
put_pixels
(
out
,
linesize
>>
1
,
block
);
}
static
void
prores_fdct_c
(
const
uint16_t
*
src
,
int
linesize
,
DCTELEM
*
block
)
{
int
x
,
y
;
const
uint16_t
*
tsrc
=
src
;
for
(
y
=
0
;
y
<
8
;
y
++
)
{
for
(
x
=
0
;
x
<
8
;
x
++
)
block
[
y
*
8
+
x
]
=
tsrc
[
x
];
tsrc
+=
linesize
>>
1
;
}
ff_jpeg_fdct_islow_10
(
block
);
}
void
ff_proresdsp_init
(
ProresDSPContext
*
dsp
)
{
dsp
->
idct_put
=
prores_idct_put_c
;
dsp
->
idct_permutation_type
=
FF_NO_IDCT_PERM
;
dsp
->
fdct
=
prores_fdct_c
;
dsp
->
dct_permutation_type
=
FF_NO_IDCT_PERM
;
if
(
HAVE_MMX
)
ff_proresdsp_x86_init
(
dsp
);
ff_init_scantable_permutation
(
dsp
->
idct_permutation
,
dsp
->
idct_permutation_type
);
ff_init_scantable_permutation
(
dsp
->
dct_permutation
,
dsp
->
dct_permutation_type
);
}
libavcodec/proresdsp.h
View file @
1a265f61
...
...
@@ -30,7 +30,10 @@
typedef
struct
{
int
idct_permutation_type
;
uint8_t
idct_permutation
[
64
];
int
dct_permutation_type
;
uint8_t
dct_permutation
[
64
];
void
(
*
idct_put
)
(
uint16_t
*
out
,
int
linesize
,
DCTELEM
*
block
,
const
int16_t
*
qmat
);
void
(
*
fdct
)
(
const
uint16_t
*
src
,
int
linesize
,
DCTELEM
*
block
);
}
ProresDSPContext
;
void
ff_proresdsp_init
(
ProresDSPContext
*
dsp
);
...
...
libavcodec/proresenc.c
0 → 100644
View file @
1a265f61
This diff is collapsed.
Click to expand it.
libavcodec/version.h
View file @
1a265f61
...
...
@@ -21,7 +21,7 @@
#define AVCODEC_VERSION_H
#define LIBAVCODEC_VERSION_MAJOR 54
#define LIBAVCODEC_VERSION_MINOR
1
#define LIBAVCODEC_VERSION_MINOR
2
#define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_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