/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_pic_order_cnt.c | 56 sps. See standard for description of the POC types and how POC is 64 sps pointer to sequence parameter set 79 i32 h264bsdDecodePicOrderCnt(pocStorage_t *poc, seqParamSet_t *sps, 95 ASSERT(sps); 98 ASSERT(sps->picOrderCntType <= 2); 111 if ( sps->picOrderCntType > 0 && 113 pSliceHeader->frameNum != ((poc->prevFrameNum + 1) % sps->maxFrameNum)) 117 i = (poc->prevFrameNum + 1) % sps->maxFrameNum; 122 frameNumOffset = poc->prevFrameNumOffset + sps->maxFrameNum; 129 i = (i + 1) % sps->maxFrameNum [all...] |
h264bsd_storage.c | 65 static u32 CheckPps(picParamSet_t *pps, seqParamSet_t *sps); 108 Store sequence parameter set into the storage. If active SPS is 142 if (pStorage->sps[id] == NULL) 144 ALLOCATE(pStorage->sps[id], 1, seqParamSet_t); 145 if (pStorage->sps[id] == NULL) 148 /* sequence parameter set with id equal to id of active sps */ 154 * re-activation. Memories allocated for old sps freed 155 * otherwise free memeries allocated for just decoded sps and 159 FREE(pStorage->sps[id]->offsetForRefFrame); 160 FREE(pStorage->sps[id]->vuiParameters) 636 seqParamSet_t *sps; local [all...] |
h264bsd_pic_order_cnt.h | 64 i32 h264bsdDecodePicOrderCnt(pocStorage_t *poc, seqParamSet_t *sps,
|
h264bsd_storage.h | 82 seqParamSet_t *sps[MAX_NUM_SEQ_PARAM_SETS]; member in struct:__anon39090
|
h264bsd_decoder.c | 204 /* Discard unspecified, reserved, SPS extension and auxiliary picture slices */ 207 DEBUG(("DISCARDED NAL (UNSPECIFIED, REGISTERED, SPS ext or AUX slice)\n")); 350 oldSPS = pStorage->sps[pStorage->oldSpsId]; 546 if (pStorage->sps[i]) 548 FREE(pStorage->sps[i]->offsetForRefFrame); 549 FREE(pStorage->sps[i]->vuiParameters); 550 FREE(pStorage->sps[i]); 722 Check if any valid parameter set combinations (SPS/PPS) exists. 728 1 at least one valid SPS/PPS combination found 822 Get cropping parameters of the active SPS [all...] |
/external/chromium_org/media/filters/ |
h264_parser.cc | 520 H264Parser::Result H264Parser::ParseSPSScalingLists(H264SPS* sps) { 531 res = ParseScalingList(arraysize(sps->scaling_list4x4[i]), 532 sps->scaling_list4x4[i], 538 DefaultScalingList4x4(i, sps->scaling_list4x4); 542 i, kDefault4x4Intra, kDefault4x4Inter, sps->scaling_list4x4); 547 for (int i = 0; i < ((sps->chroma_format_idc != 3) ? 2 : 6); ++i) { 551 res = ParseScalingList(arraysize(sps->scaling_list8x8[i]), 552 sps->scaling_list8x8[i], 558 DefaultScalingList8x8(i, sps->scaling_list8x8); 562 i, kDefault8x8Intra, kDefault8x8Inter, sps->scaling_list8x8) 873 const H264SPS* sps; local 1135 const H264SPS* sps; local [all...] |
h264_parser.h | 365 // Parse an SPS/PPS NALU and save their data in the parser, returning id 367 // To get a pointer to a given SPS/PPS structure, use GetSPS()/GetPPS(), 375 // Return a pointer to SPS/PPS with given |sps_id|/|pps_id| or NULL if not 418 Result ParseSPSScalingLists(H264SPS* sps); 419 Result ParsePPSScalingLists(const H264SPS& sps, H264PPS* pps); 421 // Parse optional VUI parameters in SPS (see spec). 422 Result ParseVUIParameters(H264SPS* sps); 432 Result ParsePredWeightTable(const H264SPS& sps, H264SliceHeader* shdr);
|
/frameworks/av/services/audioflinger/ |
SchedulingPolicyService.cpp | 37 sp<ISchedulingPolicyService> sps = sSchedulingPolicyService; local 39 if (sps == 0) { 45 sps = interface_cast<ISchedulingPolicyService>(binder); 47 sSchedulingPolicyService = sps; 50 ret = sps->requestPriority(pid, tid, prio, asynchronous);
|
/external/valgrind/main/coregrind/ |
pub_core_stacktrace.h | 50 // ips[0 .. min(n_ips,return_value)]. If sps and fps are non-NULL, 56 /*OUT*/Addr* sps, /*OUT*/Addr* fps,
|
m_stacktrace.c | 141 /*OUT*/Addr* sps, /*OUT*/Addr* fps, 223 if (sps) sps[0] = uregs.xsp; 251 if (sps) sps[0] = uregs.xsp; 411 /* Add a frame in ips/sps/fps */ 414 if (sps) sps[i] = uregs.xsp; 457 /*OUT*/Addr* sps, /*OUT*/Addr* fps, 502 if (sps) sps[0] = uregs.xsp [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
SeqParameterSet.java | 79 SeqParameterSet sps = new SeqParameterSet(); local 81 sps.profile_idc = (int) reader.readNBit(8, "SPS: profile_idc"); 82 sps.constraint_set_0_flag = reader 83 .readBool("SPS: constraint_set_0_flag"); 84 sps.constraint_set_1_flag = reader 85 .readBool("SPS: constraint_set_1_flag"); 86 sps.constraint_set_2_flag = reader 87 .readBool("SPS: constraint_set_2_flag"); 88 sps.constraint_set_3_flag = reade [all...] |
/external/chromium_org/media/formats/mp2t/ |
es_parser_h264.cc | 155 DVLOG(LOG_LEVEL_ES) << "NALU: SPS"; 174 // Only accept an invalid SPS/PPS at the beginning when the stream 175 // does not necessarily start with an SPS/PPS/IDR. 176 // TODO(damienv): Should be able to differentiate a missing SPS/PPS 216 // does not necessarily start with an SPS/PPS/IDR. 223 const H264SPS* sps = h264_parser_->GetSPS(pps->seq_parameter_set_id); local 224 if (!sps) 226 RCHECK(UpdateVideoDecoderConfig(sps)); 252 bool EsParserH264::UpdateVideoDecoderConfig(const H264SPS* sps) { 254 int sar_width = (sps->sar_width == 0) ? 1 : sps->sar_width [all...] |
es_parser_h264.h | 67 // Update the video decoder config based on an H264 SPS. 69 bool UpdateVideoDecoderConfig(const H264SPS* sps);
|
/external/blktrace/btt/ |
seek.c | 39 struct sps_bkt sps; member in struct:seeki 103 struct sps_bkt *sps = &sip->sps; local 104 double delta = sps->t_last - sps->t_start; 106 if ((sps->nseeks == 1) || (delta < DBL_EPSILON)) { 107 s_p_s = (double)(sps->nseeks); 108 tstamp = sps->t_start; 111 s_p_s = (double)(sps->nseeks) / delta; 112 tstamp = sps->t_start + (delta / 2) 124 struct sps_bkt *sps = &sip->sps; local [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
H264TrackImpl.java | 442 public SliceHeader(InputStream is, SeqParameterSet sps, PictureParameterSet pps, boolean IdrPicFlag) throws IOException { 474 if (sps.residual_color_transform_flag) { 477 frame_num = reader.readU(sps.log2_max_frame_num_minus4 + 4, "SliceHeader: frame_num"); 479 if (!sps.frame_mbs_only_flag) { 487 if (sps.pic_order_cnt_type == 0) { 488 pic_order_cnt_lsb = reader.readU(sps.log2_max_pic_order_cnt_lsb_minus4 + 4, "SliceHeader: pic_order_cnt_lsb"); 585 SeqParameterSet sps; field in class:H264TrackImpl.SEIMessage 587 public SEIMessage(InputStream is, SeqParameterSet sps) throws IOException { 588 this.sps = sps; [all...] |
/external/valgrind/main/include/ |
pub_tool_stacktrace.h | 58 // If sps and fps are non-NULL, the corresponding frame-pointer and 63 /*OUT*/StackTrace sps,
|
/external/chromium_org/content/common/gpu/media/ |
vaapi_h264_decoder.cc | 112 // If we are in kDecoding, we can resume without processing an SPS. 227 const media::H264SPS* sps = parser_.GetSPS(pps->seq_parameter_set_id); local 228 DCHECK(sps); 235 #define FROM_SPS_TO_PP(a) pic_param.a = sps->a; 236 #define FROM_SPS_TO_PP2(a, b) pic_param.b = sps->a; 246 #define FROM_SPS_TO_PP_SF(a) pic_param.seq_fields.bits.a = sps->a; 247 #define FROM_SPS_TO_PP_SF2(a, b) pic_param.seq_fields.bits.b = sps->a; 255 pic_param.seq_fields.bits.MinLumaBiPredSize8x8 = (sps->level_idc >= 31); 303 pic_param.num_ref_frames = sps->max_num_ref_frames; 328 const media::H264SPS* sps = parser_.GetSPS(pps->seq_parameter_set_id) local 350 const media::H264SPS* sps = parser_.GetSPS(pps->seq_parameter_set_id); local 548 const media::H264SPS* sps = parser_.GetSPS(curr_sps_id_); local 1443 const media::H264SPS* sps = parser_.GetSPS(sps_id); local [all...] |
vaapi_h264_decoder.h | 124 kNeedStreamMetadata, // After initialization, need an SPS. 146 bool UpdateMaxNumReorderFrames(const media::H264SPS* sps); 260 // Currently active SPS and PPS.
|
/hardware/intel/common/wrs_omxil_core/core/src/ |
intel_m4v_config_parser.cpp | 789 uint8* sps = NULL; local 796 sps = temp; // Make a copy of the original pointer to be freed later 798 oscl_memcpy(sps, buffer, length); 814 if (sps[0] == 0 && sps[1] == 0) 817 while (sps[i++] == 0 && i < length) 821 if (sps[i-1] == 1) 823 sps += i; 827 while (!(sps[sps_length] == 0 && sps[sps_length+1] == 0 && sps[sps_length+2] == 1) & [all...] |
/hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
ti_m4v_config_parser.cpp | 804 uint8* sps = NULL; local 811 sps = temp; // Make a copy of the original pointer to be freed later 813 oscl_memcpy(sps, buffer, length); 829 if (sps[0] == 0 && sps[1] == 0) 832 while (sps[i++] == 0 && i < length) 836 if (sps[i-1] == 1) 838 sps += i; 842 while (!(sps[sps_length] == 0 && sps[sps_length+1] == 0 && sps[sps_length+2] == 1) & [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
streamparams_unittest.cc | 124 cricket::StreamParams sps[] = {l1, l2, sg1, sg2, sg3, sg4}; local 126 for (size_t i = 0; i < ARRAY_SIZE(sps); ++i) { 127 for (size_t j = 0; j < ARRAY_SIZE(sps); ++j) { 128 EXPECT_EQ((sps[i] == sps[j]), (i == j)); 129 EXPECT_EQ((sps[i] != sps[j]), (i != j));
|
/frameworks/base/core/java/android/view/inputmethod/ |
BaseInputConnection.java | 78 Object[] sps = text.getSpans(0, text.length(), Object.class); local 79 if (sps != null) { 80 for (int i=sps.length-1; i>=0; i--) { 81 Object o = sps[i]; 95 final Object[] sps = text.getSpans(start, end, Object.class); local 96 if (sps != null) { 97 for (int i=sps.length-1; i>=0; i--) { 98 final Object o = sps[i];
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_tile_cache.h | 110 struct pipe_surface *sps);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tile_cache.h | 110 struct pipe_surface *sps);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
TSPacketizer.cpp | 266 const sp<ABuffer> &sps = mCSD.itemAt(0); local 267 CHECK(!memcmp("\x00\x00\x00\x01", sps->data(), 4)); 268 CHECK_GE(sps->size(), 7u); 270 memcpy(&data[2], sps->data() + 4, 3); 475 // prepend codec specific data, i.e. SPS and PPS.
|