Re: [FFmpeg-devel] [PATCH v2] [RFC] lavc, lavfmt: add FLIF decoding support

2020-08-03 Thread Kartik K. Khullar
Wow, That is such an awesome idea. Did not know about that offsetof() thing earlier. Definitely going to use this idea. > IIRC, the Linux kernel makes heavy use of this structure. > That's really cool. Actually I implemented linked lists and not dynamic arrays because some elements from somewhe

Re: [FFmpeg-devel] [PATCH v2] [RFC] lavc, lavfmt: add FLIF decoding support

2020-08-02 Thread Kartik K. Khullar
My apologies, I should have removed other parts of the quoted code which I was not replying to. The reply is unnecesarily long now. On Mon, 3 Aug, 2020, 12:39 am Kartik K. Khullar, wrote: > > > On Sun, Aug 2, 2020 at 5:57 PM Nicolas George wrote: > >> Anamitra G

[FFmpeg-devel] [GSoC] [WIP] [RFC] FLIF Encoder & Decoder Project

2020-03-29 Thread Kartik K. Khullar
some other structs for storing the YCoCg values and not AVFrame, because AVFrame seems to be the standard struct in FFmpeg where the raw media resides. Attaching some testcases of RGB and its corresponding YCoCg values for testing purposes. Thanks Kartik K. Khullar #include "transformflif

Re: [FFmpeg-devel] GSoC: Regarding Parsing and FLIF16 Frame Encoding

2020-02-29 Thread Kartik K. Khullar
It is just to remind that I am already working on Transformations involved in FLIF and the functions which these transformations use like Symbol Encoding @Anamitra. It would be helpful if someone could help me clear what does RAC refer to in FLIF spec. It is mentioned under Symbol Encoding and is b