/third_party/ffmpeg/libavdevice/ |
H A D | decklink_enc.cpp | 144 decklink_frame *frame = static_cast<decklink_frame *>(_frame); in ScheduledFrameCompleted() local 145 struct decklink_ctx *ctx = frame->_ctx; in ScheduledFrameCompleted() 147 if (frame->_avframe) in ScheduledFrameCompleted() 148 av_frame_unref(frame->_avframe); in ScheduledFrameCompleted() 149 if (frame->_avpacket) in ScheduledFrameCompleted() 150 av_packet_unref(frame->_avpacket); in ScheduledFrameCompleted() 185 " Only V210 and wrapped frame with AV_PIX_FMT_UYVY422 are supported.\n"); in decklink_setup_video() 371 AVPacket *pkt, decklink_frame *frame) in decklink_construct_vanc() 418 result = frame->SetAncillaryData(vanc); in decklink_construct_vanc() 440 decklink_frame *frame; in decklink_write_video_packet() local 370 decklink_construct_vanc(AVFormatContext *avctx, struct decklink_ctx *ctx, AVPacket *pkt, decklink_frame *frame) decklink_construct_vanc() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | Server.cpp | 232 auto const &frame = stack[i]; in Impl() 233 auto const &loc = frame.location; in Impl() 236 sf.id = frame.id.value(); in Impl() 237 sf.name = frame.function; in Impl() 253 auto frame = lock.get(Frame::ID(req.frameId)); in Impl() 254 if(!frame) in Impl() 261 scope(lock, "locals", frame->locals.get()), in Impl() 262 scope(lock, "arguments", frame->arguments.get()), in Impl() 263 scope(lock, "registers", frame->registers.get()), in Impl() 427 auto frame in Impl() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/ |
H A D | mcam-core.c | 87 #define CF_DMA_ACTIVE 3 /* A frame is incoming */ 210 static void mcam_buffer_done(struct mcam_camera *cam, int frame, in mcam_buffer_done() argument 214 vbuf->sequence = cam->buf_seq[frame]; in mcam_buffer_done() 325 unsigned frame, dma_addr_t base) in mcam_write_yuv_bases() 346 mcam_reg_write(cam, REG_Y0BAR + frame * 4, y); in mcam_write_yuv_bases() 348 mcam_reg_write(cam, REG_U0BAR + frame * 4, u); in mcam_write_yuv_bases() 349 mcam_reg_write(cam, REG_V0BAR + frame * 4, v); in mcam_write_yuv_bases() 494 static void mcam_vmalloc_done(struct mcam_camera *cam, int frame) in mcam_vmalloc_done() argument 528 * Set up a contiguous buffer for the given frame. Here also is where 535 static void mcam_set_contig_buffer(struct mcam_camera *cam, int frame) in mcam_set_contig_buffer() argument 324 mcam_write_yuv_bases(struct mcam_camera *cam, unsigned frame, dma_addr_t base) mcam_write_yuv_bases() argument 579 mcam_dma_contig_done(struct mcam_camera *cam, int frame) mcam_dma_contig_done() argument 658 mcam_dma_sg_done(struct mcam_camera *cam, int frame) mcam_dma_sg_done() argument 1142 unsigned int frame; mcam_vb_start_streaming() local 1679 mcam_frame_complete(struct mcam_camera *cam, int frame) mcam_frame_complete() argument 1707 unsigned int frame, handled = 0; mccic_irq() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/marvell/ |
H A D | mcam-core.c | 87 #define CF_DMA_ACTIVE 3 /* A frame is incoming */ 210 static void mcam_buffer_done(struct mcam_camera *cam, int frame, in mcam_buffer_done() argument 214 vbuf->sequence = cam->buf_seq[frame]; in mcam_buffer_done() 325 unsigned frame, dma_addr_t base) in mcam_write_yuv_bases() 346 mcam_reg_write(cam, REG_Y0BAR + frame * 4, y); in mcam_write_yuv_bases() 348 mcam_reg_write(cam, REG_U0BAR + frame * 4, u); in mcam_write_yuv_bases() 349 mcam_reg_write(cam, REG_V0BAR + frame * 4, v); in mcam_write_yuv_bases() 494 static void mcam_vmalloc_done(struct mcam_camera *cam, int frame) in mcam_vmalloc_done() argument 528 * Set up a contiguous buffer for the given frame. Here also is where 535 static void mcam_set_contig_buffer(struct mcam_camera *cam, int frame) in mcam_set_contig_buffer() argument 324 mcam_write_yuv_bases(struct mcam_camera *cam, unsigned frame, dma_addr_t base) mcam_write_yuv_bases() argument 579 mcam_dma_contig_done(struct mcam_camera *cam, int frame) mcam_dma_contig_done() argument 658 mcam_dma_sg_done(struct mcam_camera *cam, int frame) mcam_dma_sg_done() argument 1142 unsigned int frame; mcam_vb_start_streaming() local 1682 mcam_frame_complete(struct mcam_camera *cam, int frame) mcam_frame_complete() argument 1710 unsigned int frame, handled = 0; mccic_irq() local [all...] |
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | unwind_local_benchmark.cpp | 133 DfxFrame frame;
in UnwinderLocalFp() local 134 frame.index = i;
in UnwinderLocalFp() 135 frame.pc = static_cast<uint64_t>(pcs[i]);
in UnwinderLocalFp() 136 frames.emplace_back(frame);
in UnwinderLocalFp() 156 DfxFrame frame;
in FpUnwinderLocal() local 157 frame.index = i;
in FpUnwinderLocal() 158 frame.pc = static_cast<uint64_t>(pcs[i]);
in FpUnwinderLocal() 159 frames.emplace_back(frame);
in FpUnwinderLocal() 179 DfxFrame frame;
in FpUnwinderLocalSafe() local 180 frame in FpUnwinderLocalSafe() [all...] |
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/ |
H A D | backtrace_local_test.cpp | 254 * @tc.desc: test skip two stack frames and verify stack frame 342 std::string frame; in HWTEST_F() local 343 ASSERT_EQ(true, GetBacktrace(frame, 0, false, DEFAULT_MAX_FRAME_NUM)); in HWTEST_F() 344 int start = frame.find("#00"); in HWTEST_F() 345 int end = frame.find("#01"); in HWTEST_F() 346 std::string str = frame.substr(start, end - start); in HWTEST_F() 347 GTEST_LOG_(INFO) << "frame" << frame; in HWTEST_F() 370 for (auto const& frame : threadStack.frames) { in HWTEST_F() 371 auto line = DfxFrameFormatter::GetFrameStr(frame); in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/arch/mips/jazz/ |
H A D | jazzdma.c | 55 pgtbl[i].frame = paddr; in vdma_pgtbl_init() 97 int first, last, pages, frame, i; in vdma_alloc() local 142 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_alloc() 145 pgtbl[i].frame = frame; in vdma_alloc() 147 frame += VDMA_PAGESIZE; in vdma_alloc() 165 printk("%08x ", pgtbl[i].frame); in vdma_alloc() 219 int frame; in vdma_phys2log() local 221 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_phys2log() 224 if (pgtbl[i].frame in vdma_phys2log() [all...] |
/kernel/linux/linux-6.6/arch/mips/jazz/ |
H A D | jazzdma.c | 55 pgtbl[i].frame = paddr; in vdma_pgtbl_init() 97 int first, last, pages, frame, i; in vdma_alloc() local 142 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_alloc() 145 pgtbl[i].frame = frame; in vdma_alloc() 147 frame += VDMA_PAGESIZE; in vdma_alloc() 165 printk("%08x ", pgtbl[i].frame); in vdma_alloc() 219 int frame; in vdma_phys2log() local 221 frame = paddr & ~(VDMA_PAGESIZE - 1); in vdma_phys2log() 224 if (pgtbl[i].frame in vdma_phys2log() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | bpf_verifier.h | 216 * is used which is an index in bpf_verifier_state->frame[] array 266 * main (frame 0) 267 * cb (frame 1) 268 * func (frame 3) 269 * cb (frame 4) 270 * Hence for frame 4, if callback_ref just stored boolean, it would be 285 /* stack frame number of this function state from pov of 306 * Value in frame N refers to number of times callback with frame 309 * bpf_loop(..., fn, ...); | suppose current frame i 332 struct bpf_func_state *frame[MAX_CALL_FRAMES]; global() member 582 u32 frame; global() member [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cdtoons.c | 52 AVFrame *frame; member 95 dest = c->frame->data[0] + (dst_y + y) * c->frame->linesize[0] + dst_x; in cdtoons_render_sprite() 173 if ((ret = ff_reget_buffer(avctx, c->frame, 0)) < 0) in cdtoons_decode_frame() 197 /* read new sprites introduced in this frame */ in cdtoons_decode_frame() 256 av_log(avctx, AV_LOG_WARNING, "Ran (seriously) out of data for Diff frame.\n"); in cdtoons_decode_frame() 266 av_log(avctx, AV_LOG_WARNING, "Ran (seriously) out of data for Diff frame header.\n"); in cdtoons_decode_frame() 277 av_log(avctx, AV_LOG_WARNING, "Ran (seriously) out of data for Diff frame data.\n"); in cdtoons_decode_frame() 297 /* was an intra frame? */ in cdtoons_decode_frame() 322 memset(c->frame in cdtoons_decode_frame() [all...] |
H A D | kmvc.c | 188 } else { // copy block from previous frame in kmvc_decode_inter_8x8() 264 static int decode_frame(AVCodecContext * avctx, AVFrame *frame, in decode_frame() argument 275 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in decode_frame() 278 frame->palette_has_changed = ff_copy_palette(ctx->pal, avpkt, avctx); in decode_frame() 293 frame->key_frame = 1; in decode_frame() 294 frame->pict_type = AV_PICTURE_TYPE_I; in decode_frame() 296 frame->key_frame = 0; in decode_frame() 297 frame->pict_type = AV_PICTURE_TYPE_P; in decode_frame() 301 frame->palette_has_changed = 1; in decode_frame() 310 frame in decode_frame() [all...] |
H A D | fic.c | 45 AVFrame *frame; member 188 int stride = ctx->frame->linesize[p]; in fic_decode_slice() 189 uint8_t* dst = ctx->frame->data[p] + (y_off >> !!p) * stride; in fic_decode_slice() 283 if ((ret = ff_reget_buffer(avctx, ctx->frame, 0)) < 0) in fic_decode_frame() 296 /* Is it a skip frame? */ in fic_decode_frame() 299 av_log(avctx, AV_LOG_WARNING, "Initial frame is skipped\n"); in fic_decode_frame() 362 av_log(avctx, AV_LOG_ERROR, "Not enough frame data to decode.\n"); in fic_decode_frame() 409 ctx->frame->key_frame = 1; in fic_decode_frame() 410 ctx->frame->pict_type = AV_PICTURE_TYPE_I; in fic_decode_frame() 413 ctx->frame in fic_decode_frame() [all...] |
H A D | libfdk-aacdec.c | 380 static int fdk_aac_decode_frame(AVCodecContext *avctx, AVFrame *frame, in fdk_aac_decode_frame() argument 425 frame->nb_samples = avctx->frame_size; in fdk_aac_decode_frame() 431 frame->nb_samples = FFMIN(s->flush_samples, frame->nb_samples); in fdk_aac_decode_frame() 433 frame->nb_samples, s->flush_samples); in fdk_aac_decode_frame() 434 s->flush_samples -= frame->nb_samples; in fdk_aac_decode_frame() 440 int drop_samples = FFMIN(s->delay_samples, frame->nb_samples); in fdk_aac_decode_frame() 444 frame->nb_samples -= drop_samples; in fdk_aac_decode_frame() 446 if (frame->nb_samples <= 0) in fdk_aac_decode_frame() 452 if ((ret = ff_get_buffer(avctx, frame, in fdk_aac_decode_frame() [all...] |
H A D | ljpegenc.c | 33 #include "libavutil/frame.h" 66 const AVFrame *frame) in ljpeg_encode_bgr() 69 const int width = frame->width; in ljpeg_encode_bgr() 70 const int height = frame->height; in ljpeg_encode_bgr() 71 const int linesize = frame->linesize[0]; in ljpeg_encode_bgr() 81 uint8_t *ptr = frame->data[0] + (linesize * y); in ljpeg_encode_bgr() 84 av_log(avctx, AV_LOG_ERROR, "encoded frame too large\n"); in ljpeg_encode_bgr() 128 const AVFrame *frame, int predictor, in ljpeg_encode_yuv_mb() 139 linesize = frame->linesize[i]; in ljpeg_encode_yuv_mb() 145 ptr = frame in ljpeg_encode_yuv_mb() 65 ljpeg_encode_bgr(AVCodecContext *avctx, PutBitContext *pb, const AVFrame *frame) ljpeg_encode_bgr() argument 127 ljpeg_encode_yuv_mb(LJpegEncContext *s, PutBitContext *pb, const AVFrame *frame, int predictor, int mb_x, int mb_y) ljpeg_encode_yuv_mb() argument 192 ljpeg_encode_yuv(AVCodecContext *avctx, PutBitContext *pb, const AVFrame *frame) ljpeg_encode_yuv() argument [all...] |
H A D | aic.c | 144 AVFrame *frame; member 324 const int ystride = ctx->frame->linesize[0]; in aic_decode_slice() 334 Y = ctx->frame->data[0] + mb_x * 16 + y_pos * ystride; in aic_decode_slice() 336 C[i] = ctx->frame->data[i + 1] + mb_x * 8 in aic_decode_slice() 337 + c_pos * ctx->frame->linesize[i + 1]; in aic_decode_slice() 376 ctx->frame->linesize[blk + 1]); in aic_decode_slice() 384 static int aic_decode_frame(AVCodecContext *avctx, AVFrame *frame, in aic_decode_frame() argument 395 ctx->frame = frame; in aic_decode_frame() 396 ctx->frame in aic_decode_frame() [all...] |
/third_party/node/deps/v8/src/execution/ |
H A D | tiering-manager.cc | 151 bool HaveCachedOSRCodeForCurrentBytecodeOffset(UnoptimizedFrame* frame, in HaveCachedOSRCodeForCurrentBytecodeOffset() argument 153 JSFunction function = frame->function(); in HaveCachedOSRCodeForCurrentBytecodeOffset() 154 const int current_offset = frame->GetBytecodeOffset(); in HaveCachedOSRCodeForCurrentBytecodeOffset() 157 handle(frame->GetBytecodeArray(), frame->isolate())); in HaveCachedOSRCodeForCurrentBytecodeOffset() 271 UnoptimizedFrame* frame, in MaybeOptimizeFrame() 302 frame, &osr_urgency_for_cached_osr_code)) { in MaybeOptimizeFrame() 311 // still in the unoptimized frame (this implies a long-running loop). in MaybeOptimizeFrame() 323 OptimizationDecision d = ShouldOptimize(function, code_kind, frame); in MaybeOptimizeFrame() 329 JavaScriptFrame* frame) { in ShouldOptimize() 270 MaybeOptimizeFrame(JSFunction function, UnoptimizedFrame* frame, CodeKind code_kind) MaybeOptimizeFrame() argument 327 ShouldOptimize(JSFunction function, CodeKind code_kind, JavaScriptFrame* frame) ShouldOptimize() argument 441 UnoptimizedFrame* frame = UnoptimizedFrame::cast(it.frame()); OnInterruptTick() local [all...] |
/third_party/skia/src/codec/ |
H A D | SkHeifCodec.cpp | 319 Frame* frame = fFrameHolder.appendNewFrame(); in onGetFrameCount() local 320 frame->setXYWH(0, 0, frameInfo.mWidth, frameInfo.mHeight); in onGetFrameCount() 321 frame->setDisposalMethod(SkCodecAnimation::DisposalMethod::kKeep); in onGetFrameCount() 322 // Currently we don't know the duration until the frame is actually in onGetFrameCount() 323 // decoded (onGetFrameInfo is also called before frame is decoded). in onGetFrameCount() 325 frame->setDuration(frameInfo.mDurationUs / 1000); in onGetFrameCount() 326 frame->setRequiredFrame(SkCodec::kNoFrame); in onGetFrameCount() 327 frame->setHasAlpha(false); in onGetFrameCount() 335 return static_cast<const SkFrame*>(this->frame(i)); in onGetFrame() 340 fFrames.emplace_back(i); // TODO: need to handle frame duratio in appendNewFrame() 344 const SkHeifCodec::Frame* SkHeifCodec::FrameHolder::frame(int i) const { frame() function in SkHeifCodec::FrameHolder 359 const Frame* frame = fFrameHolder.frame(i); onGetFrameInfo() local [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | gif2webp.c | 71 printf(" -mixed ................. for each frame in the image, pick lossy\n" in Help() 110 WebPPicture frame; // Frame rectangle only (not disposed). in main() local 118 int frame_number = 0; // Whether we are processing the first frame. in main() 140 !WebPPictureInit(&frame) || !WebPPictureInit(&curr_canvas) || in main() 312 frame.width = gif->SWidth; in main() 313 frame.height = gif->SHeight; in main() 314 frame.use_argb = 1; in main() 315 if (!WebPPictureAlloc(&frame)) goto End; in main() 316 GIFClearPic(&frame, NULL); in main() 317 WebPPictureCopy(&frame, in main() [all...] |
/third_party/skia/tests/ |
H A D | CodecPartialTest.cpp | 163 // This is the end of the first frame. SkCodec will treat this as a in DEF_TEST() 164 // single frame gif. in DEF_TEST() 167 // first frame to decode a full image. in DEF_TEST() 173 // fRequiredFrame as soon as getFrameInfo reports the frame. 233 // to determine frame offsets. in DEF_TEST() 237 // frameByteCounts stores the number of bytes to decode a particular frame. in DEF_TEST() 243 SkBitmap frame; in DEF_TEST() local 244 frame.allocPixels(info); in DEF_TEST() 248 const SkCodec::Result result = fullCodec->getPixels(info, frame.getPixels(), in DEF_TEST() 249 frame in DEF_TEST() 292 SkBitmap frame; DEF_TEST() local [all...] |
/third_party/skia/platform_tools/libraries/include/ |
H A D | arcore_c_api.h | 46 /// - Transient large data. These objects are usually acquired per-frame and are 82 /// These changes mean that every frame should be considered to be in a 84 /// anchors and the camera should never be used outside the rendering frame 86 /// beyond the scope of a single rendering frame, either an anchor should be 113 /// @defgroup frame Frame 114 /// Per-frame state. 193 // Frame and frame objects. 195 /// @addtogroup frame 521 /// frame. For example, acquire the image metadata may fail with this error in AR_DEFINE_ENUM() 753 /// The light estimate is not valid this frame an in AR_DEFINE_ENUM() [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | thunderbolt.c | 48 * struct thunderbolt_ip_frame_header - Header for each Thunderbolt frame 49 * @frame_size: size of the data with the frame 51 * @frame_id: ID of the frame to match frames to specific packet 54 * Each data frame passed to the high-speed DMA ring has this header. If 134 struct ring_frame frame; member 168 * @rx_hdr: Copy of the currently processed Rx frame. Used when a 318 return tf->frame.size ? : TBNET_FRAME_SIZE; in tbnet_frame_size() 345 if (tf->frame.buffer_phy) in tbnet_free_buffers() 346 dma_unmap_page(dma_dev, tf->frame.buffer_phy, size, in tbnet_free_buffers() 481 * ThunderboltIP frame ( in tbnet_alloc_rx_buffers() 533 tbnet_tx_callback(struct tb_ring *ring, struct ring_frame *frame, bool canceled) tbnet_tx_callback() argument 751 struct ring_frame *frame; tbnet_poll() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.c | 199 * time-frame after starting transmission, the packet will be re-submitted. 320 * Hook to simulate invalid data/checksum of the message frame and test handling 434 struct ssam_span frame; in ssh_ptl_rx_inject_invalid_syn() local 437 if (!sshp_find_syn(data, &frame)) in ssh_ptl_rx_inject_invalid_syn() 449 struct ssam_span *frame) in ssh_ptl_rx_inject_invalid_data() 455 if (frame->len < SSH_MESSAGE_LENGTH(0)) in ssh_ptl_rx_inject_invalid_data() 459 payload_len = get_unaligned_le16(&frame->ptr[SSH_MSGOFFSET_FRAME(len)]); in ssh_ptl_rx_inject_invalid_data() 461 if (frame->len < message_len) in ssh_ptl_rx_inject_invalid_data() 467 sshf = (struct ssh_frame *)&frame->ptr[SSH_MSGOFFSET_FRAME(type)]; in ssh_ptl_rx_inject_invalid_data() 472 * equivalent to a payload/frame dat in ssh_ptl_rx_inject_invalid_data() 448 ssh_ptl_rx_inject_invalid_data(struct ssh_ptl *ptl, struct ssam_span *frame) ssh_ptl_rx_inject_invalid_data() argument 503 ssh_ptl_rx_inject_invalid_data(struct ssh_ptl *ptl, struct ssam_span *frame) ssh_ptl_rx_inject_invalid_data() argument 1599 ssh_ptl_rx_retransmit_check(struct ssh_ptl *ptl, const struct ssh_frame *frame) ssh_ptl_rx_retransmit_check() argument 1639 ssh_ptl_rx_dataframe(struct ssh_ptl *ptl, const struct ssh_frame *frame, const struct ssam_span *payload) ssh_ptl_rx_dataframe() argument 1699 struct ssh_frame *frame; ssh_ptl_rx_eval() local [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | fpsp.h | 11 | fpsp.h --- stack frame offsets during FPSP exception handling 13 | These equates are used to access the exception frame, the fsave 14 | frame and any local variables needed by the FPSP package. 44 | Positive offsets from A6 refer to the exception frame. Negative 46 | The fsave frame is also accessible from the top via A7. 66 | a second fsave frame can be pushed onto the stack and the 67 | handler exit code will reload the new frame and discard the old. 125 | words of a busy frame are the same as the unimplemented frame. 213 .set EXC_SR,4 | exception frame statu [all...] |
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | fpsp.h | 11 | fpsp.h --- stack frame offsets during FPSP exception handling 13 | These equates are used to access the exception frame, the fsave 14 | frame and any local variables needed by the FPSP package. 44 | Positive offsets from A6 refer to the exception frame. Negative 46 | The fsave frame is also accessible from the top via A7. 66 | a second fsave frame can be pushed onto the stack and the 67 | handler exit code will reload the new frame and discard the old. 125 | words of a busy frame are the same as the unimplemented frame. 213 .set EXC_SR,4 | exception frame statu [all...] |
/kernel/linux/linux-5.10/sound/usb/caiaq/ |
H A D | audio.c | 614 int i, frame, len, send_it = 0, outframe = 0; in read_completed() local 641 for (frame = 0; frame < FRAMES_PER_URB; frame++) { in read_completed() 642 if (urb->iso_frame_desc[frame].status) in read_completed() 654 read_in_urb(cdev, urb, &urb->iso_frame_desc[frame]); in read_completed() 674 for (frame = 0; frame < FRAMES_PER_URB; frame++) { in read_completed() 675 urb->iso_frame_desc[frame] in read_completed() 699 int i, frame; alloc_urbs() local [all...] |