Logo Search packages:      
Sourcecode: zebra version File versions  Download package

zebra_image_t* zebra_image_create (  ) 

new image constructor.

a new image object with uninitialized data and format. this image should be destroyed (using zebra_image_destroy()) as soon as the application is finished with it

Definition at line 27 of file image.c.

References zebra_image_create().

Referenced by zebra::Image::Image(), zebra_image_convert_resize(), zebra_image_create(), zebra_image_free_data(), zebra_video_create(), zebra_video_next_image(), and zebra_window_resize().

    zebra_image_t *img = calloc(1, sizeof(zebra_image_t));
    img->refcnt = 1;
    img->srcidx = -1;

Generated by  Doxygen 1.6.0   Back to index