/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 293 unsigned layer = 4 - ((header >> 17) & 3); local 297 switch (layer) {
|
H A D | avc_utils.cpp | 611 unsigned layer = (header >> 17) & 3; local 613 if (layer == 0x00) { 642 if (layer == 3) { 643 // layer I 670 // layer II or III 689 bitrate = (layer == 2 /* L2 */) 701 *out_num_samples = (layer == 1 /* L3 */) ? 576 : 1152; 713 size_t tmp = (layer == 1 /* L3 */) ? 72000 : 144000;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/ |
H A D | mp4dec_api.h | 70 int layer; /* current video layer */ member in struct:tagApplicationData
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vop.cpp | 80 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer) argument 96 currVol = video->vol[layer]; 110 if (layer) /* */ 293 if (layer) /* */ 312 if (layer) 601 if (layer) return PV_FAIL; /* */ 635 if (layer == 0) return PV_FAIL; /* */ 643 if (layer) /* */ 648 /* 1 : ref. layer has higher resolution */ 649 /* 0 : ref. layer ha [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 429 /* base layer */ 622 /* Set Profile and Video Buffer Size for each layer */ 644 //video->frameRate = video->encParams->LayerFrameRate[0]; /* Set current layer frame rate */ 901 /* Initialize reference Vol ID to the base layer = 0 */ 903 /* Initialize layer resolution to same as the reference */ 1282 OSCL_EXPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer) argument 1295 encData->currLayer = layer; /* Set Layer */ 1299 encData->encParams->GetVolHeader[layer] = 1; /* Set usage flag: Needed to support old method*/ 1398 if (!encodeVop) /* skip enh layer, no base layer code [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 187 unsigned layer = (ptr[1] >> 1) & 3; local 189 if (layer != 0) { 227 unsigned layer = (ptr[1] >> 1) & 3; local 229 if (layer == 0) { 636 bits.skipBits(3); // ID, layer 922 unsigned layer = 4 - ((header >> 17) & 3); local 941 switch (layer) {
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 240 // Hardware layer 243 void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint) { argument 244 layer.setLayerPaint(paint); 245 nDrawLayer(mRenderer, layer.getLayerHandle(), x, y); 248 private static native void nDrawLayer(long renderer, long layer, float x, float y); argument
|
H A D | HardwareCanvas.java | 86 * Draws the specified layer onto this canvas. 88 * @param layer The layer to composite on this canvas 89 * @param x The left coordinate of the layer 90 * @param y The top coordinate of the layer 91 * @param paint The paint used to draw the layer 95 abstract void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint); argument
|
H A D | HardwareLayer.java | 27 * A hardware layer can be used to render graphics operations into a hardware 28 * friendly buffer. For instance, with an OpenGL backend a hardware layer 29 * would use a Frame Buffer Object (FBO.) The hardware layer can be used as 49 * Update the paint used when drawing this layer. 51 * @param paint The paint used when the layer is drawn into the destination canvas. 60 * Indicates whether this layer can be rendered. 62 * @return True if the layer can be rendered into, false otherwise 87 * Copies this layer into the specified bitmap. 89 * @param bitmap The bitmap to copy they layer into 98 * Update the layer' 143 adoptTextureLayer(HardwareRenderer renderer, long layer) argument [all...] |
H A D | HardwareRenderer.java | 257 * Detaches the layer's surface texture from the GL context and releases 305 * Indicates that the specified hardware layer needs to be updated 308 * @param layer The hardware layer that needs an update 310 abstract void pushLayerUpdate(HardwareLayer layer); argument 313 * Tells the HardwareRenderer that the layer is destroyed. The renderer 314 * should remove the layer from any update queues. 316 abstract void onLayerDestroyed(HardwareLayer layer); argument 357 * Creates a new hardware layer. A hardware layer buil 366 copyLayerInto(HardwareLayer layer, Bitmap bitmap) argument [all...] |
H A D | ThreadedRenderer.java | 360 long layer = nCreateTextureLayer(mNativeProxy); 361 return HardwareLayer.adoptTextureLayer(this, layer); 370 boolean copyLayerInto(final HardwareLayer layer, final Bitmap bitmap) { argument 372 layer.getDeferredLayerUpdater(), bitmap.mNativeBitmap); 376 void pushLayerUpdate(HardwareLayer layer) { argument 377 nPushLayerUpdate(mNativeProxy, layer.getDeferredLayerUpdater()); 381 void onLayerDestroyed(HardwareLayer layer) { argument 382 nCancelLayerUpdate(mNativeProxy, layer.getDeferredLayerUpdater()); 514 private static native boolean nCopyLayerInto(long nativeProxy, long layer, long bitmap); argument 515 private static native void nPushLayerUpdate(long nativeProxy, long layer); argument 516 nCancelLayerUpdate(long nativeProxy, long layer) argument 517 nDetachSurfaceTexture(long nativeProxy, long layer) argument [all...] |
H A D | WindowInfo.java | 41 public int layer; field in class:WindowInfo 63 window.layer = other.layer; 93 parcel.writeInt(layer); 112 builder.append(", layer=").append(layer); 124 layer = parcel.readInt(); 141 layer = 0;
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityWindowInfo.java | 119 * Gets the layer which determines the Z-order of the window. Windows 120 * with greater layer appear on top of windows with lesser layer. 122 * @return The window layer. 129 * Sets the layer which determines the Z-order of the window. Windows 130 * with greater layer appear on top of windows with lesser layer. 132 * @param layer The window layer. 136 public void setLayer(int layer) { argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES30.cpp | 1429 /* void glFramebufferTextureLayer ( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer ) */ 1432 (JNIEnv *_env, jobject _this, jint target, jint attachment, jint texture, jint level, jint layer) { 1438 (GLint)layer 1431 android_glFramebufferTextureLayer__IIIII(JNIEnv *_env, jobject _this, jint target, jint attachment, jint texture, jint level, jint layer) argument
|
H A D | android_opengl_GLES31.cpp | 2665 /* void glBindImageTexture ( GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format ) */ 2668 (JNIEnv *_env, jobject _this, jint unit, jint texture, jint level, jboolean layered, jint layer, jint access, jint format) { 2674 (GLint)layer, 2667 android_glBindImageTexture__IIIZIII(JNIEnv *_env, jobject _this, jint unit, jint texture, jint level, jboolean layered, jint layer, jint access, jint format) argument
|
H A D | android_view_GLES20Canvas.cpp | 55 * Note: DisplayListRenderer JNI layer is generated and compiled only on supported 818 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 819 renderer->drawLayer(layer, x, y);
|
H A D | android_view_HardwareLayer.cpp | 48 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 50 changed |= layer->setSize(width, height); 51 changed |= layer->setBlend(!isOpaque); 57 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 58 if (layer) { 60 layer->setPaint(paint); 66 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 68 layer->setTransform(matrix); 73 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 75 layer 80 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 86 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local [all...] |
H A D | android_view_ThreadedRenderer.cpp | 326 DeferredLayerUpdater* layer = proxy->createTextureLayer(); local 327 return reinterpret_cast<jlong>(layer); 340 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 342 return proxy->copyLayerInto(layer, bitmap); 348 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 349 proxy->pushLayerUpdate(layer); 355 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 356 proxy->cancelLayerUpdate(layer); 362 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 363 proxy->detachSurfaceTexture(layer); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 46 * It can be defined in an XML file with the <code><layer-list></code> element. 47 * Each Drawable in the layer is defined in a nested <code><item></code>. 62 * Padding mode used to nest each layer inside the padding of the previous 63 * layer. 70 * Padding mode used to stack each layer directly atop the previous layer. 89 * Create a new layer drawable with the list of specified layers. 98 * Create a new layer drawable with the specified list of layers and the 191 final ChildDrawable layer = new ChildDrawable(); 193 updateLayerFromTypedArray(layer, 217 updateLayerFromTypedArray(ChildDrawable layer, TypedArray a) argument 303 addLayer(ChildDrawable layer) argument 332 addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 278 const Layer* layer = *it; local 280 layer->getWidth(), layer->getHeight(), 281 layer->isTextureLayer(), layer->getTexture(), 282 layer->getFbo(), layer->getStrongCount()); 283 memused += layer->getWidth() * layer->getHeight() * 4;
|
H A D | DeferredLayerUpdater.cpp | 27 DeferredLayerUpdater::DeferredLayerUpdater(renderthread::RenderThread& thread, Layer* layer) argument 32 , mLayer(layer) 35 mWidth = mLayer->layer.getWidth(); 36 mHeight = mLayer->layer.getHeight(); 58 // These properties are applied the same to both layer types 99 // force filtration if buffer size != layer size 106 RENDERER_LOGD("Dropped %d frames on texture layer update", dropCounter);
|
H A D | DisplayListOp.h | 673 * the current layer, if any. 866 * is also responsible for dirtying the current layer, if any. 915 // Dirty the current layer if possible. When the 9-patch does not 1582 DrawLayerOp(Layer* layer, float x, float y) argument 1583 : DrawOp(NULL), mLayer(layer), mX(x), mY(y) {}
|
H A D | Layer.h | 53 * A layer has dimensions and is backed by an OpenGL texture or FBO. 62 // layer lifecycle, controlled from outside 87 * Sets this layer's region to a rectangle. Computes the appropriate 97 const float height = layer.getHeight(); 102 regionRect.translate(layer.left, layer.top); 121 * Resize the layer and its texture if needed. 123 * @param width The new width of the layer 124 * @param height The new height of the layer 126 * @return True if the layer wa 297 Rect layer; member in class:android::uirenderer::Layer [all...] |
H A D | LayerCache.cpp | 37 INIT_LOGD(" Setting layer cache size to %sMB", property); 40 INIT_LOGD(" Using default layer cache size of %.2fMB", DEFAULT_LAYER_CACHE_SIZE); 81 void LayerCache::deleteLayer(Layer* layer) { argument 82 if (layer) { 83 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(), 84 layer->getFbo()); 85 mSize -= layer->getWidth() * layer 100 Layer* layer = NULL; local 144 put(Layer* layer) argument [all...] |
H A D | LayerCache.h | 50 * Returns a layer large enough for the specified dimensions. If no suitable 51 * layer can be found, a new one is created and returned. If creating a new 52 * layer fails, NULL is returned. 54 * When a layer is obtained from the cache, it is removed and the total 57 * @param width The desired width of the layer 58 * @param height The desired height of the layer 63 * Adds the layer to the cache. The layer will not be added if there is 64 * not enough space available. Adding a layer can cause other layers to 67 * @param layer Th 108 LayerEntry(Layer* layer) argument [all...] |