Commit fbb6b74f authored by André Almeida's avatar André Almeida

Remove mem add/offset debug prints

parent 79aa2ba1
......@@ -216,8 +216,8 @@ int main(int argc, char **argv)
for(j = 0; j < ctx.num_planes; j++){
#ifdef DBG_PRINT
printf("mem offset[%d][%d]: %p\n", i, j,
buf.m.planes[j].m.mem_offset);
printf("plane leng[%d][%d]: %u\n", i, j,
buf.m.planes[j].length);
#endif
buffers[i].length[j] = buf.m.planes[j].length;
......@@ -232,13 +232,6 @@ int main(int argc, char **argv)
}
}
#ifdef DBG_PRINT
for (i = 0; i < ctx.num_buffers; i++)
for (j = 0; j < ctx.num_planes; j++)
printf("buffer[%d][%d](size: %d) start: %p\n",
i, j, buffers[i].length[j], buffers[i].start[j]);
#endif
/* enqueue the buffers */
for (i = 0; i < ctx.num_buffers; i++)
v4l2_qbuf(fd, ctx, i, planes, &buf);
......@@ -288,8 +281,6 @@ int main(int argc, char **argv)
/* write each plane in the file */
for(j = 0; j < ctx.num_planes; j++){
#ifdef DBG_PRINT
printf("buf addres[%d][%d]: %p\n", buf.index, j, buffers[buf.index].start[j]);
printf("mem offset[%d][%d]: %p\n", buf.index, j, buf.m.planes[j].m.mem_offset);
printf("bytesused: %d\n", buf.m.planes[j].bytesused);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment