#include "bbox.h"
Go to the source code of this file.
Functions | |
int | ff_calculate_bounding_box (FFBoundingBox *bbox, const uint8_t *data, int linesize, int w, int h, int min_val) |
Calculate the smallest rectangle that will encompass the region with values > min_val. |
int ff_calculate_bounding_box | ( | FFBoundingBox * | bbox, | |
const uint8_t * | data, | |||
int | linesize, | |||
int | w, | |||
int | h, | |||
int | min_val | |||
) |
Calculate the smallest rectangle that will encompass the region with values > min_val.
bbox | bounding box structure which is updated with the found values. If no pixels could be found with value > min_val, the structure is not modified. |
Definition at line 23 of file bbox.c.
Referenced by end_frame(), and init().