Searched refs:H264Parser (Results 1 – 14 of 14) sorted by relevance
/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 | 124 H264Parser::H264Parser() { in H264Parser() function in media::H264Parser 128 H264Parser::~H264Parser() { in ~H264Parser() 133 void H264Parser::Reset() { in Reset() 138 void H264Parser::SetStream(const uint8* stream, off_t stream_size) { in SetStream() 146 const H264PPS* H264Parser::GetPPS(int pps_id) { in GetPPS() 150 const H264SPS* H264Parser::GetSPS(int sps_id) { in GetSPS() 159 bool H264Parser::FindStartCode(const uint8* data, off_t data_size, in FindStartCode() 194 bool H264Parser::LocateNALU(off_t* nalu_size, off_t* start_code_size) { in LocateNALU() 232 H264Parser::Result H264Parser::ReadUE(int* val) { in ReadUE() 257 H264Parser::Result H264Parser::ReadSE(int* val) { in ReadSE() [all …]
|
D | h264_parser.h | 272 class MEDIA_EXPORT H264Parser { 295 H264Parser(); 296 ~H264Parser(); 405 DISALLOW_COPY_AND_ASSIGN(H264Parser);
|
/external/chromium_org/media/formats/mp2t/ |
D | es_parser_h264.cc | 32 h264_parser_(new H264Parser()), in EsParserH264() 83 h264_parser_.reset(new H264Parser()); in Reset() 99 bool start_code_found = H264Parser::FindStartCode( in FindAUD() 165 case H264Parser::kOk: in ParseInternal() 167 case H264Parser::kInvalidStream: in ParseInternal() 168 case H264Parser::kUnsupportedStream: in ParseInternal() 170 case H264Parser::kEOStream: in ParseInternal() 185 if (h264_parser_->ParseSPS(&sps_id) != H264Parser::kOk) in ParseInternal() 192 if (h264_parser_->ParsePPS(&pps_id) != H264Parser::kOk) in ParseInternal() 201 if (h264_parser_->ParseSliceHeader(nalu, &shdr) != H264Parser::kOk) { in ParseInternal()
|
D | es_parser_h264.h | 21 class H264Parser; variable 86 scoped_ptr<H264Parser> h264_parser_; in NON_EXPORTED_BASE()
|
D | es_parser_h264_unittest.cc | 63 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() 185 H264Parser parser; in IsValidAnnexB() 202 case H264Parser::kOk: in IsValidAnnexB() 294 case H264Parser::kInvalidStream: in IsValidAnnexB() 297 case H264Parser::kUnsupportedStream: in IsValidAnnexB() 301 case H264Parser::kEOStream: in IsValidAnnexB()
|
D | avc_unittest.cc | 153 H264Parser parser; in AnnexBToString() 158 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 | 257 media::H264Parser h264_parser; in ProcessStreamBuffer() 262 media::H264Parser::Result result; in ProcessStreamBuffer() 265 if (result == media::H264Parser::kEOStream) in ProcessStreamBuffer() 268 ASSERT_EQ(result, media::H264Parser::kOk); in ProcessStreamBuffer()
|
D | vaapi_h264_decoder.h | 228 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 | 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() 1375 decoder_h264_parser_.reset(new media::H264Parser()); in ResetDoneTask()
|
D | video_decode_accelerator_unittest.cc | 754 media::H264Parser parser; in FragmentHasConfigInfo() 757 media::H264Parser::Result result = parser.AdvanceToNextNALU(&nalu); in FragmentHasConfigInfo() 758 if (result != media::H264Parser::kOk) { in FragmentHasConfigInfo()
|