This question is inspired from thinking about David Speyer's question about complex variable Ehrhart theory.
In one variable, Ehrhart theory has been vastly generalized. For example it has been established that counting any set that can be defined in Presburger Arithmetic and a single parameter is quasipolynomial! As a corollary, in David's question, the counting function is a quasipolynomial when we specialize the value of one of the variables.
The multiparameter version of Ehrhart theory is bound to get a bit trickier. For example the number of lattice points in the segment between $(s,0)$ and $(0,t)$ is $1+\gcd(s,t)$. This function is a quasipolynomial when you specialize either value, but it is not a quasipolynomial in both variables, meaning that there is no integer $N$ so that when restricting $s,t$ to residue classes $(\text{mod } N)$ we get a polynomial in $s,t$.
My question is motivated from a basic property of polynomials (what Richard Palais calls analogs of Hartog's theorem): If a multivariate function is a polynomial of bounded degree in each variable separately, then it is a multivariable polynomial.
Question: Can we describe bivariate functions that are quasipolynomial of bounded degree in each variable? Are they bivariate quasipolynomials plus perhaps linear combinations of terms like $\gcd(P,Q)$, for bivariate polynomials $P,Q$?