about vpx_img_alloc

78 views
Skip to first unread message

Akio

unread,
May 30, 2010, 6:41:11 AM5/30/10
to WebM Discussion
Dear All:

after some works for integrated the vp8 codec into our V2IP
application, I found one function exported to user not just in
internal may be more easier for user to use. the function is
img_alloc_helper in vpx/src/vpx_image.c.

for vpx_img_alloc is a function to allocate the image needed memory
for encoder / decoder. if I already have a raw image buffer which come
from capture such like webcam / tv captured card which via v4l2 mmap,
or the csc routine is from some where else. the function will allocate
a memory in heap.

Is there any chance to open a new function just like img_alloc_helper
to user with desired fmt, w, h, aligned, data buffer pointer, etc.

thank you very much.

Best Regards,
Akio

Akio

unread,
May 30, 2010, 6:50:31 AM5/30/10
to WebM Discussion
Dear All:

vpx_img_wrap seems the one I need. sorry, for a mis post.

Best Regards,
Akio
Reply all
Reply to author
Forward
0 new messages