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
453642f8
Commit
453642f8
authored
Apr 09, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hqx: Store shareable data in main decoder context
In preparation for multithreaded decoding.
parent
ea031b75
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
hqx.c
libavcodec/hqx.c
+0
-0
hqx.h
libavcodec/hqx.h
+13
-0
No files found.
libavcodec/hqx.c
View file @
453642f8
This diff is collapsed.
Click to expand it.
libavcodec/hqx.h
View file @
453642f8
...
...
@@ -22,6 +22,8 @@
#define AVCODEC_HQX_H
#include <stdint.h>
#include "libavutil/frame.h"
#include "libavutil/mem.h"
#include "get_bits.h"
#include "hqxdsp.h"
...
...
@@ -47,12 +49,23 @@ typedef struct HQXAC {
const
HQXLUT
*
lut
;
}
HQXAC
;
struct
HQXContext
;
typedef
int
(
*
mb_decode_func
)(
struct
HQXContext
*
ctx
,
GetBitContext
*
gb
,
int
x
,
int
y
);
typedef
struct
HQXContext
{
HQXDSPContext
hqxdsp
;
AVFrame
*
pic
;
mb_decode_func
decode_func
;
int
format
,
dcb
,
width
,
height
;
int
interlaced
;
uint8_t
*
src
;
unsigned
int
data_size
;
uint32_t
slice_off
[
17
];
DECLARE_ALIGNED
(
16
,
int16_t
,
block
)[
16
][
64
];
VLC
cbp_vlc
;
...
...
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