Commit 48b80f83 authored by Diego Biurrun's avatar Diego Biurrun

hpeldsp: Explain why put_no_rnd_pixels_tab is larger than necessary

parent 40ad05ba
...@@ -76,6 +76,8 @@ typedef struct HpelDSPContext { ...@@ -76,6 +76,8 @@ typedef struct HpelDSPContext {
* @param pixels source * @param pixels source
* @param line_size number of bytes in a horizontal line of block * @param line_size number of bytes in a horizontal line of block
* @param h height * @param h height
* @note The size is kept at [4][4] to match the above pixel_tabs and avoid
* out of bounds reads in the motion estimation code.
*/ */
op_pixels_func put_no_rnd_pixels_tab[4][4]; op_pixels_func put_no_rnd_pixels_tab[4][4];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment