/external/chromium_org/media/filters/ |
h264_to_annex_b_bitstream_converter.cc | 15 static bool IsAccessUnitBoundaryNal(int nal_unit_type) { 18 if (nal_unit_type == 6 || // Supplemental enhancement information 19 nal_unit_type == 7 || // Picture parameter set 20 nal_unit_type == 8 || // Sequence parameter set 21 nal_unit_type == 9 || // Access unit delimiter 22 (nal_unit_type >= 14 && nal_unit_type <= 18)) { // Reserved types 137 // five least significant bits of first NAL unit byte signify nal_unit_type 138 int nal_unit_type = *input & 0x1F; local 140 IsAccessUnitBoundaryNal(nal_unit_type)) { 284 int nal_unit_type = *inscan & 0x1F; local [all...] |
/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/content/common/gpu/media/ |
h264_parser_unittest.cc | 49 switch (nalu.nal_unit_type) {
|
h264_parser.h | 43 int nal_unit_type; member in struct:content::H264NALU
|
h264_parser.cc | 282 READ_BITS_OR_RETURN(5, &nalu->nal_unit_type); 284 DVLOG(4) << "NALU type: " << static_cast<int>(nalu->nal_unit_type) 954 shdr->idr_pic_flag = (nalu.nal_unit_type == 5); [all...] |
vaapi_h264_decoder.cc | [all...] |
exynos_video_decode_accelerator.cc | 786 switch (nalu.nal_unit_type) { [all...] |
/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...] |
motion_est.cpp | 236 /* if turns out to be IDR frame, set video->nal_unit_type to AVC_NALTYPE_IDR */ 438 //video->nal_unit_type = AVC_NALTYPE_IDR; 439 video->nal_unit_type = AVC_NALTYPE_SLICE; [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
h264_utils.cpp | 1380 OMX_U32 nal_unit_type = NALU_TYPE_UNSPECIFIED, cons_bytes = 0; local [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
h264_utils.cpp | 1294 OMX_U32 nal_unit_type = NALU_TYPE_UNSPECIFIED, cons_bytes = 0; local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
dpb.cpp | 352 if (video->nal_unit_type == AVC_NALTYPE_IDR) 426 if (video->nal_unit_type != AVC_NALTYPE_IDR && video->currPic->isLongTerm == FALSE)
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
M4MCS_API.c | 742 M4OSA_Int32 forbidden_bit, nal_ref_idc, nal_unit_type; local 841 nal_unit_type = (nalu_info) &0x1f; 847 if( nal_unit_type == 8 ) 853 if( nal_unit_type == 7 ) 860 if( (nal_unit_type == 5) ) 866 if( ( nal_unit_type == 1) || (nal_unit_type == 5) ) 888 if( nal_unit_type == 5 ) 1294 M4OSA_Int32 forbidden_bit, nal_ref_idc, nal_unit_type; local 1745 M4OSA_Int32 forbidden_bit, nal_ref_idc, nal_unit_type; local [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/ |
h264_utils.h | 453 OMX_U32 get_nal_unit_type(OMX_U32 *nal_unit_type);
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
h264_utils.h | 453 OMX_U32 get_nal_unit_type(OMX_U32 *nal_unit_type);
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
avcint_common.h | 395 /* if(nal_unit_type == 5) */ 654 AVCNalUnitType nal_unit_type; member in struct:tagCommonObj 657 uint slice_data_partitioning; /* flag when nal_unit_type is between 2 and 4 */ [all...] |
/external/chromium_org/media/base/ |
container_names.cc | 574 // Extract nal_ref_idc and nal_unit_type. 576 int nal_unit_type = ReadBits(&reader, 5); local 578 switch (nal_unit_type) { [all...] |