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
92500c7b
Commit
92500c7b
authored
Sep 28, 2017
by
Martin Vignali
Committed by
Tom Butterworth
Oct 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavcodec/texturedsp : indent after add rgtc1u_alpha func
Signed-off-by:
Tom Butterworth
<
bangnoise@gmail.com
>
parent
50a20de6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
texturedsp.c
libavcodec/texturedsp.c
+13
-13
texturedsp.h
libavcodec/texturedsp.h
+13
-13
No files found.
libavcodec/texturedsp.c
View file @
92500c7b
...
...
@@ -620,18 +620,18 @@ static int dxn3dc_block(uint8_t *dst, ptrdiff_t stride, const uint8_t *block)
av_cold
void
ff_texturedsp_init
(
TextureDSPContext
*
c
)
{
c
->
dxt1_block
=
dxt1_block
;
c
->
dxt1a_block
=
dxt1a_block
;
c
->
dxt2_block
=
dxt2_block
;
c
->
dxt3_block
=
dxt3_block
;
c
->
dxt4_block
=
dxt4_block
;
c
->
dxt5_block
=
dxt5_block
;
c
->
dxt5y_block
=
dxt5y_block
;
c
->
dxt5ys_block
=
dxt5ys_block
;
c
->
rgtc1s_block
=
rgtc1s_block
;
c
->
rgtc1u_block
=
rgtc1u_block
;
c
->
dxt1_block
=
dxt1_block
;
c
->
dxt1a_block
=
dxt1a_block
;
c
->
dxt2_block
=
dxt2_block
;
c
->
dxt3_block
=
dxt3_block
;
c
->
dxt4_block
=
dxt4_block
;
c
->
dxt5_block
=
dxt5_block
;
c
->
dxt5y_block
=
dxt5y_block
;
c
->
dxt5ys_block
=
dxt5ys_block
;
c
->
rgtc1s_block
=
rgtc1s_block
;
c
->
rgtc1u_block
=
rgtc1u_block
;
c
->
rgtc1u_alpha_block
=
rgtc1u_alpha_block
;
c
->
rgtc2s_block
=
rgtc2s_block
;
c
->
rgtc2u_block
=
rgtc2u_block
;
c
->
dxn3dc_block
=
dxn3dc_block
;
c
->
rgtc2s_block
=
rgtc2s_block
;
c
->
rgtc2u_block
=
rgtc2u_block
;
c
->
dxn3dc_block
=
dxn3dc_block
;
}
libavcodec/texturedsp.h
View file @
92500c7b
...
...
@@ -43,20 +43,20 @@
#define TEXTURE_BLOCK_H 4
typedef
struct
TextureDSPContext
{
int
(
*
dxt1_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt1a_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt2_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt3_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt4_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt5_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt5y_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt5ys_block
)(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc1s_block
)(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc1u_block
)(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt1_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt1a_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt2_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt3_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt4_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt5_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt5y_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxt5ys_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc1s_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc1u_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc1u_alpha_block
)(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc2s_block
)(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc2u_block
)(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxn3dc_block
)(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc2s_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
rgtc2u_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
int
(
*
dxn3dc_block
)
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
block
);
}
TextureDSPContext
;
void
ff_texturedsp_init
(
TextureDSPContext
*
c
);
...
...
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