Lines Matching defs:lxf
201 LXFDemuxContext *lxf = s->priv_data;
246 if ((lxf->channels = (disk_params >> 2) & 0xF)) {
252 st->codec->channels = lxf->channels;
266 * De-planerize the PCM data in lxf->temp
272 static void deplanarize(LXFDemuxContext *lxf, AVStream *ast, uint8_t *out, int bytes)
276 for (z = i = 0; z < lxf->channels; z++)
277 for (y = 0; y < bytes / bytes_per_sample / lxf->channels; y++)
279 out[x + bytes_per_sample*(z + y*lxf->channels)] = lxf->temp[i];
284 LXFDemuxContext *lxf = s->priv_data;
316 //read non-20-bit audio data into lxf->temp so we can deplanarize it
317 buf = ast && ast->codec->codec_id != CODEC_ID_PCM_LXF ? lxf->temp : pkt->data;
328 deplanarize(lxf, ast, pkt->data, ret);
334 pkt->dts = lxf->frame_number++;
341 .name = "lxf",