HomeSort by relevance Sort by last modified time
    Searched refs:nalu (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/media/filters/
h264_parser_unittest.cc 33 H264NALU nalu; local
34 H264Parser::Result res = parser.AdvanceToNextNALU(&nalu);
46 switch (nalu.nal_unit_type) {
49 ASSERT_EQ(parser.ParseSliceHeader(nalu, &shdr), H264Parser::kOk);
65 // Skip unsupported NALU.
66 DVLOG(4) << "Skipping unsupported NALU";
h264_parser.cc 211 // Find the start code of next NALU.
221 // Move the stream to the beginning of the NALU (pointing at the start code).
232 // Find the start code of next NALU;
235 // if next start code is not found, it is still a valid NALU since there
237 // belong to the current NALU.
328 H264Parser::Result H264Parser::AdvanceToNextNALU(H264NALU* nalu) {
332 DVLOG(4) << "Could not find next NALU, bytes left in stream: "
337 nalu->data = stream_ + start_code_size;
338 nalu->size = nalu_size_with_start_code - start_code_size;
339 DVLOG(4) << "NALU found: size=" << nalu_size_with_start_code
    [all...]
h264_parser.h 56 off_t size; // From after start code to start code of next NALU (or EOS).
324 // Find offset from start of data to next NALU start code
350 // Read the stream to find the next NALU, identify it and return
351 // that information in |*nalu|. This advances the stream to the beginning
352 // of this NALU, but not past it, so subsequent calls to NALU-specific
353 // parsing functions (ParseSPS, etc.) will parse this NALU.
354 // If the caller wishes to skip the current NALU, it can call this function
355 // again, instead of any NALU-type specific parse functions below.
356 Result AdvanceToNextNALU(H264NALU* nalu);
    [all...]
  /external/chromium_org/media/formats/mp4/
avc.cc 85 H264NALU nalu; local
86 if (parser->AdvanceToNextNALU(&nalu) != H264Parser::kOk)
93 if (nalu.nal_unit_type == H264NALU::kAUD) {
95 config_insert_point += (nalu.data + nalu.size) - start;
173 // Verifies AnnexB NALU order according to ISO/IEC 14496-10 Section 7.4.1.2.3
198 H264NALU nalu; local
203 switch (parser.AdvanceToNextNALU(&nalu)) {
205 DVLOG(1) << "nal_unit_type " << nalu.nal_unit_type;
207 switch (nalu.nal_unit_type)
    [all...]
avc_unittest.cc 146 // like a SPS NALU.
165 H264NALU nalu; local
167 while (parser.AdvanceToNextNALU(&nalu) == H264Parser::kOk) {
173 ss << NALUTypeToString(nalu.nal_unit_type);
212 // Intentionally write NALU sizes that are larger than the buffer.
  /external/chromium_org/content/common/gpu/media/
vt_video_decode_accelerator.cc 26 // Size of NALU length headers in AVCC/MPEG-4 format (can be 1, 2, or 4).
225 media::H264NALU nalu; local
227 media::H264Parser::Result result = parser_.AdvanceToNextNALU(&nalu);
232 if (nalu.nal_unit_type == media::H264NALU::kSPS ||
233 nalu.nal_unit_type == media::H264NALU::kPPS ||
234 nalu.nal_unit_type == media::H264NALU::kSPSExt) {
235 DVLOG(2) << "Parameter set " << nalu.nal_unit_type;
236 config_nalu_data_ptrs.push_back(nalu.data);
237 config_nalu_data_sizes.push_back(nalu.size);
239 nalus.push_back(nalu);
276 media::H264NALU& nalu = nalus[i]; local
    [all...]
vaapi_h264_decoder.cc 1583 media::H264NALU nalu; local
    [all...]
video_encode_accelerator_unittest.cc 360 // Set to true when encoder provides us with the corresponding NALU type.
372 media::H264NALU nalu; local
375 result = h264_parser_.AdvanceToNextNALU(&nalu);
383 switch (nalu.nal_unit_type) {
394 h264_parser_.ParseSliceHeader(nalu, &shdr));
    [all...]
v4l2_video_decode_accelerator.cc 622 media::H264NALU nalu; local
630 result = decoder_h264_parser_->AdvanceToNextNALU(&nalu);
639 switch (nalu.nal_unit_type) {
642 if (nalu.size < 1)
649 if (nalu.data[1] >= 0x80) {
685 *endpos = (nalu.data + nalu.size) - data;
    [all...]
video_decode_accelerator_unittest.cc 86 // - |numfragments| NALU (h264) or frame (VP8) count in the stream.
722 media::H264NALU nalu; local
723 media::H264Parser::Result result = parser.AdvanceToNextNALU(&nalu);
729 return nalu.nal_unit_type == media::H264NALU::kSPS;
    [all...]
  /external/chromium_org/media/formats/mp2t/
es_parser_h264.cc 23 // An AUD NALU is at least 4 bytes:
24 // 3 bytes for the start code + 1 byte for the NALU type.
75 // No H264 start code found or NALU type not available yet.
80 // Note: NALU header for an AUD:
86 // The current NALU is not an AUD, skip the start code
135 H264NALU nalu; local
136 switch (h264_parser_->AdvanceToNextNALU(&nalu)) {
149 switch (nalu.nal_unit_type) {
151 DVLOG(LOG_LEVEL_ES) << "NALU: AUD";
155 DVLOG(LOG_LEVEL_ES) << "NALU: SPS"
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
r600_asm.c 1433 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); local
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/
r600_asm.c 1433 struct r600_bytecode_alu *nalu = r600_bytecode_alu(); local
    [all...]
  /external/chromium_org/content/renderer/media/
rtc_video_encoder.cc 34 // Each entry specifies the offset and length (excluding start code) of a NALU.
43 media::H264NALU nalu; local
44 const media::H264Parser::Result result = parser.AdvanceToNextNALU(&nalu);
46 nalu_vector.push_back(nalu);
  /hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
h264_utils.h 115 //std::vector<uint8> nalu;
116 uint32 nalu; member in struct:H264ParamNalu
147 } NALU;
160 ** This class is used to convert an H.264 NALU (network abstraction layer
201 OMX_OUT NALU *nal_unit);
208 NALU m_prv_nalu;
  /hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
h264_utils.h 120 //std::vector<uint8> nalu;
121 uint32 nalu; member in struct:H264ParamNalu
152 } NALU;
165 ** This class is used to convert an H.264 NALU (network abstraction layer
206 OMX_OUT NALU *nal_unit);
213 NALU m_prv_nalu;

Completed in 355 milliseconds