Home
last modified time | relevance | path

Searched refs:naluPos (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dffmpeg_utils.cpp405 int naluPos = -1; in FindNaluSpliter() local
408 naluPos = 3; // 3: the actual start pos of nal unit in FindNaluSpliter()
410 naluPos = 4; // 4: the actual start pos of nal unit in FindNaluSpliter()
413 return naluPos; in FindNaluSpliter()
420 int naluPos = FindNaluSpliter(size, data); in CanDropAvcPkt() local
421 if (naluPos < 0) { in CanDropAvcPkt()
425 int nalRefIdc = (data[naluPos] >> 5) & 0x03; // 5: get H.264 nal_ref_idc in CanDropAvcPkt()
426 int nalUnitType = data[naluPos] & 0x1f; // get H.264 nal_unit_type in CanDropAvcPkt()
436 int naluPos = FindNaluSpliter(size, data); in CanDropHevcPkt() local
437 if (naluPos < 0) { in CanDropHevcPkt()
[all …]