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
6d09d6ed
Commit
6d09d6ed
authored
Dec 19, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/magicyuv: add 10 bit support
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
bec8ea20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
286 additions
and
39 deletions
+286
-39
configure
configure
+1
-1
magicyuv.c
libavcodec/magicyuv.c
+276
-37
lossless_videodsp_init.c
libavcodec/x86/lossless_videodsp_init.c
+1
-1
isom.c
libavformat/isom.c
+4
-0
riff.c
libavformat/riff.c
+4
-0
No files found.
configure
View file @
6d09d6ed
...
...
@@ -2441,7 +2441,7 @@ jv_decoder_select="blockdsp"
lagarith_decoder_select
=
"huffyuvdsp"
ljpeg_encoder_select
=
"aandcttables idctdsp jpegtables"
loco_decoder_select
=
"golomb"
magicyuv_decoder_select
=
"huffyuvdsp"
magicyuv_decoder_select
=
"huffyuvdsp
llviddsp
"
mdec_decoder_select
=
"blockdsp idctdsp mpegvideo"
metasound_decoder_select
=
"lsp mdct sinewin"
mimic_decoder_select
=
"blockdsp bswapdsp hpeldsp idctdsp"
...
...
libavcodec/magicyuv.c
View file @
6d09d6ed
This diff is collapsed.
Click to expand it.
libavcodec/x86/lossless_videodsp_init.c
View file @
6d09d6ed
...
...
@@ -42,7 +42,7 @@ void ff_llviddsp_init_x86(LLVidDSPContext *c, AVCodecContext *avctx)
c
->
diff_int16
=
ff_diff_int16_mmx
;
}
if
(
EXTERNAL_MMXEXT
(
cpu_flags
)
&&
pix_desc
->
comp
[
0
].
depth
<
16
)
{
if
(
EXTERNAL_MMXEXT
(
cpu_flags
)
&&
pix_desc
&&
pix_desc
->
comp
[
0
].
depth
<
16
)
{
c
->
add_hfyu_median_pred_int16
=
ff_add_hfyu_median_pred_int16_mmxext
;
c
->
sub_hfyu_median_pred_int16
=
ff_sub_hfyu_median_pred_int16_mmxext
;
}
...
...
libavformat/isom.c
View file @
6d09d6ed
...
...
@@ -275,6 +275,10 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{
AV_CODEC_ID_DXV
,
MKTAG
(
'D'
,
'X'
,
'D'
,
'3'
)
},
{
AV_CODEC_ID_DXV
,
MKTAG
(
'D'
,
'X'
,
'D'
,
'I'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'0'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'A'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'G'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'Y'
,
'2'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'8'
,
'R'
,
'G'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'8'
,
'R'
,
'A'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'8'
,
'G'
,
'0'
)
},
...
...
libavformat/riff.c
View file @
6d09d6ed
...
...
@@ -428,6 +428,10 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{
AV_CODEC_ID_M101
,
MKTAG
(
'M'
,
'1'
,
'0'
,
'1'
)
},
{
AV_CODEC_ID_M101
,
MKTAG
(
'M'
,
'1'
,
'0'
,
'2'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'A'
,
'G'
,
'Y'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'A'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'R'
,
'G'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'G'
,
'0'
)
},
{
AV_CODEC_ID_MAGICYUV
,
MKTAG
(
'M'
,
'0'
,
'Y'
,
'2'
)
},
{
AV_CODEC_ID_YLC
,
MKTAG
(
'Y'
,
'L'
,
'C'
,
'0'
)
},
{
AV_CODEC_ID_NONE
,
0
}
...
...
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