HomeSort by relevance Sort by last modified time
    Searched refs:nal_unit_type (Results 1 - 25 of 35) sorted by null

1 2

  /external/chromium_org/media/filters/
h264_to_annex_b_bitstream_converter.cc 18 static bool IsAccessUnitBoundaryNal(int nal_unit_type) {
21 if (nal_unit_type == 6 || // Supplemental enhancement information
22 nal_unit_type == 7 || // Picture parameter set
23 nal_unit_type == 8 || // Sequence parameter set
24 nal_unit_type == 9 || // Access unit delimiter
25 (nal_unit_type >= 14 && nal_unit_type <= 18)) { // Reserved types
115 // five least significant bits of first NAL unit byte signify nal_unit_type
116 int nal_unit_type = *input & 0x1F; local
118 IsAccessUnitBoundaryNal(nal_unit_type)) {
197 int nal_unit_type = *inscan & 0x1F; local
    [all...]
h264_parser_unittest.cc 46 switch (nalu.nal_unit_type) {
h264_parser.cc 304 READ_BITS_OR_RETURN(5, &nalu->nal_unit_type);
306 DVLOG(4) << "NALU type: " << static_cast<int>(nalu->nal_unit_type)
    [all...]
h264_parser.h 55 int nal_unit_type; member in struct:media::H264NALU
  /external/chromium_org/media/formats/mp4/
avc.cc 93 if (nalu.nal_unit_type == H264NALU::kAUD) {
203 DVLOG(1) << "nal_unit_type " << nalu.nal_unit_type;
205 switch (nalu.nal_unit_type) {
223 DVLOG(1) << "Unexpected NALU type " << nalu.nal_unit_type
276 DVLOG(1) << "Unexpected NALU type " << nalu.nal_unit_type
283 DCHECK_GE(nalu.nal_unit_type, 20);
284 if (nalu.nal_unit_type >= 20 && nalu.nal_unit_type <= 31 &&
286 DVLOG(1) << "Unexpected NALU type " << nalu.nal_unit_type
    [all...]
avc_unittest.cc 164 ss << NALUTypeToString(nalu.nal_unit_type);
  /hardware/qcom/media/mm-video-legacy/vidc/common/src/
extra_data_handler.cpp 129 OMX_U32 nal_unit_type, nal_ref_idc, forbidden_zero_bit; local
151 nal_unit_type = (buf[i++] & 0x1F);
162 return nal_unit_type;
166 OMX_U32 nal_unit_type, payload_type = 0, payload_size = 0; local
169 nal_unit_type = parse_rbsp(buffer, buffer_length);
171 if (nal_unit_type != NAL_TYPE_SEI) {
  /hardware/qcom/media/mm-video-v4l2/vidc/common/src/
extra_data_handler.cpp 136 OMX_U32 nal_unit_type, nal_ref_idc, forbidden_zero_bit; local
162 nal_unit_type = (buf[i++] & 0x1F);
174 return nal_unit_type;
178 OMX_U32 nal_unit_type, payload_type = 0, payload_size = 0; local
181 nal_unit_type = parse_rbsp(buffer, buffer_length);
183 if (nal_unit_type != NAL_TYPE_SEI) {
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H264TrackImpl.java 250 int nal_unit_type = type & 0x1f; local
251 LOG.fine("Found startcode at " + (pos -4) + " Type: " + nal_unit_type + " ref idc: " + nal_ref_idc + " (size " + size + ")");
252 NALActions action = handleNALUnit(nal_ref_idc, nal_unit_type, data);
267 if (nal_unit_type == 5) {
280 if (nal_unit_type == 5) { // IDR Picture
344 private NALActions handleNALUnit(int nal_ref_idc, int nal_unit_type, byte[] data) throws IOException {
346 switch (nal_unit_type) {
395 System.err.println("Unknown NAL unit type: " + nal_unit_type);
  /external/chromium_org/media/formats/mp2t/
es_parser_h264.cc 110 // - nal_unit_type must be H264NALU::kAUD
177 switch (nalu.nal_unit_type) {
198 is_key_frame = (nalu.nal_unit_type == H264NALU::kIDRSlice);
214 DVLOG(LOG_LEVEL_ES) << "NALU: " << nalu.nal_unit_type;
es_parser_h264_unittest.cc 81 int nal_unit_type = stream[offset] & 0x1f; local
84 if (nal_unit_type == H264NALU::kIDRSlice ||
85 nal_unit_type == H264NALU::kNonIDRSlice) {
  /hardware/intel/common/libmix/videodecoder/securevideo/baytrail/
secvideoparser.h 91 uint8_t nal_unit_type; member in struct:_slice_header_t
  /hardware/intel/common/libmix/videodecoder/securevideo/cherrytrail/
secvideoparser.h 91 uint8_t nal_unit_type; member in struct:_slice_header_t
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
header.cpp 351 if (video->nal_unit_type == AVC_NALTYPE_IDR)
592 if (video->nal_unit_type == AVC_NALTYPE_IDR)
660 if (video->nal_unit_type == AVC_NALTYPE_IDR)
675 if (video->nal_unit_type == AVC_NALTYPE_IDR)
717 if (video->nal_unit_type == AVC_NALTYPE_IDR)
834 if (video->nal_unit_type == AVC_NALTYPE_IDR)
847 if (video->nal_unit_type == AVC_NALTYPE_IDR)
    [all...]
rate_control.cpp 74 video->nal_unit_type = AVC_NALTYPE_IDR;
122 video->nal_unit_type = AVC_NALTYPE_IDR;
129 video->nal_unit_type = AVC_NALTYPE_SLICE;
799 int nal_type = video->nal_unit_type;
    [all...]
avcenc_api.cpp 307 /* Also set video->nal_unit_type, sliceHdr->slice_type, video->slice_type */
440 BitstreamWriteBits(bitstream, 8, (video->nal_ref_idc << 5) | (video->nal_unit_type));
471 *nal_type = video->nal_unit_type;
init.cpp 713 if (video->nal_unit_type == AVC_NALTYPE_IDR)
745 if (video->nal_unit_type == AVC_NALTYPE_IDR)
785 if (video->nal_unit_type == AVC_NALTYPE_IDR)
    [all...]
  /hardware/intel/common/libmix/videoencoder/
bitstream.h 144 static void nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type)
148 bitstream_put_ui(bs, nal_unit_type, 5);