On Mon, Mar 18, 2013 at 02:01:54PM +0100, Nicolas BERTRAND wrote:
> Le 18/03/2013 13:27, Diego Biurrun a écrit :
> >On Mon, Mar 18, 2013 at 12:46:09PM +0100, Benjamin Larsson wrote:
> >>On 03/16/2013 05:24 PM, Diego Biurrun wrote:
> >>>On Fri, Mar 15, 2013 at 03:35:14PM +0100, Nicolas Bertrand wrote:
> >>>>--- a/libavcodec/avcodec.h
> >>>>+++ b/libavcodec/avcodec.h
> >>>>@@ -2561,6 +2561,12 @@ typedef struct AVCodecContext {
> >>>> #define FF_PROFILE_MPEG4_SIMPLE_STUDIO 14
> >>>> #define FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15
> >>>>+#define FF_PROFILE_JPEG2000_CSTRM_RSTRCTN_0 0
> >>>>+#define FF_PROFILE_JPEG2000_CSTRM_RSTRCTN_1 1
> >>>>+#define FF_PROFILE_JPEG2000_CSTRM_NO_RSTRCTN 2
> >>>>+#define FF_PROFILE_JPEG2000_DCINEMA_2K 3
> >>>>+#define FF_PROFILE_JPEG2000_DCINEMA_4K 4
> >>>Don't we have a way to export these per-codec? Anton?
> >>
> >>http://git.libav.org/?p=libav.git;a=blob;f=libavcodec/dcadec.c;h=e53b03e8f9dcd58bf51ac83b2827b55a7b8142d1;hb=HEAD#l1939
> >
> >Nice - Nicolas, use an AVProfile array.
> >
> Is the Avprofile via array, stills accesible via the API. For
> instance for VLC?
typedef struct AVCodec {
const AVProfile *profiles;///< array of recognized profiles, or NULL if
unknown, array is terminated by {FF_PROFILE_UNKNOWN}
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel