Searched refs:frame (Results 51 - 75 of 114) sorted by relevance

12345

/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_frame.cpp202 bool GLFrame::CopyPixelsFrom(const GLFrame* frame) { argument
203 if (frame == this) {
205 } else if (frame && frame->width_ == width_ && frame->height_ == height_) {
207 sources.push_back(frame);
366 // render the current texture frame into it. As this is quite inefficient,
370 ALOGW("Warning: Reading pixel data from unfiltered GL frame. This is highly "
374 // Create source frame set (unfortunately this requires an ugly const-cast,
375 // as we need to wrap ourselves in a frame
[all...]
H A Dgl_env.h120 // before swapBuffers to associate the timestamp with the frame
178 // Attach a vertex frame to the environment. The environment takes ownership
179 // of the frame.
180 void AttachVertexFrame(int key, VertexFrame* frame);
186 // Return the vertex frame with the specified key, or NULL if there is no
187 // such frame attached to this environment.
H A Dgl_frame.h38 // Create an empty GL frame in the specified GL environment. Note, that the GLFrame does NOT
43 // Deallocate a GL frame.
46 // Initialize a GL frame to the given width, height, format. Also specify
47 // whether this is a read-only GL frame or not.
59 // Write the data with the given size in bytes to the frame. The frame size must match the
63 // Copies the frame data to the given buffer.
66 // Copies the pixels from another GL frame to this frame.
67 bool CopyPixelsFrom(const GLFrame* frame);
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp70 /* Number of decoded samples produced by one AAC frame; defined by the standard */
110 unsigned char *frame; variable
280 // verify that we are at start of an ADTS frame
281 } else if (!(filelen < 7 || frame[0] != 0xFF || (frame[1] & 0xF0) != 0xF0)) {
286 unsigned framelen = ((frame[3] & 3) << 11) | (frame[4] << 3) | (frame[5] >> 5);
290 frame, framelen, NULL, 0);
292 frame
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java146 public void setInputFrame(String inputName, Frame frame) { argument
151 port.setFrame(frame);
249 protected final void pushOutput(String name, Frame frame) { argument
250 if (frame.getTimestamp() == Frame.TIMESTAMP_NOT_SET) {
252 frame.setTimestamp(mCurrentTimestamp);
254 getOutputPort(name).pushFrame(frame);
273 * Transfers any frame from an input port to its destination. This is useful to force a
403 * Specifies whether the filter should not be scheduled until a frame is available on that
404 * input port. Note, that setting this to false, does not block a new frame from coming in
405 * (though there is no necessity to pull that frame fo
535 pushInputFrame(String inputName, Frame frame) argument
[all...]
H A DFrame.java130 public void setDataFromFrame(Frame frame) { argument
131 setData(frame.getData());
164 throw new RuntimeException("Attempting to modify read-only frame!");
202 * Called just before a frame is stored, such as when storing to a cache or context.
208 * Called when a frame is fetched from an internal store such as a cache.
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp367 const Rect& viewport, const Rect& frame) {
370 mFrame = frame;
383 Rect frame(mFrame);
385 if (!frame.isValid()) {
386 // the destination frame can be invalid if it has never been set,
387 // in that case we assume the whole display frame.
388 frame = Rect(w, h);
406 float dst_width = frame.width();
407 float dst_height = frame.height();
416 float dst_x = frame
366 setProjection(int orientation, const Rect& viewport, const Rect& frame) argument
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp457 Animation::Frame frame; local
458 frame.name = leaf;
459 frame.map = map;
461 part.frames.add(frame);
508 const Animation::Frame& frame(part.frames[j]);
512 glBindTexture(GL_TEXTURE_2D, frame.tid);
515 glGenTextures(1, &frame.tid);
516 glBindTexture(GL_TEXTURE_2D, frame.tid);
521 frame.map->getDataPtr(),
522 frame
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DLines2Activity.java38 FrameLayout frame = new FrameLayout(this);
40 frame.addView(gpuView);
43 frame.addView(swView);
48 frame.addView(hwBothView);
51 frame.addView(swBothView);
52 setContentView(frame);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp410 // Accept the first key frame
448 MediaBuffer *frame = *mPendingFrames.begin(); local
451 frame->release();
452 frame = NULL;
468 const mkvparser::Block::Frame &frame = block->GetFrame(i); local
470 MediaBuffer *mbuf = new MediaBuffer(frame.len);
474 long n = frame.Read(mExtractor->mReader, (unsigned char *)mbuf->data());
523 MediaBuffer *frame = *mPendingFrames.begin(); local
528 frame->meta_data()->setInt64(
532 *out = frame;
[all...]
/frameworks/base/core/java/android/view/
H A DIWindow.aidl48 void resized(in Rect frame, in Rect contentInsets,
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_frame.h83 jobject frame);
88 jobject frame);
H A Djni_gl_frame.h117 jobject frame);
122 jobject frame);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.h70 #include "frame.h"
172 Word16 frame[],
177 * Purpose : reads the frame type and checks history
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java37 public void resized(Rect frame, Rect contentInsets, argument
/frameworks/base/core/tests/coretests/src/android/view/
H A DPreDrawListener.java78 mFrame = (MyLinearLayout) findViewById(R.id.frame);
H A DPopupWindowVisibility.java46 mFrame = findViewById(R.id.frame);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListFilter.java47 mFrame = findViewById(R.id.frame);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp216 * @param width the video frame width in pixels
217 * @param height the video frame height in pixels
245 * Query the camera to retrieve the supported video frame sizes
252 * supported video frame sizes advertised by the camera.
285 * (width and height) and/or frame rate. If both width and
287 * if frameRate is -1, configuration on the frame rate
293 * @param width the target video frame width in pixels
294 * @param height the target video frame height in pixels
295 * @param frameRate the target frame rate in frames per second.
334 ALOGV("Supported frame rate
708 releaseRecordingFrame(const sp<IMemory>& frame) argument
733 releaseOneRecordingFrame(const sp<IMemory>& frame) argument
767 sp<IMemory> frame; local
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSpinner.java55 /** Temporary frame to hold a child View's frame rectangle */
345 Rect frame = mTouchFrame;
346 if (frame == null) {
348 frame = mTouchFrame;
355 child.getHitRect(frame);
356 if (frame.contains(x, y)) {
/frameworks/av/include/media/stagefright/
H A DCameraSource.h39 * settings (such as video size, frame rate, color format, etc)
49 * @param camera the video input frame data source. If it is NULL,
56 * @param videoSize the dimension (in pixels) of the video frame
62 * request the camera source to store real YUV frame data
98 * kKeySampleRate: frame rate in frames per second
105 * frame data in video buffers.
167 virtual void releaseRecordingFrame(const sp<IMemory>& frame);
169 // Returns true if need to skip the current frame.
197 void releaseOneRecordingFrame(const sp<IMemory>& frame);
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutGravityTest.java17 package android.widget.layout.frame;
24 import android.widget.layout.frame.FrameLayoutGravity;
/frameworks/base/libs/hwui/
H A DAndroid.mk59 LOCAL_CFLAGS += -fno-omit-frame-pointer -marm -mapcs
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java315 final Rect frame = sh.getSurfaceFrame();
316 final int dw = frame.width();
317 final int dh = frame.height();
458 final Rect frame = sh.getSurfaceFrame();
460 ortho.loadOrtho(0.0f, frame.width(), frame.height(), 0.0f, -1.0f, 1.0f);
474 glViewport(0, 0, frame.width(), frame.height());
/frameworks/native/include/private/gui/
H A DLayerState.h121 Rect frame; member in struct:android::DisplayState

Completed in 302 milliseconds

12345