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 : [email protected] <[email protected]> de la part 
de Nicolas Derouineau <[email protected]>
Envoyé : lundi 1 septembre 2014 16:04
À : [email protected]
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


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to