/external/chromium_org/media/filters/ |
D | h264_parser_unittest.cc | 25 H264Parser parser; in TEST() 34 H264Parser::Result res = parser.AdvanceToNextNALU(&nalu); in TEST() 35 if (res == H264Parser::kEOStream) { in TEST() 41 ASSERT_EQ(res, H264Parser::kOk); in TEST() 49 ASSERT_EQ(parser.ParseSliceHeader(nalu, &shdr), H264Parser::kOk); in TEST() 53 ASSERT_EQ(parser.ParseSPS(&id), H264Parser::kOk); in TEST() 57 ASSERT_EQ(parser.ParsePPS(&id), H264Parser::kOk); in TEST() 61 ASSERT_EQ(parser.ParseSEI(&sei_msg), H264Parser::kOk); in TEST()
|
D | h264_parser.cc | 121 H264Parser::H264Parser() { in H264Parser() function in media::H264Parser 125 H264Parser::~H264Parser() { in ~H264Parser() 130 void H264Parser::Reset() { in Reset() 136 void H264Parser::SetStream(const uint8* stream, off_t stream_size) { in SetStream() 141 void H264Parser::SetEncryptedStream( in SetEncryptedStream() 162 const H264PPS* H264Parser::GetPPS(int pps_id) { in GetPPS() 166 const H264SPS* H264Parser::GetSPS(int sps_id) { in GetSPS() 175 bool H264Parser::FindStartCode(const uint8* data, off_t data_size, in FindStartCode() 210 bool H264Parser::LocateNALU(off_t* nalu_size, off_t* start_code_size) { in LocateNALU() 250 bool H264Parser::FindStartCodeInClearRanges( in FindStartCodeInClearRanges() [all …]
|
D | h264_parser.h | 315 class MEDIA_EXPORT H264Parser { 338 H264Parser(); 339 ~H264Parser(); 462 DISALLOW_COPY_AND_ASSIGN(H264Parser);
|
/external/chromium_org/media/formats/mp2t/ |
D | es_parser_h264.cc | 31 h264_parser_(new H264Parser()), in EsParserH264() 55 h264_parser_.reset(new H264Parser()); in ResetInternal() 71 bool start_code_found = H264Parser::FindStartCode( in FindAUD() 137 case H264Parser::kOk: in ParseFromEsQueue() 139 case H264Parser::kInvalidStream: in ParseFromEsQueue() 140 case H264Parser::kUnsupportedStream: in ParseFromEsQueue() 142 case H264Parser::kEOStream: in ParseFromEsQueue() 157 if (h264_parser_->ParseSPS(&sps_id) != H264Parser::kOk) in ParseFromEsQueue() 164 if (h264_parser_->ParsePPS(&pps_id) != H264Parser::kOk) in ParseFromEsQueue() 173 if (h264_parser_->ParseSliceHeader(nalu, &shdr) != H264Parser::kOk) { in ParseFromEsQueue()
|
D | es_parser_h264.h | 22 class H264Parser; variable 76 scoped_ptr<H264Parser> h264_parser_;
|
D | es_parser_h264_unittest.cc | 77 bool success = H264Parser::FindStartCode( in GetAccessUnits()
|
/external/chromium_org/media/formats/mp4/ |
D | avc.cc | 81 scoped_ptr<H264Parser> parser(new H264Parser()); in InsertParamSetsAnnexB() 86 if (parser->AdvanceToNextNALU(&nalu) != H264Parser::kOk) in InsertParamSetsAnnexB() 187 H264Parser parser; in IsValidAnnexB() 204 case H264Parser::kOk: in IsValidAnnexB() 296 case H264Parser::kInvalidStream: in IsValidAnnexB() 299 case H264Parser::kUnsupportedStream: in IsValidAnnexB() 303 case H264Parser::kEOStream: in IsValidAnnexB()
|
D | avc_unittest.cc | 162 H264Parser parser; in AnnexBToString() 167 while (parser.AdvanceToNextNALU(&nalu) == H264Parser::kOk) { in AnnexBToString()
|
/external/chromium_org/content/common/gpu/media/ |
D | v4l2_video_decode_accelerator.h | 34 class H264Parser; variable 365 scoped_ptr<media::H264Parser> decoder_h264_parser_;
|
D | video_encode_accelerator_unittest.cc | 365 media::H264Parser h264_parser_; 373 media::H264Parser::Result result; in ProcessStreamBuffer() 376 if (result == media::H264Parser::kEOStream) in ProcessStreamBuffer() 379 ASSERT_EQ(media::H264Parser::kOk, result); in ProcessStreamBuffer() 393 ASSERT_EQ(media::H264Parser::kOk, in ProcessStreamBuffer() 404 ASSERT_EQ(media::H264Parser::kOk, h264_parser_.ParseSPS(&sps_id)); in ProcessStreamBuffer() 412 ASSERT_EQ(media::H264Parser::kOk, h264_parser_.ParsePPS(&pps_id)); in ProcessStreamBuffer()
|
D | vt_video_decode_accelerator.cc | 227 media::H264Parser::Result result = parser_.AdvanceToNextNALU(&nalu); in DecodeTask() 228 if (result == media::H264Parser::kEOStream) in DecodeTask() 230 CHECK_EQ(result, media::H264Parser::kOk); in DecodeTask()
|
D | vt_video_decode_accelerator.h | 148 media::H264Parser parser_;
|
D | vaapi_h264_decoder.cc | 1582 media::H264Parser::Result par_res; in Decode() 1599 if (par_res == media::H264Parser::kEOStream) in Decode() 1601 else if (par_res != media::H264Parser::kOk) in Decode() 1625 if (par_res != media::H264Parser::kOk) in Decode() 1642 if (par_res != media::H264Parser::kOk) in Decode() 1671 if (par_res != media::H264Parser::kOk) in Decode()
|
D | vaapi_h264_decoder.h | 228 media::H264Parser parser_;
|
D | v4l2_video_decode_accelerator.cc | 294 decoder_h264_parser_.reset(new media::H264Parser()); in Initialize() 623 media::H264Parser::Result result; in AdvanceFrameFragment() 631 if (result == media::H264Parser::kInvalidStream || in AdvanceFrameFragment() 632 result == media::H264Parser::kUnsupportedStream) in AdvanceFrameFragment() 634 if (result == media::H264Parser::kEOStream) { in AdvanceFrameFragment() 1377 decoder_h264_parser_.reset(new media::H264Parser()); in ResetDoneTask()
|
D | video_decode_accelerator_unittest.cc | 720 media::H264Parser parser; in FragmentHasConfigInfo() 723 media::H264Parser::Result result = parser.AdvanceToNextNALU(&nalu); in FragmentHasConfigInfo() 724 if (result != media::H264Parser::kOk) { in FragmentHasConfigInfo()
|
/external/chromium_org/content/renderer/media/ |
D | rtc_video_encoder.cc | 38 media::H264Parser parser; in GetRTPFragmentationHeaderH264() 44 const media::H264Parser::Result result = parser.AdvanceToNextNALU(&nalu); in GetRTPFragmentationHeaderH264() 45 if (result == media::H264Parser::kOk) { in GetRTPFragmentationHeaderH264() 47 } else if (result == media::H264Parser::kEOStream) { in GetRTPFragmentationHeaderH264()
|