Lines Matching refs:asset

118 static int chs_parse_header(DCAXllDecoder *s, DCAXllChSet *c, DCAExssAsset *asset)
177 if (asset->one_to_one_map_ch_to_spkr) {
905 static int parse_sub_headers(DCAXllDecoder *s, DCAExssAsset *asset)
917 if ((ret = chs_parse_header(s, c, asset)) < 0)
1043 static int parse_frame(DCAXllDecoder *s, const uint8_t *data, int size, DCAExssAsset *asset)
1051 if ((ret = parse_sub_headers(s, asset)) < 0)
1084 static int parse_frame_no_pbr(DCAXllDecoder *s, const uint8_t *data, int size, DCAExssAsset *asset)
1086 int ret = parse_frame(s, data, size, asset);
1090 if (ret == AVERROR(EAGAIN) && asset->xll_sync_present && asset->xll_sync_offset < size) {
1092 data += asset->xll_sync_offset;
1093 size -= asset->xll_sync_offset;
1098 if (asset->xll_delay_nframes > 0) {
1099 if ((ret = copy_to_pbr(s, data, size, asset->xll_delay_nframes)) < 0)
1105 ret = parse_frame(s, data, size, asset);
1122 static int parse_frame_pbr(DCAXllDecoder *s, const uint8_t *data, int size, DCAExssAsset *asset)
1138 if ((ret = parse_frame(s, s->pbr_buffer, s->pbr_length, asset)) < 0)
1163 int ff_dca_xll_parse(DCAXllDecoder *s, const uint8_t *data, DCAExssAsset *asset)
1167 if (s->hd_stream_id != asset->hd_stream_id) {
1169 s->hd_stream_id = asset->hd_stream_id;
1173 ret = parse_frame_pbr(s, data + asset->xll_offset, asset->xll_size, asset);
1175 ret = parse_frame_no_pbr(s, data + asset->xll_offset, asset->xll_size, asset);
1328 DCAExssAsset *asset = &dca->exss.assets[0];
1459 if (!asset->one_to_one_map_ch_to_spkr) {
1460 if (asset->representation_type == DCA_REPR_TYPE_LtRt)
1462 else if (asset->representation_type == DCA_REPR_TYPE_LhRh)