Lines Matching defs:pos

782         mp4->moov_size += mp4->mvhd_atom_buf.last - mp4->mvhd_atom_buf.pos;
1084 atom->pos = ftyp_atom;
1155 atom->pos = mp4->moov_atom_header;
1251 atom->pos = atom_header;
1387 atom->pos = atom_header;
1421 atom->pos = atom_header;
1455 ngx_mp4_set_32value(atom->pos, trak->size);
1594 atom->pos = atom_header;
1621 atom->pos = atom_header;
1638 ngx_mp4_set_32value(atom->pos, trak->size);
1756 atom->pos = atom_header;
1786 atom->pos = atom_header;
1814 atom->pos = atom_header;
1834 ngx_mp4_set_32value(atom->pos, trak->size);
1857 atom->pos = atom_header;
1888 atom->pos = atom_header;
1919 atom->pos = atom_header;
1947 atom->pos = atom_header;
1964 ngx_mp4_set_32value(atom->pos, trak->size);
2015 atom->pos = atom_header;
2085 atom->pos = atom_header;
2090 data->pos = atom_table;
2138 atom_size = sizeof(ngx_mp4_stts_atom_t) + (data->last - data->pos);
2142 stts_atom = (ngx_mp4_stts_atom_t *) atom->pos;
2182 entry = (ngx_mp4_stts_entry_t *) data->pos;
2225 data->pos = (u_char *) entry;
2292 atom->pos = atom_header;
2307 data->pos = atom_table;
2350 entry = (uint32_t *) data->pos;
2366 atom_size = sizeof(ngx_http_mp4_stss_atom_t) + (data->last - data->pos);
2370 stss_atom = (ngx_http_mp4_stss_atom_t *) atom->pos;
2408 entry = (uint32_t *) data->pos;
2431 data->pos = (u_char *) entry;
2490 atom->pos = atom_header;
2505 data->pos = atom_table;
2553 atom_size = sizeof(ngx_mp4_ctts_atom_t) + (data->last - data->pos);
2557 ctts_atom = (ngx_mp4_ctts_atom_t *) atom->pos;
2596 entry = (ngx_mp4_ctts_entry_t *) data->pos;
2617 data->pos = (u_char *) end;
2627 data->pos = (u_char *) entry;
2691 atom->pos = atom_header;
2696 data->pos = atom_table;
2755 entry = (ngx_mp4_stsc_entry_t *) data->pos;
2771 stsc_atom = (ngx_mp4_stsc_atom_t *) atom->pos;
2805 entry = (ngx_mp4_stsc_entry_t *) data->pos;
2827 entry = (ngx_mp4_stsc_entry_t *) data->pos;
2893 data->pos = (u_char *) entry;
2948 buf->pos = (u_char *) first;
2966 buf->pos = (u_char *) first;
3025 atom->pos = atom_header;
3044 data->pos = atom_table;
3068 uint32_t *pos, *end, entries;
3094 data->pos += trak->start_sample * sizeof(uint32_t);
3095 end = (uint32_t *) data->pos;
3097 for (pos = end - trak->start_chunk_samples; pos < end; pos++) {
3098 trak->start_chunk_samples_size += ngx_mp4_get_32value(pos);
3114 data->last = data->pos + entries * sizeof(uint32_t);
3117 for (pos = end - trak->end_chunk_samples; pos < end; pos++) {
3118 trak->end_chunk_samples_size += ngx_mp4_get_32value(pos);
3126 atom_size = sizeof(ngx_mp4_stsz_atom_t) + (data->last - data->pos);
3130 stsz_atom = (ngx_mp4_stsz_atom_t *) atom->pos;
3192 atom->pos = atom_header;
3197 data->pos = atom_table;
3243 data->pos += trak->start_chunk * sizeof(uint32_t);
3245 trak->start_offset = ngx_mp4_get_32value(data->pos);
3247 ngx_mp4_set_32value(data->pos, trak->start_offset);
3262 data->last = data->pos + entries * sizeof(uint32_t);
3283 atom_size = sizeof(ngx_mp4_stco_atom_t) + (data->last - data->pos);
3287 stco_atom = (ngx_mp4_stco_atom_t *) atom->pos;
3312 entry = (uint32_t *) data->pos;
3376 atom->pos = atom_header;
3381 data->pos = atom_table;
3427 data->pos += trak->start_chunk * sizeof(uint64_t);
3429 trak->start_offset = ngx_mp4_get_64value(data->pos);
3431 ngx_mp4_set_64value(data->pos, trak->start_offset);
3446 data->last = data->pos + entries * sizeof(uint64_t);
3467 atom_size = sizeof(ngx_mp4_co64_atom_t) + (data->last - data->pos);
3471 co64_atom = (ngx_mp4_co64_atom_t *) atom->pos;
3496 entry = (uint64_t *) data->pos;