[FFmpeg-devel] [PATCH] dca: export profile information on decode
Michael Niedermayer
michaelni
Fri Dec 31 05:21:25 CET 2010
On Wed, Dec 29, 2010 at 07:24:09AM +0200, Anssi Hannula wrote:
> ---
>
> While waiting for that another opinion, here's another take on the
> patch, this time with a more noticiable separation of the HD parser.
>
> Does this one look better?
>
> Instead of only checking the first asset, I simply ignore the HD part
> if it contains multiple assets or audio or has non-zero substream
> index (what do these latter two even mean?). I did this mainly because
> I'm not sure how the bitmasks that reside after num_assets behave when
> substream index / num_assets / num_audio changes, and I don't know the
> exact meanings of those variables.
>
> libavcodec/avcodec.h | 8 +++-
> libavcodec/dca.c | 108 +++++++++++++++++++++++++++++++++++++++++++++++++-
> 2 files changed, 114 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index c803ec6..8833849 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -32,7 +32,7 @@
> #include "libavutil/cpu.h"
>
> #define LIBAVCODEC_VERSION_MAJOR 52
> -#define LIBAVCODEC_VERSION_MINOR 101
> +#define LIBAVCODEC_VERSION_MINOR 102
> #define LIBAVCODEC_VERSION_MICRO 0
>
> #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
> @@ -2238,6 +2238,12 @@ typedef struct AVCodecContext {
> #define FF_PROFILE_AAC_SSR 2
> #define FF_PROFILE_AAC_LTP 3
>
> +#define FF_PROFILE_DTS 20
> +#define FF_PROFILE_DTS_ES 30
> +#define FF_PROFILE_DTS_96_24 40
> +#define FF_PROFILE_DTS_HD_HRA 50
> +#define FF_PROFILE_DTS_HD_MA 60
options.c update missing
[..]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101231/e26a37df/attachment.pgp>
More information about the ffmpeg-devel
mailing list