hakuya
1f46b50a95
Added AVClass for AVSubtitleRect
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Hendrik Leppkes
85395ba73f
avcodec: introduce YCoCg colorspace
...
Non perceptual color model that aims to have an increase effectiveness
in compression like the normal YCbCr while having near-lossless/lossless
mapping to RGB.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
ccc2dfbcdf
avcodec: cosmetic cleanup on header
...
Apply coding style to the structs.
13 years ago
Nicolas George
128dda7016
lavc: add a sample_rate field to AVFrame.
...
The field is filled with the codec context information.
13 years ago
Nicolas George
4b0521eca9
lavc: add a channel_layout field to AVFrame.
...
The field is filled with the codec context information.
FIXME need a minor version bump.
13 years ago
Michael Niedermayer
70d54392f5
lowres2 support.
...
The new lowres support is limited to decoders where lowres decoding
is possible in high quality.
I was not able to measure any speed difference, but if one is found
the 2-3 lines that might affect speed can be made compile time conditional
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
2bcbd98459
Remove lowres video decoding
...
This feature is complex, of questionable utility, and slows down
normal decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
95510be8c3
avcodec: remove AVCodecContext.dsp_mask
...
This removes all references to AVCodecContext.dsp_mask and marks
it for eviction at the next version bump. It has been superseded
by av_set_cpu_flag_mask() which, unlike this field, works everywhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
8a74029ea2
lavc doxy: add remaining avcodec.h functions to a misc doxygen group.
13 years ago
Anton Khirnov
6aadfbda09
lavc doxy: add AVPicture functions to a doxy group.
13 years ago
Anton Khirnov
56512ce104
lavc doxy: add resampling functions to a doxy group.
13 years ago
Anton Khirnov
40ca0e6a75
lavc doxy: replace \ with /
...
It's the more proper symbol to use and it prevents doxygen from thinking
it's a command.
13 years ago
Anton Khirnov
f038515f0a
lavc doxy: add encoding functions to a doxy group.
13 years ago
Anton Khirnov
c8ef8464c2
lavc doxy: add decoding functions to a doxy group.
13 years ago
Anton Khirnov
199ada4944
lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO}
13 years ago
Anton Khirnov
30f3f62563
lavc doxy: add AVPacket-related stuff to a separate doxy group.
...
Also move AV_PKT_DATA_PARAM_CHANGE/AV_PKT_DATA_H263_MB_INFO to the
proper place.
13 years ago
Anton Khirnov
294b3a5074
lavc doxy: add core functions/definitions to a doxy group.
13 years ago
Justin Ruggles
c58846f3a8
avcodec: use align == 0 for default alignment in avcodec_fill_audio_frame()
...
Use default alignment in audio_get_buffer()
13 years ago
Reimar Döffinger
069cf86d32
Fix side-data memleak also for audio.
...
This uses the same code as in decode_video also in decode_audio.
Should fix valgrind FATE failures for nellymoser encode test.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
5012c07336
Support detecting and demuxing EIA-608 subtitles in mov.
...
The format is slightly proprietary.
DVDs use a format of
code byte (0x00, 0x01, 0xfe or 0xff), two data bytes
MOV uses instead
cdat/cdt2 atom, two data bytes
Auto-detecting and supporting both in one decoder is trivial,
so a single codec ID is used.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Jimmy Christensen
b7ce3242f8
lavc: add a OpenEXR decoder
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Derek Buitenhuis
0e714f889e
ZeroCodec Decoder
...
An obscure Japanese lossless video codec, originally intended
for use with a remote desktop application.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Kostya Shishkov
b8560637d9
RealAudio Lossless decoder
13 years ago
Derek Buitenhuis
6cabb679d6
ZeroCodec Decoder
...
An obscure Japanese lossless video codec, originally intended
for use with a remote desktop application.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
0afd8f12e9
avcodec: add XBM encoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Lou Logan
2d38081b4f
cosmetics: fix some typos
...
Patch attached.
From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001
From: Lou Logan <lou@lrcd.com>
Date: Mon, 12 Mar 2012 14:13:44 -0800
Subject: [PATCH] cosmetics: fix some typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
9524cf79df
avcodec: add av_get_audio_frame_duration() function.
...
This is a utility function for the user to get the frame duration based on
the codec id, frame size in bytes, and various AVCodecContext parameters.
13 years ago
Justin Ruggles
6699d07480
avcodec: add av_get_exact_bits_per_sample() function
...
This only returns bits per sample when it is exactly correct. That is, the
codec contains only raw samples with no frame headers or padding. This applies
to basically all PCM codecs and a small subset of ADPCM codecs.
13 years ago
Anton Khirnov
44fe77b350
lavc: make codec_is_decoder/encoder() public.
13 years ago
Anton Khirnov
02beb9826b
lavc: deprecate AVCodecContext.sub_id.
...
In most places where it's used, it's as a pointless write-only field.
Only rv10 decoder actually reads from it, but it stores some internal
version info in it. There is no reason for it to be in a public field.
13 years ago
Anton Khirnov
7fb6c9225c
lavc: free the output packet when encoding failed or produced no output.
13 years ago
Anton Khirnov
c179c9e19d
lavc: clarify the meaning of AVCodecContext.frame_number.
13 years ago
Martin Storsjö
bdc1220eeb
h263enc: Add an option for outputting info about MBs as side data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
442c1320e7
avpacket: Add a function for shrinking already allocated side data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
23bfcc066d
mpegvideo_enc: add quantizer_noise_shaping private option.
...
Deprecate corresponding AVCodecContext field.
13 years ago
Anton Khirnov
16b7557b79
lavc: deprecate AVCodecContext.inter_threshold.
...
It's unused.
13 years ago
Anton Khirnov
4f07f8196c
lavc: deprecate AVCodecContext.color_table_id.
...
It's currently only used as temporary storage by the mov demuxer. Make
it use a local variable instead.
13 years ago
Anton Khirnov
63efd83ae1
mpegvideo_enc: add chroma/luma_elim_threshold private options.
...
Deprecate corresponding AVCodecContext fields.
13 years ago
Anton Khirnov
af3d804f9f
mpegvideo_enc: add cbp_rd flag to mpv_flags.
...
Deprecate CODEC_FLAG_CBP_RD.
13 years ago
Anton Khirnov
ff71a383ac
mpegvideo_enc: add qp_rd flag to mpv_flags.
...
Deprecate CODEC_FLAG_QP_RD.
13 years ago
Anton Khirnov
a249f0cc23
mpegvideo_enc: add strict_gop flag to mpv_flags.
...
Deprecate CODEC_FLAG2_STRICT_GOP.
13 years ago
Anton Khirnov
ed019b8e5b
lavc: add -mpv_flags to mpegvideo_enc-based encoders.
...
Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags
flag.
13 years ago
Anton Khirnov
b1edfce08a
lavc: reorder AVCodecContext fields.
...
Put related fields together, move the important ones closer to the
beginning, try to eliminate holes.
13 years ago
Anton Khirnov
1d428004c6
lavc: reorder AVFrame fields.
...
Put related fields together, move the important ones closer to the
beginning, try to eliminate holes.
13 years ago
Justin Ruggles
7600e5c5aa
avcodec: document the use of AVCodecContext.delay for audio encoders
13 years ago
Nicolas George
9cbf17e9af
lavc: introduce av_get_pcm_codec.
13 years ago
Justin Ruggles
e9cda85351
avcodec: add duration field to AVCodecParserContext
...
This will allow parsers to export the duration of the current frame being
output, if known, instead of using AVCodecContext.frame_size.
13 years ago
Paul B Mahol
dc4e57489f
CDXL demuxer and decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
0bf184e59c
Move PS2 MMI code below the mips subdirectory, where it belongs.
...
Also give a more suitable name to the MMI-optimized IDCT;
it is not PS2-specific, as the name currently suggests.
13 years ago
Anton Khirnov
52f82a1148
lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacket
...
Deprecate avcodec_encode_video().
13 years ago