/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 329 unsigned layer = 4 - ((header >> 17) & 3); local 331 switch (layer) {
|
H A D | avc_utils.cpp | 502 // NAL-type = 0xE layer-Id 504 // layer_id 0 is for base layer, while 1, 2, ... are enhancement layers. 505 // Layer n uses reference frames from layer 0, 1, ..., n-1. 675 unsigned layer = (header >> 17) & 3; local 677 if (layer == 0x00) { 706 if (layer == 3) { 707 // layer I 734 // layer II or III 753 bitrate = (layer == 2 /* L2 */) 765 *out_num_samples = (layer [all...] |
/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 | bitstream.h | 36 int BitstreamOpen(BitstreamDecVideo *stream, int layer);
|
H A D | mp4dec_lib.h | 274 PV_STATUS DecodeVOLHeader(VideoDecData *video, int layer);
|
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/include/ |
H A D | cvei.h | 145 /** Specifies whether base only (iNumLayer = 1) or base + enhancement layer 150 base layer and iFrameWidth[1] is for enhanced layer. */ 154 base layer and iFrameHeight[1] is for enhanced layer. */ 158 layer and iBitRate[1] is for base+enhanced layer.*/ 162 base layer and iFrameRate[1] is for base+enhanced layer. */ 300 /** The number of layer encode [all...] |
H A D | mp4enc_api.h | 157 /** @brief Specifies encoded heights in pixels, height[n] represents the n-th layer's height. */ 160 /** @brief Specifies encoded widths in pixels, width[n] represents the n-th layer's width.*/ 163 /** @brief Specifies target frame rates in frames per second, frameRate[n] represents the n-th layer's target frame rate.*/ 166 /** @brief Specifies target bit rates in bits per second unit, bitRate[n] represents the n-th layer's target bit rate. */ 169 /** @brief Specifies default quantization parameters for I-Vop. Iquant[n] represents the n-th layer default quantization parameter. The default is Iquant[0]=12.*/ 172 /** @brief Specifies default quantization parameters for P-Vop. Pquant[n] represents the n-th layer default quantization parameter. The default is Pquant[0]=10.*/ 175 /** @brief specifies quantization mode (H263 mode or MPEG mode) of the encoded base and enhance layer (if any). 273 * @param layer is the layer of the requested VOL header. 276 OSCL_IMPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 436 /* base layer */ 633 /* Set Profile and Video Buffer Size for each layer */ 655 //video->frameRate = video->encParams->LayerFrameRate[0]; /* Set current layer frame rate */ 934 /* Initialize reference Vol ID to the base layer = 0 */ 936 /* Initialize layer resolution to same as the reference */ 1315 OSCL_EXPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer) argument 1328 encData->currLayer = layer; /* Set Layer */ 1332 encData->encParams->GetVolHeader[layer] = 1; /* Set usage flag: Needed to support old method*/ 1431 if (!encodeVop) /* skip enh layer, no base layer code [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
H A D | mp3reader.cpp | 72 unsigned layer = (header >> 17) & 3; local 74 if (layer == 0x00) { 101 if (layer == 3) { 102 // layer I 129 // layer II or III 148 bitrate = (layer == 2 /* L2 */) 160 *out_num_samples = (layer == 1 /* L3 */) ? 576 : 1152; 172 size_t tmp = (layer == 1 /* L3 */) ? 72000 : 144000; 190 // Mask to extract the version, layer, sampling rate parts of the MP3 header,
|
/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) { 671 bits.skipBits(3); // ID, layer 957 unsigned layer = 4 - ((header >> 17) & 3); local 980 switch (layer) { 1126 // GOP layer
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 216 // Hardware layer 220 * Draws the specified layer onto this canvas. 222 * @param layer The layer to composite on this canvas 224 void drawHardwareLayer(HardwareLayer layer) { argument 225 nDrawLayer(mNativeCanvasWrapper, layer.getLayerHandle()); 228 private static native void nDrawLayer(long renderer, long layer); argument
|
H A D | HardwareLayer.java | 28 * A hardware layer can be used to render graphics operations into a hardware 29 * friendly buffer. For instance, with an OpenGL backend a hardware layer 30 * would use a Frame Buffer Object (FBO.) The hardware layer can be used as 50 * Update the paint used when drawing this layer. 52 * @param paint The paint used when the layer is drawn into the destination canvas. 61 * Indicates whether this layer can be rendered. 63 * @return True if the layer can be rendered into, false otherwise 88 * Copies this layer into the specified bitmap. 90 * @param bitmap The bitmap to copy they layer into 99 * Update the layer' 144 adoptTextureLayer(ThreadedRenderer renderer, long layer) argument [all...] |
H A D | TextureView.java | 265 * The layer type of a TextureView is ignored since a TextureView is always 266 * considered to act as a hardware layer. The optional paint supplied to this 270 * @param layerType The type of layer to use with this view, must be one of 273 * @param paint The paint used to compose the layer. This argument is optional 274 * and can be null. It is ignored when the layer type is 332 /* Simplify drawing to guarantee the layer is the only thing drawn - so e.g. no background, 333 scrolling, or fading edges. This guarantees all drawing is in the layer, so drawing 334 properties (alpha, layer paint) affect all of the content of a TextureView. */ 339 HardwareLayer layer = getHardwareLayer(); 340 if (layer ! [all...] |
H A D | ThreadedRenderer.java | 523 * Detaches the layer's surface texture from the GL context and releases 799 * Creates a new hardware layer. A hardware layer built by calling this 800 * method will be treated as a texture layer, instead of as a render target. 802 * @return A hardware layer 805 long layer = nCreateTextureLayer(mNativeProxy); 806 return HardwareLayer.adoptTextureLayer(this, layer); 815 boolean copyLayerInto(final HardwareLayer layer, final Bitmap bitmap) { argument 817 layer.getDeferredLayerUpdater(), bitmap); 821 * Indicates that the specified hardware layer need 826 pushLayerUpdate(HardwareLayer layer) argument 834 onLayerDestroyed(HardwareLayer layer) argument 1010 nCopyLayerInto(long nativeProxy, long layer, Bitmap bitmap) argument 1011 nPushLayerUpdate(long nativeProxy, long layer) argument 1012 nCancelLayerUpdate(long nativeProxy, long layer) argument 1013 nDetachSurfaceTexture(long nativeProxy, long layer) argument [all...] |
H A D | WindowInfo.java | 41 public int layer; field in class:WindowInfo 65 window.layer = other.layer; 97 parcel.writeInt(layer); 119 builder.append(", layer=").append(layer); 132 layer = parcel.readInt(); 151 layer = 0;
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityWindowInfo.java | 149 * Gets the layer which determines the Z-order of the window. Windows 150 * with greater layer appear on top of windows with lesser layer. 152 * @return The window layer. 159 * Sets the layer which determines the Z-order of the window. Windows 160 * with greater layer appear on top of windows with lesser layer. 162 * @param layer The window layer. 166 public void setLayer(int layer) { argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 463 * traverse layer and state list drawables. 939 * The progress indicator should be specified as a layer with 1021 * The progress background must be specified as a layer with 1100 * The secondary progress indicator must be specified as a layer with 1181 * @param layerId id of the layer to modify 1188 Drawable layer = null; 1195 layer = ((LayerDrawable) d).findDrawableByLayerId(layerId); 1198 if (shouldFallback && layer == null) { 1199 layer = d; 1203 return layer; [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES30.cpp | 1549 /* void glFramebufferTextureLayer ( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer ) */ 1552 (JNIEnv *_env, jobject _this, jint target, jint attachment, jint texture, jint level, jint layer) { 1558 (GLint)layer 1551 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 | 2841 /* void glBindImageTexture ( GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format ) */ 2844 (JNIEnv *_env, jobject _this, jint unit, jint texture, jint level, jboolean layered, jint layer, jint access, jint format) { 2850 (GLint)layer, 2843 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_DisplayListCanvas.cpp | 197 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 198 canvas->drawLayer(layer);
|
H A D | android_view_HardwareLayer.cpp | 46 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 48 changed |= layer->setSize(width, height); 49 changed |= layer->setBlend(!isOpaque); 55 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 56 if (layer) { 58 layer->setPaint(paint); 64 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 66 layer->setTransform(matrix); 71 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local 73 layer 78 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); local [all...] |
H A D | android_view_ThreadedRenderer.cpp | 76 // rendernode's jni layer. Probably means RootRenderNode should be pulled 78 // that RenderNode's JNI layer can handle its own thing 492 * Implements JNI layer for hwui frame metrics reporting. 760 DeferredLayerUpdater* layer = proxy->createTextureLayer(); local 761 return reinterpret_cast<jlong>(layer); 775 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 778 return proxy->copyLayerInto(layer, bitmap); 784 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local 785 proxy->pushLayerUpdate(layer); 791 DeferredLayerUpdater* layer local 798 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerPtr); local [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 51 * It can be defined in an XML file with the <code><layer-list></code> element. 52 * Each Drawable in the layer is defined in a nested <code><item></code>. 72 * Padding mode used to nest each layer inside the padding of the previous 73 * layer. 80 * Padding mode used to stack each layer directly atop the previous layer. 111 * Creates a new layer drawable with the list of specified layers. 121 * Creates a new layer drawable with the specified list of layers and the 192 final ChildDrawable layer = array[i]; 193 layer 342 updateLayerFromTypedArray(@onNull ChildDrawable layer, @NonNull TypedArray a) argument 437 addLayer(@onNull ChildDrawable layer) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpDispatcher.cpp | 152 // Dirty the current layer if possible. When the 9-patch does not 781 const bool tryToSnap = !op.layer->getForceFilter(); 782 float alpha = (op.layer->getAlpha() / 255.0f) * state.alpha; 787 .setFillTextureLayer(*(op.layer), alpha) 789 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, Rect(op.layer->getWidth(), op.layer->getHeight())) 825 // render debug layer highlight 837 LOG_ALWAYS_FATAL_IF(*(op.layerHandle) != nullptr, "layer already exists!"); 839 LOG_ALWAYS_FATAL_IF(*op.layerHandle == nullptr, "layer copy failed"); 843 LOG_ALWAYS_FATAL_IF(*op.layerHandle == nullptr, "no layer t 854 OffscreenBuffer& layer = **(op.layerHandle); local [all...] |