Home
last modified time | relevance | path

Searched refs:H264Parser (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/media/filters/
Dh264_parser_unittest.cc25 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()
Dh264_parser.cc121 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 …]
Dh264_parser.h315 class MEDIA_EXPORT H264Parser {
338 H264Parser();
339 ~H264Parser();
462 DISALLOW_COPY_AND_ASSIGN(H264Parser);
/external/chromium_org/media/formats/mp2t/
Des_parser_h264.cc31 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()
Des_parser_h264.h22 class H264Parser; variable
76 scoped_ptr<H264Parser> h264_parser_;
Des_parser_h264_unittest.cc77 bool success = H264Parser::FindStartCode( in GetAccessUnits()
/external/chromium_org/media/formats/mp4/
Davc.cc81 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()
Davc_unittest.cc162 H264Parser parser; in AnnexBToString()
167 while (parser.AdvanceToNextNALU(&nalu) == H264Parser::kOk) { in AnnexBToString()
/external/chromium_org/content/common/gpu/media/
Dv4l2_video_decode_accelerator.h34 class H264Parser; variable
365 scoped_ptr<media::H264Parser> decoder_h264_parser_;
Dvideo_encode_accelerator_unittest.cc365 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()
Dvt_video_decode_accelerator.cc227 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()
Dvt_video_decode_accelerator.h148 media::H264Parser parser_;
Dvaapi_h264_decoder.cc1582 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()
Dvaapi_h264_decoder.h228 media::H264Parser parser_;
Dv4l2_video_decode_accelerator.cc294 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()
Dvideo_decode_accelerator_unittest.cc720 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/
Drtc_video_encoder.cc38 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()