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
0cdbc4d3
Commit
0cdbc4d3
authored
Dec 02, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ljpegenc: rename the encoding function.
The new name is more consistent with the rest of Libav.
parent
72c0b8f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ljpegenc.c
libavcodec/ljpegenc.c
+3
-3
No files found.
libavcodec/ljpegenc.c
View file @
0cdbc4d3
...
...
@@ -57,8 +57,8 @@ typedef struct LJpegEncContext {
uint16_t
(
*
scratch
)[
4
];
}
LJpegEncContext
;
static
int
encode_picture_lossless
(
AVCodecContext
*
avctx
,
AVPacket
*
pkt
,
const
AVFrame
*
pict
,
int
*
got_packet
)
static
int
ljpeg_encode_frame
(
AVCodecContext
*
avctx
,
AVPacket
*
pkt
,
const
AVFrame
*
pict
,
int
*
got_packet
)
{
LJpegEncContext
*
s
=
avctx
->
priv_data
;
PutBitContext
pb
;
...
...
@@ -289,7 +289,7 @@ AVCodec ff_ljpeg_encoder = {
.
id
=
AV_CODEC_ID_LJPEG
,
.
priv_data_size
=
sizeof
(
LJpegEncContext
),
.
init
=
ljpeg_encode_init
,
.
encode2
=
encode_picture_lossless
,
.
encode2
=
ljpeg_encode_frame
,
.
close
=
ljpeg_encode_close
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[]){
AV_PIX_FMT_YUVJ420P
,
AV_PIX_FMT_YUVJ422P
,
...
...
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