On 07/16/2012 11:50 PM, Diego Biurrun wrote: > On Mon, Jul 16, 2012 at 10:15:44PM +0200, Luca Barbato wrote: >> From: Michael Bradshaw <[email protected]> >> >> Based on FFmpeg commits >> commit 713a7854e06964abc8f7d015b94acbed27769d24 >> commit 7544ef78051c2b0477687ac4d7da829e61dbf8ac >> commit f06269dda5cab9d5e5dc591fbe3f752aae2b0a2b >> commit 1ef5561a662e96c9b3f554ee76d3a6e7327aba4c >> commit b0f6df28de4f78decd0acec88d860e1719ea8b05 >> commit 3f26a874884896641903cf41a0b93bc2b5349cc5 >> commit 67d5fcc989a0ee3cc3b3a89e643ee7f099ca6229 >> commit dec8eb6b29beb472e94e7e32ad89e180597b7b0d >> commit 8e45005a849c849bbbc28bc16d7ecb4d342b251a >> commit 06b0c6a6559e8f179faaba9641bcb2d68edc7160 >> commit b222c28ee885187c5fcded69d8fa98fe60c70a7e >> commit a5b823368a3589dd1e5b11bd4cb0bf7b013a8314 >> commit de0735502662c766c5cfccd8dca3473f3e77f65e >> commit df42dd73235c4d89be44a088cb9fb30d27260cf6 >> commit 56af084cb5478bc3c0eb2d47d47e82bbe40fbf2d >> commit a02694c92618fae98e5ce85b0a5eed71988a9d40 >> commit 0abe25aa7bfa017a18832c6d4b0f59e4fd18f7d5 >> commit ee33eb40fc007fe354d381d253625157aa73c525 >> commit 36397ea1c7e27ab850149cc61394c2baa26dd532 >> commit ffd1017fb89e3fcb4853e2803b05e3d1847916c4 >> commit 4093d130d1934edcd098014d306492173527f1f6 >> commit ef611095f0d0c1256cbb6654f94cae61a60f2736 >> commit ba10207bbe5ebd97b5afc3f19baf4a1ad8f974d5 >> commit 40c36196d555496269656dd9f15c8520fa2301cd >> commit 0275b75a7e705ef5a6bd6610f1450671f78000b6 >> commit 1b987c4bb03d09debceb667af5f9af897c5ab0cd >> commit 856b33f578d3ca0e17ae69273d1c77248bf61a66 >> commit 7c92c03b8d0aec2b593ade85525c7a8f87fecc63 > > Drop these, they add no real value. > >> --- a/Changelog >> +++ b/Changelog >> @@ -35,6 +35,7 @@ version <next>: >> - TechSmith Screen Codec 2 decoder >> - AAC encoding via libfdk-aac >> - Microsoft Expression Encoder Screen decoder >> +- JPEG2k encoding support through OpenJPEG > > JPEG 2000
Makes sense. >> --- /dev/null >> +++ b/libavcodec/libopenjpegenc.c >> @@ -0,0 +1,437 @@ >> + >> +static opj_image_t *mj2_create_image(AVCodecContext *avctx, >> + >> +static av_cold int libopenjpeg_encode_init(AVCodecContext *avctx) >> + >> +static void libopenjpeg_copy_packed8(AVCodecContext *avctx, >> + >> +static void libopenjpeg_copy_packed16(AVCodecContext *avctx, >> + >> +static void libopenjpeg_copy_unpacked8(AVCodecContext *avctx, >> + >> +static void libopenjpeg_copy_unpacked16(AVCodecContext *avctx, >> + >> +static int libopenjpeg_encode_frame(AVCodecContext *avctx, AVPacket *pkt, >> + >> +static av_cold int libopenjpeg_encode_close(AVCodecContext *avctx) > > Is "mj2" just a name prefix? Then "libopenjpeg" would be more consistent. Changing it now. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
