private void makeCbCrDivisibleBy8(int y, int x)
	{
		
		int h = y/2;
		int w = x/2;
		
		if(h % 8 != 0)
		{
			h += 8 - (h % 8);
			
		}
		
		if(w % 8 != 0)
		{
			w += 8 - (w % 8);
		}
		cbtranssub = new double[w][h];
		crtranssub = new double[w][h];
		
		for(int yy = 0; yy < h; yy++)
		{
			for(int xx = 0; xx < w; xx++)
			{
				cbtranssub[xx][yy] = 0;
				crtranssub[xx][yy] = 0;
			}
		}
	}