diff options
author | John Stebbins <[email protected]> | 2015-10-22 09:00:51 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-10-29 10:25:57 -0700 |
commit | ab93255f3c0c56d3fbadb26d2a1e3141c195acc0 (patch) | |
tree | 98108ed56a5e92a973a9d30ee267466a68e33c2c /libhb/internal.h | |
parent | bd6d8dbba750419c4bb46b10f952cc405f7f5054 (diff) |
libhb: don't use deprecated AVPicture
libav just deprecated AVPicture and all av_picture_*/avpicture_*
functions.
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index e66783bb4..6401f7b4b 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -183,6 +183,9 @@ int hb_buffer_copy( hb_buffer_t * dst, const hb_buffer_t * src ); void hb_buffer_swap_copy( hb_buffer_t *src, hb_buffer_t *dst ); hb_image_t * hb_image_init(int pix_fmt, int width, int height); hb_image_t * hb_buffer_to_image(hb_buffer_t *buf); +int hb_picture_fill(uint8_t *data[], int stride[], hb_buffer_t *b); +int hb_picture_crop(uint8_t *data[], int stride[], hb_buffer_t *b, + int top, int left); hb_fifo_t * hb_fifo_init( int capacity, int thresh ); void hb_fifo_register_full_cond( hb_fifo_t * f, hb_cond_t * c ); |