Home
last modified time | relevance | path

Searched refs:layerId (Results 1 – 13 of 13) 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/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.cpp1253 int32_t layerId; in mediaBufferToABuffer() local
1254 if (mb->meta_data().findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1255 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.cpp130 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.cpp6035 uint32_t layerId = FindAVCLayerId( in read() local
6037 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in read()
6039 int32_t layerId = parseHEVCLayerId( in read() local
6041 if (layerId >= 0) { in read()
6042 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in read()
6248 uint32_t layerId = FindAVCLayerId( in fragmentedRead() local
6250 AMediaFormat_setInt32(bufmeta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in fragmentedRead()
6252 int32_t layerId = parseHEVCLayerId( in fragmentedRead() local
6254 if (layerId >= 0) { in fragmentedRead()
6255 AMediaFormat_setInt32(bufmeta, AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in fragmentedRead()
/frameworks/base/core/java/android/widget/
DProgressBar.java1411 private Drawable getTintTarget(int layerId, boolean shouldFallback) { in getTintTarget() argument
1419 layer = ((LayerDrawable) d).findDrawableByLayerId(layerId); in getTintTarget()