[Libav-user] filter_mb_edge

Nicolas Derouineau nicolas.derouineau at vitec.com
Mon Sep 1 16:36:46 CEST 2014


Correct me if I'm wrong:

On a 16x16 macroblock, considering abcd are the vertical boundaries, and efgh are the horizontal one:


/* Filtering a */
filter_mb_edgev( &img_y[4*0<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
/* Filtering b */
filter_mb_edgev( &img_y[4*1<<pixel_shift], linesize, bS3, qp, a, b, h, 0);
/* Filtering c */
filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0);

ect...

So what should I do to get p0,p1 in img_y ?

ps: Sorry about the double post, but I wanted to be clear about my question.




________________________________
De : libav-user-bounces at ffmpeg.org <libav-user-bounces at ffmpeg.org> de la part de Nicolas Derouineau <nicolas.derouineau at vitec.com>
Envoyé : lundi 1 septembre 2014 16:04
À : libav-user at ffmpeg.org
Objet : [Libav-user] filter_mb_edge


Hello,
I would like to understand the prototype of this function:

filter_mb_edgeh(uint8_t *pix, int stride,
                                             const int16_t bS[4],
                                             unsigned int qp, int a, int b,
                                             H264Context *h, int intra)

Let's say I want to check the filtering condition on p0,1,2 and q0,1,2 . How am I supposed to read the pix buffer to get them ?

Regards,

Nicolas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140901/6ed44c3d/attachment.html>


More information about the Libav-user mailing list