Skip to content

Commit

Permalink
Merge pull request #22 from Jamaika1/patch-2
Browse files Browse the repository at this point in the history
[10bit] don't overwrite heap
  • Loading branch information
Jovasa authored Jul 31, 2024
2 parents cc1fd00 + 5ae7857 commit 96ade5c
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 96ade5c

Please sign in to comment.