blob: f9b844d203f8dcaf3b75a2a6db538c4331986484 (
plain) (
tree)
|
1
2
3
4
5
6
7
8
9
10
11
/*
* Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d/********************************
Author: Sravanthi Kota Venkata
********************************/
#include "sdvbs_common.h"
F2D* fCopy(F2D* in, F2D* out)
{
int i, j;
//F2D* out;
int rows, cols;
rows = in->height;
cols = in->width;
//out = fMallocHandle(rows, cols);
for(i=0; i<rows; i++) {
for(j=0; j<cols; j++) {
subsref(out,i,j) = subsref(in,i,j);
}
}
return out;
}
|