Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10bit] don't overwrite heap #21

Closed
wants to merge 2 commits into from
Closed

Commits on Jul 31, 2024

  1. [10bit] don't overwrite heap

    ```
    transform.c: In function 'uvg_chroma_transform_search':
    transform.c:717:31: warning: passing argument 2 of 'uvg_pixels_blit' from incompatible pointer type [-Wincompatible-pointer-types]
      717 |       uvg_pixels_blit(u_pred, &u_recon[trans_offset * i], width, height, width, width);
          |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
          |                               |
          |                               uint8_t * {aka unsigned char *}
    In file included from cu.h:42,
                     from transform.h:41,
                     from transform.c:33:
    image.h:118:56: note: expected 'uvg_pixel *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
      118 | void uvg_pixels_blit(const uvg_pixel* orig, uvg_pixel *dst,
          |                                             ~~~~~~~~~~~^~~
    transform.c:758:31: warning: passing argument 2 of 'uvg_pixels_blit' from incompatible pointer type [-Wincompatible-pointer-types]
      758 |       uvg_pixels_blit(v_pred, &v_recon[trans_offset * i], width, height, width, width);
          |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
          |                               |
          |                               uint8_t * {aka unsigned char *}
    In file included from cu.h:42,
                     from transform.h:41,
                     from transform.c:33:
    image.h:118:56: note: expected 'uvg_pixel *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
      118 | void uvg_pixels_blit(const uvg_pixel* orig, uvg_pixel *dst,
          |                                             ~~~~~~~~~~~^~~
    transform.c:762:56: warning: passing argument 2 of 'uvg_pixels_calc_ssd' from incompatible pointer type [-Wincompatible-pointer-types]
      762 |       ssd_u = uvg_pixels_calc_ssd(&lcu->ref.u[offset], &u_recon[trans_offset * i],
          |                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
          |                                                        |
          |                                                        uint8_t * {aka unsigned char *}
    transform.c:762:56: note: expected 'const uvg_pixel * const' {aka 'const short unsigned int * const'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
    transform.c:765:56: warning: passing argument 2 of 'uvg_pixels_calc_ssd' from incompatible pointer type [-Wincompatible-pointer-types]
      765 |       ssd_v = uvg_pixels_calc_ssd(&lcu->ref.v[offset], &v_recon[trans_offset * i],
          |                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
          |                                                        |
          |                                                        uint8_t * {aka unsigned char *}
    transform.c:765:56: note: expected 'const uvg_pixel * const' {aka 'const short unsigned int * const'} but argument is of type 'uint8_t *' {aka 'unsigned char *'}
    ```
    Jamaika1 authored Jul 31, 2024
    Configuration menu
    Copy the full SHA
    8e0cecb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0017f58 View commit details
    Browse the repository at this point in the history