Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
6d0d1c4a
Commit
6d0d1c4a
authored
Mar 27, 2017
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9: split out reconstruction functions in their own source file.
parent
b823bbc1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
3 deletions
+23
-3
Makefile
libavcodec/Makefile
+1
-1
vp9_mc_template.c
libavcodec/vp9_mc_template.c
+4
-2
vp9block.c
libavcodec/vp9block.c
+0
-0
vp9data.c
libavcodec/vp9data.c
+10
-0
vp9data.h
libavcodec/vp9data.h
+1
-0
vp9dec.h
libavcodec/vp9dec.h
+7
-0
vp9recon.c
libavcodec/vp9recon.c
+0
-0
No files found.
libavcodec/Makefile
View file @
6d0d1c4a
...
...
@@ -610,7 +610,7 @@ OBJS-$(CONFIG_VP8_DECODER) += vp8.o vp56rac.o
OBJS-$(CONFIG_VP8_CUVID_DECODER)
+=
cuvid.o
OBJS-$(CONFIG_VP8_MEDIACODEC_DECODER)
+=
mediacodecdec.o
OBJS-$(CONFIG_VP8_VAAPI_ENCODER)
+=
vaapi_encode_vp8.o
OBJS-$(CONFIG_VP9_DECODER)
+=
vp9.o
vp9data.o
vp9dsp.o
vp9lpf.o
\
OBJS-$(CONFIG_VP9_DECODER)
+=
vp9.o
vp9data.o
vp9dsp.o
vp9lpf.o
vp9recon.o
\
vp9block.o
vp9prob.o
vp9mvs.o
vp56rac.o
\
vp9dsp_8bpp.o
vp9dsp_10bpp.o
vp9dsp_12bpp.o
OBJS-$(CONFIG_VP9_CUVID_DECODER)
+=
cuvid.o
...
...
libavcodec/vp9_mc_template.c
View file @
6d0d1c4a
...
...
@@ -405,8 +405,10 @@ static void FN(inter_pred)(AVCodecContext *avctx)
}
}
else
{
int
bwl
=
bwlog_tab
[
0
][
b
->
bs
];
int
bw
=
bwh_tab
[
0
][
b
->
bs
][
0
]
*
4
,
bh
=
bwh_tab
[
0
][
b
->
bs
][
1
]
*
4
;
int
uvbw
=
bwh_tab
[
s
->
ss_h
][
b
->
bs
][
0
]
*
4
,
uvbh
=
bwh_tab
[
s
->
ss_v
][
b
->
bs
][
1
]
*
4
;
int
bw
=
ff_vp9_bwh_tab
[
0
][
b
->
bs
][
0
]
*
4
;
int
bh
=
ff_vp9_bwh_tab
[
0
][
b
->
bs
][
1
]
*
4
;
int
uvbw
=
ff_vp9_bwh_tab
[
s
->
ss_h
][
b
->
bs
][
0
]
*
4
;
int
uvbh
=
ff_vp9_bwh_tab
[
s
->
ss_v
][
b
->
bs
][
1
]
*
4
;
mc_luma_dir
(
s
,
mc
[
bwl
][
b
->
filter
][
0
],
s
->
dst
[
0
],
ls_y
,
ref1
->
data
[
0
],
ref1
->
linesize
[
0
],
tref1
,
...
...
libavcodec/vp9block.c
View file @
6d0d1c4a
This diff is collapsed.
Click to expand it.
libavcodec/vp9data.c
View file @
6d0d1c4a
...
...
@@ -22,6 +22,16 @@
#include "vp9.h"
#include "vp9data.h"
const
uint8_t
ff_vp9_bwh_tab
[
2
][
N_BS_SIZES
][
2
]
=
{
{
{
16
,
16
},
{
16
,
8
},
{
8
,
16
},
{
8
,
8
},
{
8
,
4
},
{
4
,
8
},
{
4
,
4
},
{
4
,
2
},
{
2
,
4
},
{
2
,
2
},
{
2
,
1
},
{
1
,
2
},
{
1
,
1
},
},
{
{
8
,
8
},
{
8
,
4
},
{
4
,
8
},
{
4
,
4
},
{
4
,
2
},
{
2
,
4
},
{
2
,
2
},
{
2
,
1
},
{
1
,
2
},
{
1
,
1
},
{
1
,
1
},
{
1
,
1
},
{
1
,
1
},
}
};
const
int8_t
ff_vp9_partition_tree
[
3
][
2
]
=
{
{
-
PARTITION_NONE
,
1
},
// '0'
{
-
PARTITION_H
,
2
},
// '10'
...
...
libavcodec/vp9data.h
View file @
6d0d1c4a
...
...
@@ -26,6 +26,7 @@
#include "vp9dec.h"
extern
const
uint8_t
ff_vp9_bwh_tab
[
2
][
N_BS_SIZES
][
2
];
extern
const
int8_t
ff_vp9_partition_tree
[
3
][
2
];
extern
const
uint8_t
ff_vp9_default_kf_partition_probs
[
4
][
4
][
3
];
extern
const
int8_t
ff_vp9_segmentation_tree
[
7
][
2
];
...
...
libavcodec/vp9dec.h
View file @
6d0d1c4a
...
...
@@ -206,4 +206,11 @@ void ff_vp9_decode_block(AVCodecContext *ctx, int row, int col,
void
ff_vp9_loopfilter_sb
(
AVCodecContext
*
avctx
,
VP9Filter
*
lflvl
,
int
row
,
int
col
,
ptrdiff_t
yoff
,
ptrdiff_t
uvoff
);
void
ff_vp9_intra_recon_8bpp
(
AVCodecContext
*
avctx
,
ptrdiff_t
y_off
,
ptrdiff_t
uv_off
);
void
ff_vp9_intra_recon_16bpp
(
AVCodecContext
*
avctx
,
ptrdiff_t
y_off
,
ptrdiff_t
uv_off
);
void
ff_vp9_inter_recon_8bpp
(
AVCodecContext
*
avctx
);
void
ff_vp9_inter_recon_16bpp
(
AVCodecContext
*
avctx
);
#endif
/* AVCODEC_VP9DEC_H */
libavcodec/vp9recon.c
0 → 100644
View file @
6d0d1c4a
This diff is collapsed.
Click to expand it.
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