예제 #1
0
void
test_quantization(void)
{
	rfx_quantization_decode(buffer, 1024, test_quantization_values[0]); /* HL1 */
	rfx_quantization_decode(buffer + 1024, 1024, test_quantization_values[1]); /* LH1 */
	rfx_quantization_decode(buffer + 2048, 1024, test_quantization_values[2]); /* HH1 */
	rfx_quantization_decode(buffer + 3072, 256, test_quantization_values[3]); /* HL2 */
	rfx_quantization_decode(buffer + 3328, 256, test_quantization_values[4]); /* LH2 */
	rfx_quantization_decode(buffer + 3584, 256, test_quantization_values[5]); /* HH2 */
	rfx_quantization_decode(buffer + 3840, 64, test_quantization_values[6]); /* HL3 */
	rfx_quantization_decode(buffer + 3904, 64, test_quantization_values[7]); /* LH3 */
	rfx_quantization_decode(buffer + 3868, 64, test_quantization_values[8]); /* HH3 */
	rfx_quantization_decode(buffer + 4032, 64, test_quantization_values[9]); /* LL3 */
	//dump_buffer(buffer, 4096);
}
예제 #2
0
void test_quantization(void)
{
	rfx_quantization_decode(buffer, test_quantization_values);
	//dump_buffer(buffer, 4096);
}