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
99ace37e
Commit
99ace37e
authored
Jan 22, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove disabled FF_API_MJPEG_GLOBAL_OPTS cruft.
parent
96e9b96f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
21 deletions
+0
-21
avcodec.h
libavcodec/avcodec.h
+0
-11
mjpegdec.c
libavcodec/mjpegdec.c
+0
-4
options.c
libavcodec/options.c
+0
-3
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/avcodec.h
View file @
99ace37e
...
...
@@ -588,17 +588,6 @@ typedef struct RcOverride{
#define CODEC_FLAG2_LOCAL_HEADER 0x00000008 ///< Place global headers at every keyframe instead of in extradata.
#define CODEC_FLAG2_SKIP_RD 0x00004000 ///< RD optimal MB level residual skipping
#define CODEC_FLAG2_CHUNKS 0x00008000 ///< Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries.
/**
* @defgroup deprecated_flags Deprecated codec flags
* Use corresponding private codec options instead.
* @{
*/
#if FF_API_MJPEG_GLOBAL_OPTS
#define CODEC_FLAG_EXTERN_HUFF 0x1000 ///< Use external Huffman table (for MJPEG).
#endif
/**
* @}
*/
/* Unsupported options :
* Syntax Arithmetic coding (SAC)
...
...
libavcodec/mjpegdec.c
View file @
99ace37e
...
...
@@ -101,10 +101,6 @@ av_cold int ff_mjpeg_decode_init(AVCodecContext *avctx)
build_basic_mjpeg_vlc
(
s
);
#if FF_API_MJPEG_GLOBAL_OPTS
if
(
avctx
->
flags
&
CODEC_FLAG_EXTERN_HUFF
)
s
->
extern_huff
=
1
;
#endif
if
(
s
->
extern_huff
)
{
av_log
(
avctx
,
AV_LOG_INFO
,
"mjpeg: using external huffman table
\n
"
);
init_get_bits
(
&
s
->
gb
,
avctx
->
extradata
,
avctx
->
extradata_size
*
8
);
...
...
libavcodec/options.c
View file @
99ace37e
...
...
@@ -87,9 +87,6 @@ static const AVOption options[]={
{
"input_preserved"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG_INPUT_PRESERVED
},
INT_MIN
,
INT_MAX
,
0
,
"flags"
},
{
"pass1"
,
"use internal 2pass ratecontrol in first pass mode"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG_PASS1
},
INT_MIN
,
INT_MAX
,
0
,
"flags"
},
{
"pass2"
,
"use internal 2pass ratecontrol in second pass mode"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG_PASS2
},
INT_MIN
,
INT_MAX
,
0
,
"flags"
},
#if FF_API_MJPEG_GLOBAL_OPTS
{
"extern_huff"
,
"use external huffman table (for mjpeg)"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG_EXTERN_HUFF
},
INT_MIN
,
INT_MAX
,
0
,
"flags"
},
#endif
{
"gray"
,
"only decode/encode grayscale"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG_GRAY
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"flags"
},
{
"emu_edge"
,
"don't draw edges"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG_EMU_EDGE
},
INT_MIN
,
INT_MAX
,
0
,
"flags"
},
{
"psnr"
,
"error[?] variables will be set during encoding"
,
0
,
AV_OPT_TYPE_CONST
,
{.
dbl
=
CODEC_FLAG_PSNR
},
INT_MIN
,
INT_MAX
,
V
|
E
,
"flags"
},
...
...
libavcodec/version.h
View file @
99ace37e
...
...
@@ -41,9 +41,6 @@
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_MJPEG_GLOBAL_OPTS
#define FF_API_MJPEG_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_GET_ALPHA_INFO
#define FF_API_GET_ALPHA_INFO (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
...
...
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