/test/testfwk/arkxtest/uitest/addon/ |
H A D | screen_copy.cpp | 64 void UpdateFrameLocked(shared_ptr<PixelMap> frame, bool &changed, bool &muted);
167 shared_ptr<PixelMap> frame = dm.GetScreenshot(displayId);
in PollAndNotifyFrames() local 168 if (frame == nullptr) {
in PollAndNotifyFrames() 172 UpdateFrameLocked(frame, changed, screenOff);
in PollAndNotifyFrames() 184 void ScreenCopy::UpdateFrameLocked(shared_ptr<PixelMap> frame, bool &changed, bool &screenOff)
in UpdateFrameLocked() argument 187 newestFrame_ = frame;
in UpdateFrameLocked() 190 // if this is the first frame
in UpdateFrameLocked() 194 memset_s(frame->GetWritablePixels(), newestFrameSize, 0, newestFrameSize);
in UpdateFrameLocked() 198 // compare this frame and last frame
in UpdateFrameLocked() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dpxenc.c | 176 const AVFrame *frame, int *got_packet) in encode_frame() 236 const uint8_t *src = frame->data[0]; in encode_frame() 243 src += frame->linesize[0]; in encode_frame() 247 (const uint8_t**)frame->data, frame->linesize, in encode_frame() 256 encode_gbrp10(avctx, frame, buf + HEADER_SIZE); in encode_frame() 258 encode_rgb48_10bit(avctx, frame, buf + HEADER_SIZE); in encode_frame() 261 encode_gbrp12(avctx, frame, buf + HEADER_SIZE); in encode_frame() 175 encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) encode_frame() argument
|
H A D | mscc.c | 132 static int decode_frame(AVCodecContext *avctx, AVFrame *frame, in decode_frame() argument 146 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in decode_frame() 154 frame->palette_has_changed = 1; in decode_frame() 161 memcpy(frame->data[1], s->pal, AVPALETTE_SIZE); in decode_frame() 200 memcpy(frame->data[0] + (avctx->height - j - 1) * frame->linesize[0], in decode_frame() 204 frame->key_frame = 1; in decode_frame() 205 frame->pict_type = AV_PICTURE_TYPE_I; in decode_frame()
|
H A D | mvcdec.c | 228 static int mvc_decode_frame(AVCodecContext *avctx, AVFrame *frame, in mvc_decode_frame() argument 235 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in mvc_decode_frame() 240 ret = decode_mvc1(avctx, &gb, frame->data[0], in mvc_decode_frame() 241 avctx->width, avctx->height, frame->linesize[0]); in mvc_decode_frame() 243 ret = decode_mvc2(avctx, &gb, frame->data[0], in mvc_decode_frame() 244 avctx->width, avctx->height, frame->linesize[0], in mvc_decode_frame() 249 frame->pict_type = AV_PICTURE_TYPE_I; in mvc_decode_frame() 250 frame->key_frame = 1; in mvc_decode_frame()
|
H A D | v4l2_m2m_enc.c | 198 v4l2_set_ext_ctrl(s, MPEG_CID(FRAME_RC_ENABLE), 1, "frame level rate control", 0); in v4l2_prepare_encoder() 202 "Encoder Context: id (%d), profile (%d), frame rate(%d/%d), number b-frames (%d), " in v4l2_prepare_encoder() 274 static int v4l2_send_frame(AVCodecContext *avctx, const AVFrame *frame) in v4l2_send_frame() argument 280 if (frame && frame->pict_type == AV_PICTURE_TYPE_I) in v4l2_send_frame() 281 v4l2_set_ext_ctrl(s, MPEG_CID(FORCE_KEY_FRAME), 0, "force key frame", 1); in v4l2_send_frame() 284 return ff_v4l2_context_enqueue_frame(output, frame); in v4l2_send_frame() 292 AVFrame *frame = s->frame; in v4l2_receive_packet() local 298 if (!frame in v4l2_receive_packet() [all...] |
H A D | smc.c | 51 AVFrame *frame; member 87 int stride = s->frame->linesize[0]; in smc_decode_stream() 98 uint8_t * const pixels = s->frame->data[0]; in smc_decode_stream() 100 int image_size = height * s->frame->linesize[0]; in smc_decode_stream() 118 memcpy(s->frame->data[1], s->pal, AVPALETTE_SIZE); in smc_decode_stream() 424 s->frame = av_frame_alloc(); in smc_decode_init() 425 if (!s->frame) in smc_decode_init() 445 if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0) in smc_decode_frame() 448 s->frame->palette_has_changed = ff_copy_palette(s->pal, avpkt, avctx); in smc_decode_frame() 455 if ((ret = av_frame_ref(rframe, s->frame)) < in smc_decode_frame() [all...] |
H A D | vt_internal.h | 36 CVImageBufferRef frame; member 52 int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame); 66 int ff_videotoolbox_common_end_frame(AVCodecContext *avctx, AVFrame *frame);
|
H A D | libcodec2.c | 133 static int libcodec2_decode(AVCodecContext *avctx, AVFrame *frame, in libcodec2_decode() argument 142 frame->nb_samples = avctx->frame_size * nframes; in libcodec2_decode() 144 ret = ff_get_buffer(avctx, frame, 0); in libcodec2_decode() 150 output = (int16_t *)frame->data[0]; in libcodec2_decode() 163 const AVFrame *frame, int *got_packet_ptr) in libcodec2_encode() 166 int16_t *samples = (int16_t *)frame->data[0]; in libcodec2_encode() 162 libcodec2_encode(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) libcodec2_encode() argument
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_thumbnail.c | 24 * selection (such as a black frame) we could get with an absolute seek. 38 AVFrame *buf; ///< cached frame 39 int histogram[HIST_SIZE]; ///< RGB color distribution histogram of the frame 44 int n; ///< current frame 110 // find the frame closer to the average using the sum of squared errors in get_best_frame() 117 // free and reset everything (except the best frame buffer) in get_best_frame() 127 av_log(ctx, AV_LOG_INFO, "frame id #%d (pts_time=%f) selected " in get_best_frame() 135 static int filter_frame(AVFilterLink *inlink, AVFrame *frame) in filter_frame() argument 142 const uint8_t *p = frame->data[0]; in filter_frame() 144 // keep a reference of each frame in filter_frame() [all...] |
H A D | vf_readvitc.c | 209 static int filter_frame(AVFilterLink *inlink, AVFrame *frame) in filter_frame() argument 216 found = read_vitc_line(s, frame->data[0], frame->linesize[0], inlink->w, inlink->h); in filter_frame() 217 av_dict_set(&frame->metadata, "lavfi.readvitc.found", (found ? "1" : "0"), 0); in filter_frame() 219 av_dict_set(&frame->metadata, "lavfi.readvitc.tc_str", make_vitc_tc_string(s->tcbuf, s->line_data), 0); in filter_frame() 221 return ff_filter_frame(outlink, frame); in filter_frame() 242 .description = NULL_IF_CONFIG_SMALL("Read vertical interval timecode and write it to frame metadata."),
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_drm.c | 80 static int drm_get_buffer(AVHWFramesContext *hwfc, AVFrame *frame) in drm_get_buffer() argument 82 frame->buf[0] = av_buffer_pool_get(hwfc->pool); in drm_get_buffer() 83 if (!frame->buf[0]) in drm_get_buffer() 86 frame->data[0] = (uint8_t*)frame->buf[0]->data; in drm_get_buffer() 88 frame->format = AV_PIX_FMT_DRM_PRIME; in drm_get_buffer() 89 frame->width = hwfc->width; in drm_get_buffer() 90 frame->height = hwfc->height; in drm_get_buffer()
|
/third_party/skia/src/android/ |
H A D | SkAnimatedImage.cpp | 171 // Final frame. Check to determine whether to stop. in computeNextFrame() 217 SkCodecPrintf("Error getting frameInfo for frame %i\n", in decodeNextFrame() 230 for (Frame* frame : { &fRestoreFrame, &fDecodingFrame }) { in decodeNextFrame() 231 if (frameToDecode == frame->fIndex) { in decodeNextFrame() 233 swap(fDisplayFrame, *frame); in decodeNextFrame() 241 // The following code makes an effort to avoid overwriting a frame that will in decodeNextFrame() 242 // be used again. If frame |i| is_restore_previous, frame |i+1| will not in decodeNextFrame() 243 // depend on frame |i|, so do not overwrite frame | in decodeNextFrame() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/tegra/ |
H A D | ivc.c | 219 unsigned int frame) in tegra_ivc_frame_virt() 221 if (WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_frame_virt() 224 return (void *)(header + 1) + ivc->frame_size * frame; in tegra_ivc_frame_virt() 229 unsigned int frame) in tegra_ivc_frame_phys() 233 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_phys() 240 unsigned int frame, in tegra_ivc_invalidate_frame() 244 if (!ivc->peer || WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_invalidate_frame() 247 phys = tegra_ivc_frame_phys(ivc, phys, frame) + offset; in tegra_ivc_invalidate_frame() 254 unsigned int frame, in tegra_ivc_flush_frame() 258 if (!ivc->peer || WARN_ON(frame > in tegra_ivc_flush_frame() 217 tegra_ivc_frame_virt(struct tegra_ivc *ivc, struct tegra_ivc_header *header, unsigned int frame) tegra_ivc_frame_virt() argument 227 tegra_ivc_frame_phys(struct tegra_ivc *ivc, dma_addr_t phys, unsigned int frame) tegra_ivc_frame_phys() argument 238 tegra_ivc_invalidate_frame(struct tegra_ivc *ivc, dma_addr_t phys, unsigned int frame, unsigned int offset, size_t size) tegra_ivc_invalidate_frame() argument 252 tegra_ivc_flush_frame(struct tegra_ivc *ivc, dma_addr_t phys, unsigned int frame, unsigned int offset, size_t size) tegra_ivc_flush_frame() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/tegra/ |
H A D | ivc.c | 227 unsigned int frame, struct iosys_map *map) in tegra_ivc_frame_virt() 229 size_t offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_virt() 231 if (WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_frame_virt() 241 unsigned int frame) in tegra_ivc_frame_phys() 245 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_phys() 252 unsigned int frame, in tegra_ivc_invalidate_frame() 256 if (!ivc->peer || WARN_ON(frame >= ivc->num_frames)) in tegra_ivc_invalidate_frame() 259 phys = tegra_ivc_frame_phys(ivc, phys, frame) + offset; in tegra_ivc_invalidate_frame() 266 unsigned int frame, in tegra_ivc_flush_frame() 270 if (!ivc->peer || WARN_ON(frame > in tegra_ivc_flush_frame() 226 tegra_ivc_frame_virt(struct tegra_ivc *ivc, const struct iosys_map *header, unsigned int frame, struct iosys_map *map) tegra_ivc_frame_virt() argument 239 tegra_ivc_frame_phys(struct tegra_ivc *ivc, dma_addr_t phys, unsigned int frame) tegra_ivc_frame_phys() argument 250 tegra_ivc_invalidate_frame(struct tegra_ivc *ivc, dma_addr_t phys, unsigned int frame, unsigned int offset, size_t size) tegra_ivc_invalidate_frame() argument 264 tegra_ivc_flush_frame(struct tegra_ivc *ivc, dma_addr_t phys, unsigned int frame, unsigned int offset, size_t size) tegra_ivc_flush_frame() argument [all...] |
/third_party/node/deps/v8/src/deoptimizer/ |
H A D | translated-state.h | 41 // frame, contains: 43 // TranslatedFrame: describes a single unoptimized frame, contains: 198 // `height` is slightly misleading. Yes, this value is related to stack frame 200 // frame height (e.g.: addition/subtraction of context, accumulator, fixed 201 // frame sizes, padding). 338 // and resolving them to values using the supplied frame pointer and 344 // 3. Reading out the frame values. 354 // frame (replacing it with one or several unoptimized frames). It is used by 359 // frame. It is used by stack trace generation and various debugging features. 360 explicit TranslatedState(const JavaScriptFrame* frame); [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-compiler.cc | 201 JavaScriptFrame* top_frame = top_it.frame(); in RUNTIME_FUNCTION() 234 // Determine the frame that triggered the OSR request. in RUNTIME_FUNCTION() 236 UnoptimizedFrame* frame = UnoptimizedFrame::cast(it.frame()); in RUNTIME_FUNCTION() local 238 DCHECK_IMPLIES(frame->is_interpreted(), in RUNTIME_FUNCTION() 239 frame->LookupCode().is_interpreter_trampoline_builtin()); in RUNTIME_FUNCTION() 240 DCHECK_IMPLIES(frame->is_baseline(), in RUNTIME_FUNCTION() 241 frame->LookupCode().kind() == CodeKind::BASELINE); in RUNTIME_FUNCTION() 242 DCHECK(frame->function().shared().HasBytecodeArray()); in RUNTIME_FUNCTION() 245 BytecodeOffset osr_offset = BytecodeOffset(frame in RUNTIME_FUNCTION() [all...] |
/third_party/skia/third_party/externals/libgifcodec/ |
H A D | SkLibGifCodec.cpp | 78 auto* frame = reader->frameContext(0); in MakeFromStream() local 79 if (!frame || !frame->isHeaderDefined()) { in MakeFromStream() 137 // If a frame is offscreen, it will have no effect on the output in onGetFrameInfo() 165 // This is possible for an empty frame. Create a dummy with one value (transparent). in initializeColorTable() 189 // - If there is a transparent pixel, and this frame draws on top of another frame in prepareToDecode() 190 // (if the frame is independent with a transparent pixel, we should not decode to in prepareToDecode() 199 return gif_error("Cannot decode multiframe gif (except frame 0) as 565.\n", in prepareToDecode() 203 const auto* frame in prepareToDecode() local 236 const SkGIFFrameContext* frame = fReader->frameContext(frameIndex); initializeSwizzler() local [all...] |
/third_party/node/src/ |
H A D | node_http2.cc | 159 // additional frame padding to apply to DATA and HEADERS frames. Currently in Http2Options() 235 // The Http2Settings class is used to configure a SETTINGS frame that is 258 // frame. This can be used, for instance, to create the Base64-encoded 693 // frame. There is no guarantee that this GOAWAY will be received by in Close() 775 // that the total frame size, including header bytes, are 8-byte aligned. 786 // use the max instead, even tho this means the frame will not be in OnDWordAlignedPadding() 789 Debug(this, "using frame size padding: %d", pad); in OnDWordAlignedPadding() 794 // of padding allowed for the current frame. 797 Debug(this, "using max frame size padding: %d", maxPayloadLen); in OnMaxFrameSizePadding() 876 int32_t GetFrameID(const nghttp2_frame* frame) { in GetFrameID() argument 888 OnBeginHeadersCallback(nghttp2_session* handle, const nghttp2_frame* frame, void* user_data) OnBeginHeadersCallback() argument 924 OnHeaderCallback(nghttp2_session* handle, const nghttp2_frame* frame, nghttp2_rcbuf* name, nghttp2_rcbuf* value, uint8_t flags, void* user_data) OnHeaderCallback() argument 952 OnFrameReceive(nghttp2_session* handle, const nghttp2_frame* frame, void* user_data) OnFrameReceive() argument 991 OnInvalidFrame(nghttp2_session* handle, const nghttp2_frame* frame, int lib_error_code, void* user_data) OnInvalidFrame() argument 1024 DecrefHeaders(const nghttp2_frame* frame) DecrefHeaders() argument 1064 OnFrameNotSent(nghttp2_session* handle, const nghttp2_frame* frame, int error_code, void* user_data) OnFrameNotSent() argument 1101 OnFrameSent(nghttp2_session* handle, const nghttp2_frame* frame, void* user_data) OnFrameSent() argument 1148 OnInvalidHeader(nghttp2_session* session, const nghttp2_frame* frame, nghttp2_rcbuf* name, nghttp2_rcbuf* value, uint8_t flags, void* user_data) OnInvalidHeader() argument 1244 OnSelectPadding(nghttp2_session* handle, const nghttp2_frame* frame, size_t maxPayloadLen, void* user_data) OnSelectPadding() argument 1332 HandleHeadersFrame(const nghttp2_frame* frame) HandleHeadersFrame() argument 1386 HandlePriorityFrame(const nghttp2_frame* frame) HandlePriorityFrame() argument 1413 HandleDataFrame(const nghttp2_frame* frame) HandleDataFrame() argument 1435 HandleGoawayFrame(const nghttp2_frame* frame) HandleGoawayFrame() argument 1465 HandleAltSvcFrame(const nghttp2_frame* frame) HandleAltSvcFrame() argument 1488 HandleOriginFrame(const nghttp2_frame* frame) HandleOriginFrame() argument 1511 HandlePingFrame(const nghttp2_frame* frame) HandlePingFrame() argument 1546 HandleSettingsFrame(const nghttp2_frame* frame) HandleSettingsFrame() argument 1817 OnSendData( nghttp2_session* session_, nghttp2_frame* frame, const uint8_t* framehd, size_t length, nghttp2_data_source* source, void* user_data) OnSendData() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/aoe/ |
H A D | aoecmd.c | 24 static void ktcomplete(struct frame *, struct sk_buff *); 78 static struct frame * 82 struct frame *f; in getframe_deferred() 86 f = list_entry(pos, struct frame, head); in getframe_deferred() 95 static struct frame * 98 struct frame *f; in getframe() 105 f = list_entry(pos, struct frame, head); in getframe() 117 * This driver reserves tag -1 to mean "unused frame." 193 aoe_freetframe(struct frame *f) in aoe_freetframe() 205 static struct frame * [all...] |
/kernel/linux/linux-6.6/drivers/block/aoe/ |
H A D | aoecmd.c | 23 static void ktcomplete(struct frame *, struct sk_buff *); 77 static struct frame * 81 struct frame *f; in getframe_deferred() 85 f = list_entry(pos, struct frame, head); in getframe_deferred() 94 static struct frame * 97 struct frame *f; in getframe() 104 f = list_entry(pos, struct frame, head); in getframe() 116 * This driver reserves tag -1 to mean "unused frame." 192 aoe_freetframe(struct frame *f) in aoe_freetframe() 204 static struct frame * [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan_cfg.h | 45 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size); 46 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id); 49 void wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
|
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan_cfg.h | 45 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size); 46 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id); 49 void wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_lspcon.h | 29 void *frame, ssize_t len); 41 const void *frame, ssize_t len); 45 void *frame, ssize_t len);
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_help.py | 19 cls.frame = help.HelpFrame(root, helpfile) 23 del cls.frame 29 text = self.frame.text
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | rethook.c | 241 * @frame: A frame pointer 246 * The @tsk must be 'current' or a task which is not running. @frame is a hint 248 * rethook::frame field. The @cur is a loop cursor for searching the 254 unsigned long rethook_find_ret_addr(struct task_struct *tsk, unsigned long frame, in rethook_find_ret_addr() argument 271 } while (rhn->frame != frame); in rethook_find_ret_addr() 282 * frame pointer to record real return address on the stack, in arch_rethook_fixup_return() 290 unsigned long frame) in rethook_trampoline_handler() 318 if (WARN_ON_ONCE(rhn->frame ! in rethook_trampoline_handler() 289 rethook_trampoline_handler(struct pt_regs *regs, unsigned long frame) rethook_trampoline_handler() argument [all...] |