Home
last modified time | relevance | path

Searched refs:nals (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh2645_parse.c463 if (new_size >= INT_MAX / sizeof(*pkt->nals)) in ff_h2645_packet_split()
466 tmp = av_fast_realloc(pkt->nals, &pkt->nal_buffer_size, new_size * sizeof(*pkt->nals)); in ff_h2645_packet_split()
470 pkt->nals = tmp; in ff_h2645_packet_split()
471 memset(pkt->nals + pkt->nals_allocated, 0, sizeof(*pkt->nals)); in ff_h2645_packet_split()
473 nal = &pkt->nals[pkt->nb_nals]; in ff_h2645_packet_split()
481 nal = &pkt->nals[pkt->nb_nals]; in ff_h2645_packet_split()
532 av_freep(&pkt->nals[i].skipped_bytes_pos); in ff_h2645_packet_uninit()
534 av_freep(&pkt->nals); in ff_h2645_packet_uninit()
Dlibxavs.c86 xavs_nal_t *nals, int nnal) in encode_nals() argument
97 size += 3U + nals[i].i_payload; in encode_nals()
113 s = xavs_nal_encode(p, &size, 1, nals + i); in encode_nals()
116 if (s != 3U + nals[i].i_payload) in encode_nals()
Dh2645_parse.h83 H2645NAL *nals; member
Dhevc_parse.c39 H2645NAL *nal = &pkt.nals[i]; in hevc_decode_nal_units()
Dextract_extradata_bsf.c165 H2645NAL *nal = &s->h2645_pkt.nals[i]; in extract_extradata_h2645()
208 H2645NAL *nal = &s->h2645_pkt.nals[i]; in extract_extradata_h2645()
Domx.c706 int nals[32] = { 0 }; in omx_encode_init() local
713 nals[avctx->extradata[i + 4] & 0x1f]++; in omx_encode_init()
716 if (nals[H264_NAL_SPS] && nals[H264_NAL_PPS]) in omx_encode_init()
Dlibx264.c138 const x264_nal_t *nals, int nnal) in encode_nals() argument
149 size += nals[i].i_payload; in encode_nals()
175 memcpy(p, nals[0].p_payload, size); in encode_nals()
Dhevc_parser.c204 H2645NAL *nal = &ctx->pkt.nals[i]; in parse_nal_units()
Dh264dec.c500 H2645NAL *nal = &h->pkt.nals[i]; in get_last_needed_nal()
612 H2645NAL *nal = &h->pkt.nals[i]; in decode_nal_units()
Dh264_parse.c379 H2645NAL *nal = &pkt.nals[i]; in decode_extradata_ps()
Dhevcdec.c3312 if (s->pkt.nals[i].type == HEVC_NAL_EOB_NUT || in decode_nal_units()
3313 s->pkt.nals[i].type == HEVC_NAL_EOS_NUT) { in decode_nal_units()
3332 if (s->pkt.nb_nals > 1 && s->pkt.nals[s->pkt.nb_nals - 1].type == HEVC_NAL_UNSPEC62 && in decode_nal_units()
3333 s->pkt.nals[s->pkt.nb_nals - 1].size > 2 && !s->pkt.nals[s->pkt.nb_nals - 1].nuh_layer_id in decode_nal_units()
3334 && !s->pkt.nals[s->pkt.nb_nals - 1].temporal_id) { in decode_nal_units()
3335 H2645NAL *nal = &s->pkt.nals[s->pkt.nb_nals - 1]; in decode_nal_units()
3356 H2645NAL *nal = &s->pkt.nals[i]; in decode_nal_units()
Dcbs_h2645.c476 const H2645NAL *nal = &packet->nals[i]; in cbs_h2645_fragment_add_nals()
/third_party/ffmpeg/tests/api/
Dapi-h264-slice-test.c118 int nals = 0, ret = 0; in main() local
204 if (++nals >= threads) { in main()
212 nals = 0; in main()
217 if (nals) { in main()