|
kvz_picture * | kvz_image_alloc_420 (const int32_t width, const int32_t height) |
| Allocate a new image with 420.
|
|
kvz_picture * | kvz_image_alloc (enum kvz_chroma_format chroma_format, const int32_t width, const int32_t height) |
| Allocate a new image.
|
|
void | kvz_image_free (kvz_picture *const im) |
| Free an image.
|
|
kvz_picture * | kvz_image_copy_ref (kvz_picture *im) |
| Get a new pointer to an image.
|
|
kvz_picture * | kvz_image_make_subimage (kvz_picture *const orig_image, const unsigned x_offset, const unsigned y_offset, const unsigned width, const unsigned height) |
|
yuv_t * | kvz_yuv_t_alloc (int luma_size, int chroma_size) |
|
void | kvz_yuv_t_free (yuv_t *yuv) |
|
static uint32_t | reg_sad_maybe_optimized (const kvz_pixel *const data1, const kvz_pixel *const data2, const int32_t width, const int32_t height, const uint32_t stride1, const uint32_t stride2, optimized_sad_func_ptr_t optimized_sad) |
|
static unsigned | cor_sad (const kvz_pixel *pic_data, const kvz_pixel *ref_data, int block_width, int block_height, unsigned pic_stride) |
| Diagonally interpolate SAD outside the frame.
|
|
static unsigned | image_interpolated_sad (const kvz_picture *pic, const kvz_picture *ref, int pic_x, int pic_y, int ref_x, int ref_y, int block_width, int block_height, optimized_sad_func_ptr_t optimized_sad) |
| Handle special cases of comparing blocks that are not completely inside the frame.
|
|
unsigned | kvz_image_calc_sad (const kvz_picture *pic, const kvz_picture *ref, int pic_x, int pic_y, int ref_x, int ref_y, int block_width, int block_height, optimized_sad_func_ptr_t optimized_sad) |
| Calculate interpolated SAD between two blocks.
|
|
unsigned | kvz_image_calc_satd (const kvz_picture *pic, const kvz_picture *ref, int pic_x, int pic_y, int ref_x, int ref_y, int block_width, int block_height) |
| Calculate interpolated SATD between two blocks.
|
|
void | kvz_pixels_blit (const kvz_pixel *const orig, kvz_pixel *const dst, const unsigned width, const unsigned height, const unsigned orig_stride, const unsigned dst_stride) |
|