summaryrefslogtreecommitdiffstats
path: root/SD-VBS/common/c/uiMallocHandle.c
blob: ee26d4c1292ca83acc6dc316e0264db7e848c9bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/********************************
Author: Sravanthi Kota Venkata
********************************/

#include <stdio.h>
#include <stdlib.h>
#include "sdvbs_common.h"

UI2D* uiMallocHandle(int rows, int cols)
{
    int i, j;
    UI2D* out;
   
    out = malloc(sizeof(UI2D) + sizeof(unsigned int)*rows*cols);
    out->height = rows;
    out->width = cols;
    printf("uimalloc here\n");
    return out;
}