IMA/DVI ADPCM functions usage.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
#include <avr32/io.h>
#include "compiler.h"
#include "board.h"
#include "dsp.h"
#include "sysclk.h"
#include "cycle_counter.h"
Macros | |
#define | NSAMPLES 100 |
Functions | |
int | main (int argc, char *argv[]) |
The main function. More... | |
Variables | |
char | cbuf [NSAMPLES] |
short | new_sbuf [NSAMPLES] |
short | sbuf [NSAMPLES] |
#define NSAMPLES 100 |
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function.
References cbuf, DSP16_Q, dsp_adpcm_ima_decode(), dsp_adpcm_ima_encode(), dsp_debug_initialization, FOSC0, Get_sys_count, i, new_sbuf, NSAMPLES, predicted_value, sbuf, step_index, and sysclk_init().
char cbuf[NSAMPLES] |
short new_sbuf[NSAMPLES] |
short sbuf[NSAMPLES] |