<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} p
{margin-top:0;
margin-bottom:0}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Correct me if I'm wrong:<br>
<br>
On a 16x16 macroblock, considering abcd are the vertical boundaries, and efgh are the horizontal one:<br>
<br>
</p>
<p>/* Filtering a */<br>
filter_mb_edgev( &img_y[4*0<<pixel_shift], linesize, bS3, qp, a, b, h, 0);<br>
/* Filtering b */<br>
filter_mb_edgev( &img_y[4*1<<pixel_shift], linesize, bS3, qp, a, b, h, 0);<br>
/* Filtering c */<br>
filter_mb_edgev( &img_y[4*2<<pixel_shift], linesize, bS3, qp, a, b, h, 0);<br>
<br>
ect...<br>
<br>
So what should I do to get p0,p1 in img_y ?<br>
<br>
ps: Sorry about the double post, but I wanted to be clear about my question.<br>
<br>
<br>
<br>
</p>
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De :</b> libav-user-bounces@ffmpeg.org <libav-user-bounces@ffmpeg.org> de la part de Nicolas Derouineau <nicolas.derouineau@vitec.com><br>
<b>Envoyé :</b> lundi 1 septembre 2014 16:04<br>
<b>À :</b> libav-user@ffmpeg.org<br>
<b>Objet :</b> [Libav-user] filter_mb_edge</font>
<div> </div>
</div>
<div>
<p>Hello,<br>
I would like to understand the prototype of this function: </p>
<p><br>
filter_mb_edgeh(uint8_t *pix, int stride,<br>
const int16_t bS[4],<br>
unsigned int qp, int a, int b,<br>
H264Context *h, int intra)<br>
<br>
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 ?<br>
<br>
Regards,<br>
<br>
Nicolas<br>
<br>
<br>
</p>
</div>
</div>
</body>
</html>