/external/chromium_org/media/formats/mp4/ |
D | avc.cc | 85 H264NALU nalu; in InsertParamSetsAnnexB() local 86 if (parser->AdvanceToNextNALU(&nalu) != H264Parser::kOk) in InsertParamSetsAnnexB() 93 if (nalu.nal_unit_type == H264NALU::kAUD) { in InsertParamSetsAnnexB() 95 config_insert_point += (nalu.data + nalu.size) - start; in InsertParamSetsAnnexB() 196 H264NALU nalu; in IsValidAnnexB() local 201 switch (parser.AdvanceToNextNALU(&nalu)) { in IsValidAnnexB() 203 DVLOG(1) << "nal_unit_type " << nalu.nal_unit_type; in IsValidAnnexB() 205 switch (nalu.nal_unit_type) { in IsValidAnnexB() 223 DVLOG(1) << "Unexpected NALU type " << nalu.nal_unit_type in IsValidAnnexB() 276 DVLOG(1) << "Unexpected NALU type " << nalu.nal_unit_type in IsValidAnnexB() [all …]
|
D | avc_unittest.cc | 156 H264NALU nalu; in AnnexBToString() local 158 while (parser.AdvanceToNextNALU(&nalu) == H264Parser::kOk) { in AnnexBToString() 164 ss << NALUTypeToString(nalu.nal_unit_type); in AnnexBToString()
|
/external/chromium_org/media/filters/ |
D | h264_parser_unittest.cc | 33 H264NALU nalu; in TEST() local 34 H264Parser::Result res = parser.AdvanceToNextNALU(&nalu); in TEST() 46 switch (nalu.nal_unit_type) { in TEST() 49 ASSERT_EQ(parser.ParseSliceHeader(nalu, &shdr), H264Parser::kOk); in TEST()
|
D | h264_parser.cc | 274 H264Parser::Result H264Parser::AdvanceToNextNALU(H264NALU* nalu) { in AdvanceToNextNALU() argument 283 nalu->data = stream_ + start_code_size; in AdvanceToNextNALU() 284 nalu->size = nalu_size_with_start_code - start_code_size; in AdvanceToNextNALU() 288 if (!br_.Initialize(nalu->data, nalu->size)) in AdvanceToNextNALU() 303 READ_BITS_OR_RETURN(2, &nalu->nal_ref_idc); in AdvanceToNextNALU() 304 READ_BITS_OR_RETURN(5, &nalu->nal_unit_type); in AdvanceToNextNALU() 306 DVLOG(4) << "NALU type: " << static_cast<int>(nalu->nal_unit_type) in AdvanceToNextNALU() 307 << " at: " << reinterpret_cast<const void*>(nalu->data) in AdvanceToNextNALU() 308 << " size: " << nalu->size in AdvanceToNextNALU() 309 << " ref: " << static_cast<int>(nalu->nal_ref_idc); in AdvanceToNextNALU() [all …]
|
D | h264_parser.h | 309 Result AdvanceToNextNALU(H264NALU* nalu); 340 Result ParseSliceHeader(const H264NALU& nalu, H264SliceHeader* shdr);
|
/external/chromium_org/media/formats/mp2t/ |
D | es_parser_h264.cc | 163 H264NALU nalu; in ParseInternal() local 164 switch (h264_parser_->AdvanceToNextNALU(&nalu)) { in ParseInternal() 177 switch (nalu.nal_unit_type) { in ParseInternal() 198 is_key_frame = (nalu.nal_unit_type == H264NALU::kIDRSlice); in ParseInternal() 201 if (h264_parser_->ParseSliceHeader(nalu, &shdr) != H264Parser::kOk) { in ParseInternal() 214 DVLOG(LOG_LEVEL_ES) << "NALU: " << nalu.nal_unit_type; in ParseInternal()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
D | r600_asm.c | 1433 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); in r600_bytecode_add_alu_type() local 1437 if (nalu == NULL) in r600_bytecode_add_alu_type() 1439 memcpy(nalu, alu, sizeof(struct r600_bytecode_alu)); in r600_bytecode_add_alu_type() 1459 free(nalu); in r600_bytecode_add_alu_type() 1467 if (nalu->src[i].rel && !bc->ar_loaded) in r600_bytecode_add_alu_type() 1470 if (nalu->dst.rel && !bc->ar_loaded) in r600_bytecode_add_alu_type() 1475 if ((r = r600_bytecode_alloc_kcache_lines(bc, nalu, type))) { in r600_bytecode_add_alu_type() 1476 free(nalu); in r600_bytecode_add_alu_type() 1481 bc->cf_last->curr_bs_head = nalu; in r600_bytecode_add_alu_type() 1485 if (nalu->src[i].sel >= bc->ngpr && nalu->src[i].sel < 128) { in r600_bytecode_add_alu_type() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 1433 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); in r600_bytecode_add_alu_type() local 1437 if (nalu == NULL) in r600_bytecode_add_alu_type() 1439 memcpy(nalu, alu, sizeof(struct r600_bytecode_alu)); in r600_bytecode_add_alu_type() 1459 free(nalu); in r600_bytecode_add_alu_type() 1467 if (nalu->src[i].rel && !bc->ar_loaded) in r600_bytecode_add_alu_type() 1470 if (nalu->dst.rel && !bc->ar_loaded) in r600_bytecode_add_alu_type() 1475 if ((r = r600_bytecode_alloc_kcache_lines(bc, nalu, type))) { in r600_bytecode_add_alu_type() 1476 free(nalu); in r600_bytecode_add_alu_type() 1481 bc->cf_last->curr_bs_head = nalu; in r600_bytecode_add_alu_type() 1485 if (nalu->src[i].sel >= bc->ngpr && nalu->src[i].sel < 128) { in r600_bytecode_add_alu_type() [all …]
|
/external/chromium_org/content/common/gpu/media/ |
D | v4l2_video_decode_accelerator.cc | 622 media::H264NALU nalu; in AdvanceFrameFragment() local 630 result = decoder_h264_parser_->AdvanceToNextNALU(&nalu); in AdvanceFrameFragment() 639 switch (nalu.nal_unit_type) { in AdvanceFrameFragment() 642 if (nalu.size < 1) in AdvanceFrameFragment() 649 if (nalu.data[1] >= 0x80) { in AdvanceFrameFragment() 685 *endpos = (nalu.data + nalu.size) - data; in AdvanceFrameFragment()
|
D | vaapi_h264_decoder.cc | 1583 media::H264NALU nalu; in Decode() local 1598 par_res = parser_.AdvanceToNextNALU(&nalu); in Decode() 1604 DVLOG(4) << "NALU found: " << static_cast<int>(nalu.nal_unit_type); in Decode() 1606 switch (nalu.nal_unit_type) { in Decode() 1624 par_res = parser_.ParseSliceHeader(nalu, &slice_hdr); in Decode() 1680 DVLOG(4) << "Skipping NALU type: " << nalu.nal_unit_type; in Decode()
|
D | video_encode_accelerator_unittest.cc | 261 media::H264NALU nalu; in ProcessStreamBuffer() local 264 result = h264_parser.AdvanceToNextNALU(&nalu); in ProcessStreamBuffer() 272 switch (nalu.nal_unit_type) { in ProcessStreamBuffer()
|
D | video_decode_accelerator_unittest.cc | 756 media::H264NALU nalu; in FragmentHasConfigInfo() local 757 media::H264Parser::Result result = parser.AdvanceToNextNALU(&nalu); in FragmentHasConfigInfo() 763 return nalu.nal_unit_type == media::H264NALU::kSPS; in FragmentHasConfigInfo()
|