Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp103 const int32_t layerId(getLayerId(layer)); in addInitialSurfaceStateLocked() local
104 addPositionLocked(transaction, layerId, layer->mCurrentState.active_legacy.transform.tx(), in addInitialSurfaceStateLocked()
106 addDepthLocked(transaction, layerId, layer->mCurrentState.z); in addInitialSurfaceStateLocked()
107 addAlphaLocked(transaction, layerId, layer->mCurrentState.color.a); in addInitialSurfaceStateLocked()
108 addTransparentRegionLocked(transaction, layerId, in addInitialSurfaceStateLocked()
110 addLayerStackLocked(transaction, layerId, layer->mCurrentState.layerStack); in addInitialSurfaceStateLocked()
111 addCropLocked(transaction, layerId, layer->mCurrentState.crop_legacy); in addInitialSurfaceStateLocked()
112 addCornerRadiusLocked(transaction, layerId, layer->mCurrentState.cornerRadius); in addInitialSurfaceStateLocked()
114 addDeferTransactionLocked(transaction, layerId, in addInitialSurfaceStateLocked()
118 addOverrideScalingModeLocked(transaction, layerId, layer->getEffectiveScalingMode()); in addInitialSurfaceStateLocked()
[all …]
DSurfaceInterceptor.h134 SurfaceChange* createSurfaceChangeLocked(Transaction* transaction, int32_t layerId);
136 void addPositionLocked(Transaction* transaction, int32_t layerId, float x, float y);
137 void addDepthLocked(Transaction* transaction, int32_t layerId, uint32_t z);
138 void addSizeLocked(Transaction* transaction, int32_t layerId, uint32_t w, uint32_t h);
139 void addAlphaLocked(Transaction* transaction, int32_t layerId, float alpha);
140 void addMatrixLocked(Transaction* transaction, int32_t layerId,
142 void addTransparentRegionLocked(Transaction* transaction, int32_t layerId,
144 void addFlagsLocked(Transaction* transaction, int32_t layerId, uint8_t flags);
145 void addLayerStackLocked(Transaction* transaction, int32_t layerId, uint32_t layerStack);
146 void addCropLocked(Transaction* transaction, int32_t layerId, const Rect& rect);
[all …]
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp455 int32_t layerId; in onSetParameters() local
456 for (layerId = 0; layerId < mNumVideoTemporalLayerTotal - 1; ++layerId) { in onSetParameters()
457 if (mVideoTemporalLayerAggregateFps[layerId] * mPlaybackSpeed in onSetParameters()
462 mNumVideoTemporalLayerAllowed = layerId + 1; in onSetParameters()
463 decodeFrameRate = mVideoTemporalLayerAggregateFps[layerId]; in onSetParameters()
958 int32_t layerId = 0; in fetchInputData() local
959 bool haveLayerId = accessUnit->meta()->findInt32("temporal-layer-id", &layerId); in fetchInputData()
966 if (layerId > mCurrentMaxVideoTemporalLayerId + 1 in fetchInputData()
967 || layerId >= mNumVideoTemporalLayerAllowed) { in fetchInputData()
970 layerId, mPlaybackSpeed, mNumVideoTemporalLayerAllowed, in fetchInputData()
[all …]
DGenericSource2.cpp1121 int32_t layerId; in mediaBufferToABuffer() local
1122 if (mb->meta_data().findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1123 meta->setInt32("temporal-layer-id", layerId); in mediaBufferToABuffer()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp436 int32_t layerId; in onSetParameters() local
437 for (layerId = 0; layerId < mNumVideoTemporalLayerTotal - 1; ++layerId) { in onSetParameters()
438 if (mVideoTemporalLayerAggregateFps[layerId] * mPlaybackSpeed in onSetParameters()
443 mNumVideoTemporalLayerAllowed = layerId + 1; in onSetParameters()
444 decodeFrameRate = mVideoTemporalLayerAggregateFps[layerId]; in onSetParameters()
940 int32_t layerId = 0; in fetchInputData() local
941 bool haveLayerId = accessUnit->meta()->findInt32("temporal-layer-id", &layerId); in fetchInputData()
948 if (layerId > mCurrentMaxVideoTemporalLayerId + 1 in fetchInputData()
949 || layerId >= mNumVideoTemporalLayerAllowed) { in fetchInputData()
952 layerId, mPlaybackSpeed, mNumVideoTemporalLayerAllowed, in fetchInputData()
[all …]
DGenericSource.cpp1251 int32_t layerId; in mediaBufferToABuffer() local
1252 if (mb->meta_data().findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1253 meta->setInt32("temporal-layer-id", layerId); in mediaBufferToABuffer()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp296 auto layerId = increment.buffer_update().id(); in dispatchEvent() local
297 if (mBufferQueueSchedulers.count(layerId) == 0) { in dispatchEvent()
298 mBufferQueueSchedulers[layerId] = std::make_shared<BufferQueueScheduler>( in dispatchEvent()
299 mLayers[layerId], mColors[layerId], layerId); in dispatchEvent()
300 mBufferQueueSchedulers[layerId]->addEvent(bufferEvent); in dispatchEvent()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp297 hwc2_layer_t layerId = 0; in createLayer() local
298 auto intError = mComposer.createLayer(mId, &layerId); in createLayer()
304 auto layer = std::make_unique<impl::Layer>(mComposer, mCapabilities, mId, layerId); in createLayer()
306 mLayers.emplace(layerId, std::move(layer)); in createLayer()
802 hwc2_display_t displayId, hwc2_layer_t layerId) in Layer() argument
806 mId(layerId), in Layer()
809 ALOGV("Created layer %" PRIu64 " on display %" PRIu64, layerId, displayId); in Layer()
DHWC2.h404 hwc2_display_t displayId, hwc2_layer_t layerId);
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp432 int32_t layerId; in AMediaExtractor_getSampleFormat() local
433 if (sampleMeta->findInt32(kKeyTemporalLayerId, &layerId)) { in AMediaExtractor_getSampleFormat()
434 meta->setInt32(AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in AMediaExtractor_getSampleFormat()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp531 uint32_t layerId = 0; in FindAVCLayerId() local
535 layerId = (*(svcNAL->data() + 3) >> 5) & 0x7; in FindAVCLayerId()
537 return layerId; in FindAVCLayerId()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.cpp128 for (const auto& [layerId, layerInfo] : mActiveLayerInfos) { in getDesiredRefreshRateAndHDR()
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp102 int32_t layerId = 0; in getSurfaceId() local
106 layerId = increment.surface_creation().id(); in getSurfaceId()
110 return layerId; in getSurfaceId()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp5957 uint32_t layerId = FindAVCLayerId( in read() local
5959 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in read()
5961 int32_t layerId = parseHEVCLayerId( in read() local
5963 if (layerId >= 0) { in read()
5964 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in read()
6170 uint32_t layerId = FindAVCLayerId( in fragmentedRead() local
6172 AMediaFormat_setInt32(bufmeta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in fragmentedRead()
6174 int32_t layerId = parseHEVCLayerId( in fragmentedRead() local
6176 if (layerId >= 0) { in fragmentedRead()
6177 AMediaFormat_setInt32(bufmeta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in fragmentedRead()
/frameworks/base/core/java/android/widget/
DProgressBar.java1407 private Drawable getTintTarget(int layerId, boolean shouldFallback) { in getTintTarget() argument
1415 layer = ((LayerDrawable) d).findDrawableByLayerId(layerId); in getTintTarget()