Searched defs:frame (Results 51 - 75 of 77) sorted by relevance

1234

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java129 public void setDataFromFrame(Frame frame) { argument
130 setData(frame.getData());
163 throw new RuntimeException("Attempting to modify read-only frame!");
201 * Called just before a frame is stored, such as when storing to a cache or context.
207 * Called when a frame is fetched from an internal store such as a cache.
H A DGLFrame.java60 * storing the frame, as the user may delete, and regenerate it.
88 throw new IllegalArgumentException("Initializing GL frame with zero size!");
91 // Create correct frame
108 throw new RuntimeException("Attempting to create GL frame with unknown binding type "
117 throw new RuntimeException("Could not allocate external GL frame!");
121 throw new RuntimeException("Could not allocate GL frame!");
130 throw new RuntimeException("Could not allocate texture backed GL frame!");
140 throw new RuntimeException("Could not allocate FBO backed GL frame!");
179 throw new RuntimeException("Could not set int values for GL frame!");
195 throw new RuntimeException("Could not set int values for GL frame!");
254 setDataFromFrame(Frame frame) argument
408 nativeCopyFromNative(NativeFrame frame) argument
410 nativeCopyFromGL(GLFrame frame) argument
[all...]
H A DFilter.java145 public void setInputFrame(String inputName, Frame frame) { argument
150 port.setFrame(frame);
248 protected final void pushOutput(String name, Frame frame) { argument
249 if (frame.getTimestamp() == Frame.TIMESTAMP_NOT_SET) {
251 frame.setTimestamp(mCurrentTimestamp);
253 getOutputPort(name).pushFrame(frame);
272 * Transfers any frame from an input port to its destination. This is useful to force a
402 * Specifies whether the filter should not be scheduled until a frame is available on that
403 * input port. Note, that setting this to false, does not block a new frame from coming in
404 * (though there is no necessity to pull that frame fo
534 pushInputFrame(String inputName, Frame frame) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameManager.java30 * The FrameManager tracks, caches, allocates and deallocates frame data.
35 * Additionally, frame managers allow attaching Frames under a specified key. This allows decoupling
36 * filter-graphs by instructing one node to attach a frame under a specific key, and another to
37 * fetch the frame under the same key.
46 /** Frame caching policy: Drop least recently used frame buffers */
48 /** Frame caching policy: Drop least frequently used frame buffers */
88 public void assignFrame(Frame frame) { argument
90 mFrame = frame.retain();
307 * Imports a frame from another FrameManager.
309 * This will return a frame wit
317 importFrame(Frame frame) argument
363 storeFrame(Frame frame, String slotName) argument
[all...]
H A DFilter.java665 final void addAutoReleaseFrame(Frame frame) { argument
666 mAutoReleaseFrames.add(frame);
/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp236 ALOGD(" drawFrame on %p nr %d on addr %p, previous frame nr %d",
251 ALOGD("frame %d needs frame %d preserved, but %d is currently, so drawing from scratch",
260 const SavedImage& frame = gif->SavedImages[i]; local
264 ALOGD("producing frame %d, drawing frame %d (opaque %d, disp %d, del %d)",
283 && checkIfCover(frame.ImageDesc, prevFrame.ImageDesc);
305 // currently drawn frame will be restored by a following DISPOSE_PREVIOUS draw, so
315 if (frame.ImageDesc.ColorMap) {
316 cmap = frame
[all...]
H A DFrameSequence_webp.cpp35 // Returns true if the frame covers full canvas.
36 static bool isFullFrame(const WebPIterator& frame, int canvasWidth, int canvasHeight) { argument
37 return (frame.width == canvasWidth && frame.height == canvasHeight);
40 // Returns true if the rectangle defined by 'frame' contains pixel (x, y).
41 static bool FrameContainsPixel(const WebPIterator& frame, int x, int y) { argument
42 const int left = frame.x_offset;
43 const int right = left + frame.width;
44 const int top = frame.y_offset;
45 const int bottom = top + frame
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h143 // This value is specified in number of frames. Log frame stats at most
171 Rect frame; member in struct:android::SurfaceFlinger::DisplayDeviceState
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp234 * @param width the video frame width in pixels
235 * @param height the video frame height in pixels
263 * Query the camera to retrieve the supported video frame sizes
270 * supported video frame sizes advertised by the camera.
303 * (width and height) and/or frame rate. If both width and
305 * if frameRate is -1, configuration on the frame rate
311 * @param width the target video frame width in pixels
312 * @param height the target video frame height in pixels
313 * @param frameRate the target frame rate in frames per second.
352 ALOGV("Supported frame rate
759 releaseRecordingFrame(const sp<IMemory>& frame) argument
784 releaseOneRecordingFrame(const sp<IMemory>& frame) argument
818 sp<IMemory> frame; local
[all...]
H A DFLACExtractor.cpp165 const FLAC__Frame *frame, const FLAC__int32 * const buffer[]);
191 const FLAC__Frame *frame, const FLAC__int32 * const buffer[],
245 const FLAC__StreamDecoder * /* decoder */, const FLAC__Frame *frame,
248 return ((FLACParser *) client_data)->writeCallback(frame, buffer);
320 const FLAC__Frame *frame, const FLAC__int32 * const buffer[])
324 // FLAC parser doesn't free or realloc buffer until next frame or finish
325 mWriteHeader = frame->header;
244 write_callback( const FLAC__StreamDecoder * , const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) argument
319 writeCallback( const FLAC__Frame *frame, const FLAC__int32 * const buffer[]) argument
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp473 // release a recording frame
708 // invoke methods in the Client class again (For example, the preview frame
816 // preview callback - frame buffer update
830 LOG2("frame callback is disabled");
848 // Is the received frame copied out or not?
850 LOG2("frame is copied");
853 LOG2("frame is forwarded");
956 ALOGE("%s: Failed to mmap heap for preview frame.", __FUNCTION__);
960 ALOGE("%s: Failed to mmap preview buffer for preview frame.", __FUNCTION__);
967 sp<MemoryBase> frame local
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp163 status_t BootAnimation::initTexture(const Animation::Frame& frame) argument
168 SkMemoryStream stream(frame.map->getDataPtr(), frame.map->getDataLength());
181 frame.map->release();
543 Animation::Frame frame; local
544 frame.name = leaf;
545 frame.map = map;
546 part.frames.add(frame);
606 const Animation::Frame& frame(part.frames[j]);
610 glBindTexture(GL_TEXTURE_2D, frame
[all...]
/frameworks/base/core/java/android/view/
H A DChoreographer.java35 * the next display frame.
43 * display frame rendering, use {@link android.animation.ValueAnimator#start}.</li>
45 * frame, use {@link View#postOnAnimation}.</li>
47 * frame after a delay, use {@link View#postOnAnimationDelayed}.</li>
49 * next display frame, use {@link View#postInvalidateOnAnimation()} or
52 * sync with display frame rendering, do nothing. This already happens automatically.
79 // default value be less than the true inter-frame delay on all devices to avoid
106 // Enable/disable using the frame time instead of returning now.
119 // All frame callbacks posted by applications have this token.
196 * The amount of time, in milliseconds, between each frame o
509 doFrame(long frameTimeNanos, int frame) argument
705 onVsync(long timestampNanos, int builtInDisplayId, int frame) argument
[all...]
H A DSurfaceView.java528 + ", vis=" + visible + ", frame=" + mWinFrame);
620 ", frame=" + mSurfaceFrame);
656 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, argument
662 "SurfaceView", surfaceView + " got resized: w=" + frame.width()
663 + " h=" + frame.height() + ", cur w=" + mCurWidth + " h=" + mCurHeight);
670 } else if (surfaceView.mWinFrame.width() != frame.width()
671 || surfaceView.mWinFrame.height() != frame.height()) {
/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/av/cmds/stagefright/
H A Dstagefright.cpp381 printf("decoded a total of %d frame(s).\n", n);
433 CHECK(!"sync frame detection not implemented yet for MPEG4");
436 CHECK(!"sync frame detection not implemented yet for H.263");
493 // Ignore everything up to the first IDR frame.
851 VideoFrame *frame = (VideoFrame *)mem->pointer(); local
854 (uint8_t *)frame + sizeof(VideoFrame),
855 frame->mWidth, frame->mHeight), 0);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp475 // Accept the first key frame
516 MediaBuffer *frame = *mPendingFrames.begin(); local
519 frame->release();
520 frame = NULL;
536 const mkvparser::Block::Frame &frame = block->GetFrame(i); local
538 MediaBuffer *mbuf = new MediaBuffer(frame.len);
542 long n = frame.Read(mExtractor->mReader, (unsigned char *)mbuf->data());
591 MediaBuffer *frame = *mPendingFrames.begin(); local
596 frame->meta_data()->setInt64(
600 *out = frame;
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java967 * @param frame A position of the overlay view.
969 void createOverlayView(IBinder windowToken, Rect frame) { argument
973 if (DEBUG) Log.d(TAG, "create overlay view(" + frame + ")");
975 mOverlayFrame = frame;
976 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1003 frame.right - frame
1017 relayoutOverlayView(Rect frame) argument
[all...]
H A DTvInputManager.java1561 * @param frame A position of the overlay view.
1565 void createOverlayView(View view, Rect frame) { argument
1569 if (frame == null) {
1570 throw new IllegalArgumentException("frame cannot be null");
1580 mService.createOverlayView(mToken, view.getWindowToken(), frame, mUserId);
1589 * @param frame A new position of the overlay view.
1592 void relayoutOverlayView(Rect frame) { argument
1593 if (frame == null) {
1594 throw new IllegalArgumentException("frame cannot be null");
1601 mService.relayoutOverlayView(mToken, frame, mUserI
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetPager.java213 KeyguardWidgetFrame frame = getWidgetPageAt(i);
214 updateWidgetFrameImportantForAccessibility(frame);
218 private void updateWidgetFrameImportantForAccessibility(KeyguardWidgetFrame frame) { argument
219 if (frame.getContentAlpha() <= 0) {
220 frame.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
222 frame.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
320 * We wrap widgets in a special frame which handles drawing the over scroll foreground.
323 KeyguardWidgetFrame frame;
326 frame = new KeyguardWidgetFrame(getContext());
334 frame
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp20 //#define LOG_NNDEBUG 0 // Per-frame verbose logging
1185 ALOGW("%s: Camera %d: No frame in %" PRId64 " ns: %s (%d)",
1193 status_t Camera3Device::getNextResult(CaptureResult *frame) { argument
1201 if (frame == NULL) {
1207 frame->mResultExtras = result.mResultExtras;
1208 frame->mMetadata.acquire(result.mMetadata);
1714 * to the output frame queue
1917 ATRACE_ASYNC_END("frame capture", frameNumber);
1923 ") for frame %d doesn't match shutter timestamp (%" PRId64 ")",
1936 ALOGVV("%s: removed frame
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java1283 public void createOverlayView(IBinder sessionToken, IBinder windowToken, Rect frame, argument
1293 .createOverlayView(windowToken, frame);
1304 public void relayoutOverlayView(IBinder sessionToken, Rect frame, int userId) { argument
1313 .relayoutOverlayView(frame);
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java139 * Actual frame shown on-screen (may be modified by animation). These
197 * This is the given touchable area relative to the window frame, or null if none.
204 * NOT touchable, so we must use those to adjust the frame during hit
223 // "Real" frame that the application sees, in display coordinate space.
237 // The region of the display frame that the display type supports displaying content on. This
243 // The display frame minus the stable insets. This value is always constant regardless of if
248 // bars are visible, the decor frame is equal to the stable frame.
251 // Equal to the decor frame if the IME (e.g. keyboard) is not present. Equal to the decor frame
1325 applyInsets(Region outRegion, Rect frame, Rect inset) argument
[all...]
/frameworks/rs/
H A DrsContext.cpp180 uint64_t frame = mTimeFrame - mTimeLastFrame; local
181 mTimeMSLastFrame = frame / 1000000;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h45 Int frame; /* frame number */ member in struct:tagVOP
53 Int padded; /* flag whether this frame has been padded */
206 Int Refresh; /* Number of MBs refresh in each frame */
209 Bool FineFrameSkip_Enabled; /* src rate resolution frame skipping */
211 Bool NoFrameSkip_Enabled; /* do not allow frame skip */
228 Int maxFrameSize; /* maximum frame size(bits) for H263/Short header mode, k*16384 */
263 Int target_bits; /* target bits for current frame, = rc->T */
264 Int actual_bits; /* actual bits for current frame obtained after encoding, = rc->Rc*/
265 Int QP; /* quantization level for current frame,
[all...]

Completed in 202 milliseconds

1234