Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-12 Thread Clément Bœsch
On Thu, Jul 09, 2015 at 11:16:16AM -0700, Philip Langdale wrote: On 2015-07-06 14:42, Clément Bœsch wrote: { int i = 0; int text_pos = 0; while (text text_end) { -for (i = 0; i style_entries; i++) { -if (s[i]-style_flag text_pos == s[i]-style_end) {

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-12 Thread Niklesh Lalwani
Updated patch attached. As Philip said, this was not a simple re-indent, so indentation included. Thanks, Niklesh From 7dff4a52e41fabe4748076e152cf600d426a5ee8 Mon Sep 17 00:00:00 2001 From: Niklesh niklesh.lalw...@iitb.ac.in Date: Sun, 12 Jul 2015 12:44:48 +0530 Subject: [PATCH] movtextdec.c:

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-12 Thread Clément Bœsch
On Tue, Jul 07, 2015 at 08:33:12PM +0530, Niklesh Lalwani wrote: [...] +struct Box +{ style What about this? I meant struct Box { [...] -- Clément B. pgpXhkbYol9Fe.pgp Description: PGP signature ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-12 Thread Philip Langdale
On Sun, 12 Jul 2015 12:50:22 +0530 Niklesh Lalwani lalwani1...@gmail.com wrote: Updated patch attached. As Philip said, this was not a simple re-indent, so indentation included. Thanks, Niklesh Pushed, thanks. --phil ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-09 Thread Philip Langdale
On 2015-07-06 14:42, Clément Bœsch wrote: { int i = 0; int text_pos = 0; while (text text_end) { -for (i = 0; i style_entries; i++) { -if (s[i]-style_flag text_pos == s[i]-style_end) { -if (s[i]-style_flag STYLE_FLAG_BOLD) -

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-07 Thread Niklesh Lalwani
On Tue, Jul 7, 2015 at 3:12 AM, Clément Bœsch u...@pkh.me wrote: On Mon, Jul 06, 2015 at 10:27:47PM +0530, Niklesh Lalwani wrote: From: Niklesh niklesh.lalw...@iitb.ac.in Signed-off-by: Niklesh niklesh.lalw...@iitb.ac.in --- libavcodec/movtextdec.c | 254

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-06 Thread Clément Bœsch
On Mon, Jul 06, 2015 at 10:27:47PM +0530, Niklesh Lalwani wrote: From: Niklesh niklesh.lalw...@iitb.ac.in Signed-off-by: Niklesh niklesh.lalw...@iitb.ac.in --- libavcodec/movtextdec.c | 254 +--- 1 file changed, 173 insertions(+), 81

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-05 Thread Philip Langdale
On Sun, 5 Jul 2015 15:53:32 +0530 Niklesh Lalwani niklesh.lalw...@iitb.ac.in wrote: From: Niklesh niklesh.lalw...@iitb.ac.in This patch adds support for decoding of Highlight and hilightcolor box as defined by 3GPP standards. The code is also reorganised to make it easier to maintain and