Lines Matching refs:nalu
402 H264NALU nalu; in ParseNALUs() local
403 const H264Parser::Result result = parser.AdvanceToNextNALU(&nalu); in ParseNALUs()
405 nalus->push_back(nalu); in ParseNALUs()
467 H264Parser::Result H264Parser::AdvanceToNextNALU(H264NALU* nalu) { in AdvanceToNextNALU() argument
478 nalu->data = stream_ + start_code_size; in AdvanceToNextNALU()
479 nalu->size = nalu_size_with_start_code - start_code_size; in AdvanceToNextNALU()
483 if (!br_.Initialize(nalu->data, nalu->size)) { in AdvanceToNextNALU()
501 READ_BITS_OR_RETURN(2, &nalu->nal_ref_idc); in AdvanceToNextNALU()
502 READ_BITS_OR_RETURN(5, &nalu->nal_unit_type); in AdvanceToNextNALU()
504 DVLOG(4) << "NALU type: " << static_cast<int>(nalu->nal_unit_type) in AdvanceToNextNALU()
505 << " at: " << reinterpret_cast<const void*>(nalu->data) in AdvanceToNextNALU()
506 << " size: " << nalu->size in AdvanceToNextNALU()
507 << " ref: " << static_cast<int>(nalu->nal_ref_idc); in AdvanceToNextNALU()
1279 H264Parser::Result H264Parser::ParseSliceHeader(const H264NALU& nalu, in ParseSliceHeader() argument
1288 shdr->idr_pic_flag = (nalu.nal_unit_type == 5); in ParseSliceHeader()
1289 shdr->nal_ref_idc = nalu.nal_ref_idc; in ParseSliceHeader()
1290 shdr->nalu_data = nalu.data; in ParseSliceHeader()
1291 shdr->nalu_size = nalu.size; in ParseSliceHeader()
1372 if (nalu.nal_unit_type == H264NALU::kCodedSliceExtension) { in ParseSliceHeader()
1387 if (nalu.nal_ref_idc != 0) { in ParseSliceHeader()