Skip to content

Commit

Permalink
[10bit] don't overwrite heap
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamaika1 authored Jul 31, 2024
1 parent cc1fd00 commit 5ae7857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transform.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,9 @@ void uvg_chroma_transform_search(
enum uvg_tree_type tree_type)
{
ALIGNED(64) coeff_t u_coeff[LCU_WIDTH_C * LCU_WIDTH_C * 5];
ALIGNED(64) uint8_t u_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5];
ALIGNED(64) uvg_pixel u_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5];
ALIGNED(64) coeff_t v_coeff[LCU_WIDTH_C * LCU_WIDTH_C * 2]; // In case of JCCR the v channel does not have coefficients
ALIGNED(64) uint8_t v_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5];
ALIGNED(64) uvg_pixel v_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5];
const int width = cu_loc->chroma_width;
const int height = cu_loc->chroma_height;

Expand Down

0 comments on commit 5ae7857

Please sign in to comment.