Home
last modified time | relevance | path

Searched refs:frame (Results 1 - 25 of 1514) sorted by relevance

12345678910>>...61

/third_party/ffmpeg/libavutil/
H A Dframe.c25 #include "frame.h"
32 #define CHECK_CHANNELS_CONSISTENCY(frame) \
33 av_assert2(!(frame)->channel_layout || \
34 (frame)->channels == \
35 av_get_channel_layout_nb_channels((frame)->channel_layout))
55 static void get_frame_defaults(AVFrame *frame) in get_frame_defaults() argument
57 memset(frame, 0, sizeof(*frame)); in get_frame_defaults()
59 frame->pts = in get_frame_defaults()
60 frame in get_frame_defaults()
87 wipe_side_data(AVFrame *frame) wipe_side_data() argument
101 AVFrame *frame = av_malloc(sizeof(*frame)); av_frame_alloc() local
111 av_frame_free(AVFrame **frame) av_frame_free() argument
120 get_video_buffer(AVFrame *frame, int align) get_video_buffer() argument
189 get_audio_buffer(AVFrame *frame, int align) get_audio_buffer() argument
254 av_frame_get_buffer(AVFrame *frame, int align) av_frame_get_buffer() argument
477 av_frame_unref(AVFrame *frame) av_frame_unref() argument
523 av_frame_is_writable(AVFrame *frame) av_frame_is_writable() argument
540 av_frame_make_writable(AVFrame *frame) av_frame_make_writable() argument
601 av_frame_get_plane_buffer(AVFrame *frame, int plane) av_frame_get_plane_buffer() argument
640 av_frame_new_side_data_from_buf(AVFrame *frame, enum AVFrameSideDataType type, AVBufferRef *buf) av_frame_new_side_data_from_buf() argument
672 av_frame_new_side_data(AVFrame *frame, enum AVFrameSideDataType type, size_t size) av_frame_new_side_data() argument
684 av_frame_get_side_data(const AVFrame *frame, enum AVFrameSideDataType type) av_frame_get_side_data() argument
784 av_frame_remove_side_data(AVFrame *frame, enum AVFrameSideDataType type) av_frame_remove_side_data() argument
831 calc_cropping_offsets(size_t offsets[4], const AVFrame *frame, const AVPixFmtDescriptor *desc) calc_cropping_offsets() argument
863 av_frame_apply_cropping(AVFrame *frame, int flags) av_frame_apply_cropping() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvp9_raw_reorder_bsf.c56 static void vp9_raw_reorder_frame_free(VP9RawReorderFrame **frame) in vp9_raw_reorder_frame_free() argument
58 if (*frame) in vp9_raw_reorder_frame_free()
59 av_packet_free(&(*frame)->packet); in vp9_raw_reorder_frame_free()
60 av_freep(frame); in vp9_raw_reorder_frame_free()
74 static int vp9_raw_reorder_frame_parse(AVBSFContext *bsf, VP9RawReorderFrame *frame) in vp9_raw_reorder_frame_parse() argument
84 err = init_get_bits(&bc, frame->packet->data, 8 * frame->packet->size); in vp9_raw_reorder_frame_parse()
90 av_log(bsf, AV_LOG_ERROR, "Invalid frame marker: %u.\n", in vp9_raw_reorder_frame_parse()
97 frame->profile = (profile_high_bit << 1) | profile_low_bit; in vp9_raw_reorder_frame_parse()
98 if (frame in vp9_raw_reorder_frame_parse()
177 *next_display = last_frame, *frame; vp9_raw_reorder_make_output() local
280 VP9RawReorderFrame *frame; vp9_raw_reorder_filter() local
[all...]
H A Dsbcenc.c47 DECLARE_ALIGNED(SBC_ALIGN, struct sbc_frame, frame);
51 static int sbc_analyze_audio(SBCDSPContext *s, struct sbc_frame *frame) in sbc_analyze_audio() argument
56 switch (frame->subbands) { in sbc_analyze_audio()
58 for (ch = 0; ch < frame->channels; ch++) { in sbc_analyze_audio()
60 s->increment + frame->blocks * 4]; in sbc_analyze_audio()
61 for (blk = 0; blk < frame->blocks; in sbc_analyze_audio()
65 frame->sb_sample_f[blk][ch], in sbc_analyze_audio()
66 frame->sb_sample_f[blk + 1][ch] - in sbc_analyze_audio()
67 frame->sb_sample_f[blk][ch]); in sbc_analyze_audio()
71 return frame in sbc_analyze_audio()
98 sbc_pack_frame(AVPacket *avpkt, struct sbc_frame *frame, int joint, int msbc) sbc_pack_frame() argument
199 struct sbc_frame *frame = &sbc->frame; sbc_encode_init() local
282 struct sbc_frame *frame = &sbc->frame; sbc_encode_frame() local
[all...]
H A Dhevc_refs.c31 void ff_hevc_unref_frame(HEVCContext *s, HEVCFrame *frame, int flags) in ff_hevc_unref_frame() argument
33 /* frame->frame can be NULL if context init failed */ in ff_hevc_unref_frame()
34 if (!frame->frame || !frame->frame->buf[0]) in ff_hevc_unref_frame()
37 frame->flags &= ~flags; in ff_hevc_unref_frame()
38 if (!frame->flags) { in ff_hevc_unref_frame()
39 ff_thread_release_ext_buffer(s->avctx, &frame in ff_hevc_unref_frame()
88 HEVCFrame *frame = &s->DPB[i]; alloc_frame() local
137 ff_hevc_set_new_ref(HEVCContext *s, AVFrame **frame, int poc) ff_hevc_set_new_ref() argument
144 HEVCFrame *frame = &s->DPB[i]; ff_hevc_set_new_ref() local
185 HEVCFrame *frame = &s->DPB[i]; ff_hevc_output_frame() local
194 HEVCFrame *frame = &s->DPB[i]; ff_hevc_output_frame() local
211 HEVCFrame *frame = &s->DPB[min_idx]; ff_hevc_output_frame() local
248 HEVCFrame *frame = &s->DPB[i]; ff_hevc_bump_frame() local
258 HEVCFrame *frame = &s->DPB[i]; ff_hevc_bump_frame() local
269 HEVCFrame *frame = &s->DPB[i]; ff_hevc_bump_frame() local
283 HEVCFrame *frame = s->ref; init_slice_rpl() local
388 mark_ref(HEVCFrame *frame, int flag) mark_ref() argument
396 HEVCFrame *frame; generate_missing_ref() local
465 HEVCFrame *frame = &s->DPB[i]; ff_hevc_frame_rps() local
[all...]
H A Dsbcdec.c49 DECLARE_ALIGNED(SBC_ALIGN, struct sbc_frame, frame);
54 * Unpacks a SBC frame at the beginning of the stream in data,
55 * which has at most len bytes into frame.
56 * Returns the length in bytes of the packed frame, or a negative
64 static int sbc_unpack_frame(const uint8_t *data, struct sbc_frame *frame, in sbc_unpack_frame() argument
89 frame->frequency = SBC_FREQ_16000; in sbc_unpack_frame()
90 frame->blocks = MSBC_BLOCKS; in sbc_unpack_frame()
91 frame->allocation = LOUDNESS; in sbc_unpack_frame()
92 frame->mode = MONO; in sbc_unpack_frame()
93 frame in sbc_unpack_frame()
214 sbc_synthesize_four(struct sbc_decoder_state *state, struct sbc_frame *frame, int ch, int blk, AVFrame *output_frame) sbc_synthesize_four() argument
257 sbc_synthesize_eight(struct sbc_decoder_state *state, struct sbc_frame *frame, int ch, int blk, AVFrame *output_frame) sbc_synthesize_eight() argument
304 sbc_synthesize_audio(struct sbc_decoder_state *state, struct sbc_frame *frame, AVFrame *output_frame) sbc_synthesize_audio() argument
340 sbc_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) sbc_decode_frame() argument
[all...]
H A Ddfa.c57 static int decode_copy(GetByteContext *gb, uint8_t *frame, int width, int height) in decode_copy() argument
61 if (bytestream2_get_buffer(gb, frame, size) != size) in decode_copy()
66 static int decode_tsw1(GetByteContext *gb, uint8_t *frame, int width, int height) in decode_tsw1() argument
68 const uint8_t *frame_start = frame; in decode_tsw1()
69 const uint8_t *frame_end = frame + width * height; in decode_tsw1()
77 if (segments == 0 && offset == frame_end - frame) in decode_tsw1()
78 return 0; // skip frame in decode_tsw1()
79 if (frame_end - frame <= offset) in decode_tsw1()
81 frame += offset; in decode_tsw1()
89 if (frame_end - frame < in decode_tsw1()
109 decode_dsw1(GetByteContext *gb, uint8_t *frame, int width, int height) decode_dsw1() argument
146 decode_dds1(GetByteContext *gb, uint8_t *frame, int width, int height) decode_dds1() argument
197 decode_bdlt(GetByteContext *gb, uint8_t *frame, int width, int height) decode_bdlt() argument
239 decode_wdlt(GetByteContext *gb, uint8_t *frame, int width, int height) decode_wdlt() argument
300 decode_tdlt(GetByteContext *gb, uint8_t *frame, int width, int height) decode_tdlt() argument
322 decode_blck(GetByteContext *gb, uint8_t *frame, int width, int height) decode_blck() argument
340 dfa_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) dfa_decode_frame() argument
[all...]
H A Dget_buffer.c26 #include "libavutil/frame.h"
84 static int update_frame_pool(AVCodecContext *avctx, AVFrame *frame) in update_frame_pool() argument
92 int planar = av_sample_fmt_is_planar(frame->format); in update_frame_pool()
93 ch = frame->ch_layout.nb_channels; in update_frame_pool()
97 ch = frame->channels; in update_frame_pool()
103 if (pool && pool->format == frame->format) { in update_frame_pool()
105 pool->width == frame->width && pool->height == frame->height) in update_frame_pool()
108 pool->channels == ch && frame->nb_samples == pool->samples) in update_frame_pool()
120 int w = frame in update_frame_pool()
201 audio_get_buffer(AVCodecContext *avctx, AVFrame *frame) audio_get_buffer() argument
290 avcodec_default_get_buffer2(AVCodecContext *avctx, AVFrame *frame, int flags) avcodec_default_get_buffer2() argument
[all...]
H A Dimm4.c202 static int decode_intra(AVCodecContext *avctx, GetBitContext *gb, AVFrame *frame) in decode_intra() argument
235 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x, in decode_intra()
236 frame->linesize[0], s->block[0]); in decode_intra()
237 s->idsp.idct_put(frame->data[0] + y * frame->linesize[0] + x + 8, in decode_intra()
238 frame->linesize[0], s->block[1]); in decode_intra()
239 s->idsp.idct_put(frame->data[0] + (y + 8) * frame->linesize[0] + x, in decode_intra()
240 frame in decode_intra()
253 decode_inter(AVCodecContext *avctx, GetBitContext *gb, AVFrame *frame, AVFrame *prev) decode_inter() argument
356 decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) decode_frame() argument
[all...]
H A Ddecode.c36 #include "libavutil/frame.h"
277 static inline int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame, int64_t *discarded_samples) in decode_simple_internal() argument
305 ret = ff_thread_decode_frame(avctx, frame, &got_frame, pkt); in decode_simple_internal()
307 ret = codec->cb.decode(avctx, frame, &got_frame, pkt); in decode_simple_internal()
310 frame->pkt_dts = pkt->dts; in decode_simple_internal()
313 frame->pkt_pos = pkt->pos; in decode_simple_internal()
315 /* get_buffer is supposed to set frame parameters */ in decode_simple_internal()
317 if (!frame->sample_aspect_ratio.num) frame->sample_aspect_ratio = avctx->sample_aspect_ratio; in decode_simple_internal()
318 if (!frame in decode_simple_internal()
507 decode_simple_receive_frame(AVCodecContext *avctx, AVFrame *frame) decode_simple_receive_frame() argument
523 decode_receive_frame_internal(AVCodecContext *avctx, AVFrame *frame) decode_receive_frame_internal() argument
612 apply_cropping(AVCodecContext *avctx, AVFrame *frame) apply_cropping() argument
639 avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame) avcodec_receive_frame() argument
1235 add_metadata_from_side_data(const AVPacket *avpkt, AVFrame *frame) add_metadata_from_side_data() argument
1247 ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame) ff_decode_frame_props() argument
1252 enum AVFrameSideDataType frame; ff_decode_frame_props() member
1345 validate_avframe_allocation(AVCodecContext *avctx, AVFrame *frame) validate_avframe_allocation() argument
1379 ff_attach_decode_data(AVFrame *frame) ff_attach_decode_data() argument
1403 ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags) ff_get_buffer() argument
1484 reget_buffer_internal(AVCodecContext *avctx, AVFrame *frame, int flags) reget_buffer_internal() argument
1521 ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame, int flags) ff_reget_buffer() argument
[all...]
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_io_proc.c27 int ff_proc_from_dnn_to_frame(AVFrame *frame, DNNData *output, void *log_ctx) in ff_proc_from_dnn_to_frame() argument
30 int bytewidth = av_image_get_linesize(frame->format, frame->width, 0); in ff_proc_from_dnn_to_frame()
39 switch (frame->format) { in ff_proc_from_dnn_to_frame()
42 sws_ctx = sws_getContext(frame->width * 3, in ff_proc_from_dnn_to_frame()
43 frame->height, in ff_proc_from_dnn_to_frame()
45 frame->width * 3, in ff_proc_from_dnn_to_frame()
46 frame->height, in ff_proc_from_dnn_to_frame()
52 av_get_pix_fmt_name(AV_PIX_FMT_GRAYF32), frame->width * 3, frame in ff_proc_from_dnn_to_frame()
100 ff_proc_from_frame_to_dnn(AVFrame *frame, DNNData *input, void *log_ctx) ff_proc_from_frame_to_dnn() argument
193 ff_frame_to_dnn_classify(AVFrame *frame, DNNData *input, uint32_t bbox_index, void *log_ctx) ff_frame_to_dnn_classify() argument
254 ff_frame_to_dnn_detect(AVFrame *frame, DNNData *input, void *log_ctx) ff_frame_to_dnn_detect() argument
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-callsite.cc15 #define CHECK_CALLSITE(frame, method) \
26 Handle<CallSiteInfo> frame = Handle<CallSiteInfo>::cast(it.GetDataValue())
38 CHECK_CALLSITE(frame, "getColumnNumber"); in BUILTIN()
39 return PositiveNumberOrNull(CallSiteInfo::GetColumnNumber(frame), isolate); in BUILTIN()
44 CHECK_CALLSITE(frame, "getEnclosingColumnNumber"); in BUILTIN()
45 return PositiveNumberOrNull(CallSiteInfo::GetEnclosingColumnNumber(frame), in BUILTIN()
51 CHECK_CALLSITE(frame, "getEnclosingLineNumber"); in BUILTIN()
52 return PositiveNumberOrNull(CallSiteInfo::GetEnclosingLineNumber(frame), in BUILTIN()
58 CHECK_CALLSITE(frame, "getEvalOrigin"); in BUILTIN()
59 return *CallSiteInfo::GetEvalOrigin(frame); in BUILTIN()
[all...]
/third_party/python/Python/
H A Dframe.c10 _PyFrame_Traverse(_PyInterpreterFrame *frame, visitproc visit, void *arg) in _PyFrame_Traverse() argument
12 Py_VISIT(frame->frame_obj); in _PyFrame_Traverse()
13 Py_VISIT(frame->f_locals); in _PyFrame_Traverse()
14 Py_VISIT(frame->f_func); in _PyFrame_Traverse()
15 Py_VISIT(frame->f_code); in _PyFrame_Traverse()
17 PyObject **locals = _PyFrame_GetLocalsArray(frame); in _PyFrame_Traverse()
20 for (; i <frame->stacktop; i++) { in _PyFrame_Traverse()
27 _PyFrame_MakeAndSetFrameObject(_PyInterpreterFrame *frame) in _PyFrame_MakeAndSetFrameObject() argument
29 assert(frame->frame_obj == NULL); in _PyFrame_MakeAndSetFrameObject()
33 PyFrameObject *f = _PyFrame_New_NoTrack(frame in _PyFrame_MakeAndSetFrameObject()
79 take_ownership(PyFrameObject *f, _PyInterpreterFrame *frame) take_ownership() argument
120 _PyFrame_Clear(_PyInterpreterFrame *frame) _PyFrame_Clear() argument
166 _PyInterpreterFrame_GetLine(_PyInterpreterFrame *frame) _PyInterpreterFrame_GetLine() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_floodfill.c45 int (*is_same)(const AVFrame *frame, int x, int y,
47 void (*set_pixel)(AVFrame *frame, int x, int y,
49 void (*pick_pixel)(const AVFrame *frame, int x, int y,
60 static int is_same4(const AVFrame *frame, int x, int y, in is_same4() argument
63 unsigned c0 = frame->data[0][y * frame->linesize[0] + x]; in is_same4()
64 unsigned c1 = frame->data[1][y * frame->linesize[1] + x]; in is_same4()
65 unsigned c2 = frame->data[2][y * frame in is_same4()
73 is_same4_16(const AVFrame *frame, int x, int y, unsigned s0, unsigned s1, unsigned s2, unsigned s3) is_same4_16() argument
86 is_same3(const AVFrame *frame, int x, int y, unsigned s0, unsigned s1, unsigned s2, unsigned s3) is_same3() argument
98 is_same3_16(const AVFrame *frame, int x, int y, unsigned s0, unsigned s1, unsigned s2, unsigned s3) is_same3_16() argument
110 is_same1(const AVFrame *frame, int x, int y, unsigned s0, unsigned s1, unsigned s2, unsigned s3) is_same1() argument
120 is_same1_16(const AVFrame *frame, int x, int y, unsigned s0, unsigned s1, unsigned s2, unsigned s3) is_same1_16() argument
130 set_pixel1(AVFrame *frame, int x, int y, unsigned d0, unsigned d1, unsigned d2, unsigned d3) set_pixel1() argument
136 set_pixel1_16(AVFrame *frame, int x, int y, unsigned d0, unsigned d1, unsigned d2, unsigned d3) set_pixel1_16() argument
142 set_pixel3(AVFrame *frame, int x, int y, unsigned d0, unsigned d1, unsigned d2, unsigned d3) set_pixel3() argument
150 set_pixel3_16(AVFrame *frame, int x, int y, unsigned d0, unsigned d1, unsigned d2, unsigned d3) set_pixel3_16() argument
158 set_pixel4(AVFrame *frame, int x, int y, unsigned d0, unsigned d1, unsigned d2, unsigned d3) set_pixel4() argument
167 set_pixel4_16(AVFrame *frame, int x, int y, unsigned d0, unsigned d1, unsigned d2, unsigned d3) set_pixel4_16() argument
176 pick_pixel1(const AVFrame *frame, int x, int y, int *s0, int *s1, int *s2, int *s3) pick_pixel1() argument
183 pick_pixel1_16(const AVFrame *frame, int x, int y, int *s0, int *s1, int *s2, int *s3) pick_pixel1_16() argument
190 pick_pixel3(const AVFrame *frame, int x, int y, int *s0, int *s1, int *s2, int *s3) pick_pixel3() argument
201 pick_pixel3_16(const AVFrame *frame, int x, int y, int *s0, int *s1, int *s2, int *s3) pick_pixel3_16() argument
212 pick_pixel4(const AVFrame *frame, int x, int y, int *s0, int *s1, int *s2, int *s3) pick_pixel4() argument
225 pick_pixel4_16(const AVFrame *frame, int x, int y, int *s0, int *s1, int *s2, int *s3) pick_pixel4_16() argument
281 filter_frame(AVFilterLink *link, AVFrame *frame) filter_frame() argument
[all...]
H A Dvf_chromakey.c93 static av_always_inline void get_pixel_uv(AVFrame *frame, int hsub_log2, int vsub_log2, int x, int y, uint8_t *u, uint8_t *v) in get_pixel_uv() argument
95 if (x < 0 || x >= frame->width || y < 0 || y >= frame->height) in get_pixel_uv()
101 *u = frame->data[1][frame->linesize[1] * y + x]; in get_pixel_uv()
102 *v = frame->data[2][frame->linesize[2] * y + x]; in get_pixel_uv()
105 static av_always_inline void get_pixel16_uv(AVFrame *frame, int hsub_log2, int vsub_log2, int x, int y, uint16_t *u, uint16_t *v) in get_pixel16_uv() argument
107 if (x < 0 || x >= frame->width || y < 0 || y >= frame in get_pixel16_uv()
119 AVFrame *frame = arg; do_chromakey_slice() local
149 AVFrame *frame = arg; do_chromakey16_slice() local
184 AVFrame *frame = arg; do_chromahold_slice() local
221 AVFrame *frame = arg; do_chromahold16_slice() local
257 filter_frame(AVFilterLink *link, AVFrame *frame) filter_frame() argument
[all...]
H A Dvf_fade.c86 // Choose what to log. If both time-based and frame-based options, both lines will be in the log in init()
184 static av_always_inline void filter_rgb(FadeContext *s, const AVFrame *frame, in filter_rgb() argument
196 uint8_t *p = frame->data[0] + i * frame->linesize[0]; in filter_rgb()
197 for (j = 0; j < frame->width; j++) { in filter_rgb()
209 static av_always_inline void filter_rgb_planar(FadeContext *s, const AVFrame *frame, in filter_rgb_planar() argument
217 uint8_t *pg = frame->data[0] + i * frame->linesize[0]; in filter_rgb_planar()
218 uint8_t *pb = frame->data[1] + i * frame in filter_rgb_planar()
236 AVFrame *frame = arg; filter_slice_rgb() local
256 AVFrame *frame = arg; filter_slice_luma() local
281 AVFrame *frame = arg; filter_slice_luma16() local
306 AVFrame *frame = arg; filter_slice_chroma() local
333 AVFrame *frame = arg; filter_slice_chroma16() local
359 AVFrame *frame = arg; filter_slice_alpha() local
384 AVFrame *frame = arg; filter_slice_alpha16() local
443 filter_frame(AVFilterLink *inlink, AVFrame *frame) filter_frame() argument
[all...]
/third_party/nghttp2/lib/
H A Dnghttp2_frame.c62 void nghttp2_frame_headers_init(nghttp2_headers *frame, uint8_t flags, in nghttp2_frame_headers_init() argument
66 nghttp2_frame_hd_init(&frame->hd, 0, NGHTTP2_HEADERS, flags, stream_id); in nghttp2_frame_headers_init()
67 frame->padlen = 0; in nghttp2_frame_headers_init()
68 frame->nva = nva; in nghttp2_frame_headers_init()
69 frame->nvlen = nvlen; in nghttp2_frame_headers_init()
70 frame->cat = cat; in nghttp2_frame_headers_init()
73 frame->pri_spec = *pri_spec; in nghttp2_frame_headers_init()
75 nghttp2_priority_spec_default_init(&frame->pri_spec); in nghttp2_frame_headers_init()
79 void nghttp2_frame_headers_free(nghttp2_headers *frame, nghttp2_mem *mem) { in nghttp2_frame_headers_free() argument
80 nghttp2_nv_array_del(frame in nghttp2_frame_headers_free()
83 nghttp2_frame_priority_init(nghttp2_priority *frame, int32_t stream_id, const nghttp2_priority_spec *pri_spec) nghttp2_frame_priority_init() argument
90 nghttp2_frame_priority_free(nghttp2_priority *frame) nghttp2_frame_priority_free() argument
92 nghttp2_frame_rst_stream_init(nghttp2_rst_stream *frame, int32_t stream_id, uint32_t error_code) nghttp2_frame_rst_stream_init() argument
99 nghttp2_frame_rst_stream_free(nghttp2_rst_stream *frame) nghttp2_frame_rst_stream_free() argument
101 nghttp2_frame_settings_init(nghttp2_settings *frame, uint8_t flags, nghttp2_settings_entry *iv, size_t niv) nghttp2_frame_settings_init() argument
109 nghttp2_frame_settings_free(nghttp2_settings *frame, nghttp2_mem *mem) nghttp2_frame_settings_free() argument
113 nghttp2_frame_push_promise_init(nghttp2_push_promise *frame, uint8_t flags, int32_t stream_id, int32_t promised_stream_id, nghttp2_nv *nva, size_t nvlen) nghttp2_frame_push_promise_init() argument
125 nghttp2_frame_push_promise_free(nghttp2_push_promise *frame, nghttp2_mem *mem) nghttp2_frame_push_promise_free() argument
130 nghttp2_frame_ping_init(nghttp2_ping *frame, uint8_t flags, const uint8_t *opaque_data) nghttp2_frame_ping_init() argument
140 nghttp2_frame_ping_free(nghttp2_ping *frame) nghttp2_frame_ping_free() argument
142 nghttp2_frame_goaway_init(nghttp2_goaway *frame, int32_t last_stream_id, uint32_t error_code, uint8_t *opaque_data, size_t opaque_data_len) nghttp2_frame_goaway_init() argument
154 nghttp2_frame_goaway_free(nghttp2_goaway *frame, nghttp2_mem *mem) nghttp2_frame_goaway_free() argument
158 nghttp2_frame_window_update_init(nghttp2_window_update *frame, uint8_t flags, int32_t stream_id, int32_t window_size_increment) nghttp2_frame_window_update_init() argument
166 nghttp2_frame_window_update_free(nghttp2_window_update *frame) nghttp2_frame_window_update_free() argument
170 nghttp2_frame_trail_padlen(nghttp2_frame *frame, size_t padlen) nghttp2_frame_trail_padlen() argument
181 nghttp2_frame_data_init(nghttp2_data *frame, uint8_t flags, int32_t stream_id) nghttp2_frame_data_init() argument
188 nghttp2_frame_data_free(nghttp2_data *frame) nghttp2_frame_data_free() argument
190 nghttp2_frame_extension_init(nghttp2_extension *frame, uint8_t type, uint8_t flags, int32_t stream_id, void *payload) nghttp2_frame_extension_init() argument
197 nghttp2_frame_extension_free(nghttp2_extension *frame) nghttp2_frame_extension_free() argument
199 nghttp2_frame_altsvc_init(nghttp2_extension *frame, int32_t stream_id, uint8_t *origin, size_t origin_len, uint8_t *field_value, size_t field_value_len) nghttp2_frame_altsvc_init() argument
214 nghttp2_frame_altsvc_free(nghttp2_extension *frame, nghttp2_mem *mem) nghttp2_frame_altsvc_free() argument
226 nghttp2_frame_origin_init(nghttp2_extension *frame, nghttp2_origin_entry *ov, size_t nov) nghttp2_frame_origin_init() argument
244 nghttp2_frame_origin_free(nghttp2_extension *frame, nghttp2_mem *mem) nghttp2_frame_origin_free() argument
256 nghttp2_frame_priority_update_init(nghttp2_extension *frame, int32_t stream_id, uint8_t *field_value, size_t field_value_len) nghttp2_frame_priority_update_init() argument
270 nghttp2_frame_priority_update_free(nghttp2_extension *frame, nghttp2_mem *mem) nghttp2_frame_priority_update_free() argument
289 nghttp2_frame_headers_payload_nv_offset(nghttp2_headers *frame) nghttp2_frame_headers_payload_nv_offset() argument
361 nghttp2_frame_pack_headers(nghttp2_bufs *bufs, nghttp2_headers *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_headers() argument
421 nghttp2_frame_unpack_headers_payload(nghttp2_headers *frame, const uint8_t *payload) nghttp2_frame_unpack_headers_payload() argument
433 nghttp2_frame_pack_priority(nghttp2_bufs *bufs, nghttp2_priority *frame) nghttp2_frame_pack_priority() argument
451 nghttp2_frame_unpack_priority_payload(nghttp2_priority *frame, const uint8_t *payload) nghttp2_frame_unpack_priority_payload() argument
456 nghttp2_frame_pack_rst_stream(nghttp2_bufs *bufs, nghttp2_rst_stream *frame) nghttp2_frame_pack_rst_stream() argument
474 nghttp2_frame_unpack_rst_stream_payload(nghttp2_rst_stream *frame, const uint8_t *payload) nghttp2_frame_unpack_rst_stream_payload() argument
479 nghttp2_frame_pack_settings(nghttp2_bufs *bufs, nghttp2_settings *frame) nghttp2_frame_pack_settings() argument
511 nghttp2_frame_unpack_settings_payload(nghttp2_settings *frame, nghttp2_settings_entry *iv, size_t niv) nghttp2_frame_unpack_settings_payload() argument
554 nghttp2_frame_pack_push_promise(nghttp2_bufs *bufs, nghttp2_push_promise *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_push_promise() argument
589 nghttp2_frame_unpack_push_promise_payload(nghttp2_push_promise *frame, const uint8_t *payload) nghttp2_frame_unpack_push_promise_payload() argument
597 nghttp2_frame_pack_ping(nghttp2_bufs *bufs, nghttp2_ping *frame) nghttp2_frame_pack_ping() argument
614 nghttp2_frame_unpack_ping_payload(nghttp2_ping *frame, const uint8_t *payload) nghttp2_frame_unpack_ping_payload() argument
619 nghttp2_frame_pack_goaway(nghttp2_bufs *bufs, nghttp2_goaway *frame) nghttp2_frame_pack_goaway() argument
650 nghttp2_frame_unpack_goaway_payload(nghttp2_goaway *frame, const uint8_t *payload, uint8_t *var_gift_payload, size_t var_gift_payloadlen) nghttp2_frame_unpack_goaway_payload() argument
661 nghttp2_frame_unpack_goaway_payload2(nghttp2_goaway *frame, const uint8_t *payload, size_t payloadlen, nghttp2_mem *mem) nghttp2_frame_unpack_goaway_payload2() argument
691 nghttp2_frame_pack_window_update(nghttp2_bufs *bufs, nghttp2_window_update *frame) nghttp2_frame_pack_window_update() argument
709 nghttp2_frame_unpack_window_update_payload(nghttp2_window_update *frame, const uint8_t *payload) nghttp2_frame_unpack_window_update_payload() argument
715 nghttp2_frame_pack_altsvc(nghttp2_bufs *bufs, nghttp2_extension *frame) nghttp2_frame_pack_altsvc() argument
746 nghttp2_frame_unpack_altsvc_payload(nghttp2_extension *frame, size_t origin_len, uint8_t *payload, size_t payloadlen) nghttp2_frame_unpack_altsvc_payload() argument
765 nghttp2_frame_unpack_altsvc_payload2(nghttp2_extension *frame, const uint8_t *payload, size_t payloadlen, nghttp2_mem *mem) nghttp2_frame_unpack_altsvc_payload2() argument
789 nghttp2_frame_pack_origin(nghttp2_bufs *bufs, nghttp2_extension *frame) nghttp2_frame_pack_origin() argument
819 nghttp2_frame_unpack_origin_payload(nghttp2_extension *frame, const uint8_t *payload, size_t payloadlen, nghttp2_mem *mem) nghttp2_frame_unpack_origin_payload() argument
891 nghttp2_frame_pack_priority_update(nghttp2_bufs *bufs, nghttp2_extension *frame) nghttp2_frame_pack_priority_update() argument
919 nghttp2_frame_unpack_priority_update_payload(nghttp2_extension *frame, uint8_t *payload, size_t payloadlen) nghttp2_frame_unpack_priority_update_payload() argument
[all...]
H A Dnghttp2_frame.h42 /* The number of bytes of frame header. */
49 /* The one frame buffer length for transmission. We may use several of
55 /* The default length of DATA frame payload. */
72 /* Union of extension frame payload */
84 * Initializes frame header |hd| with given parameters. Reserved bit
114 * Returns the offset from the HEADERS frame payload where the
115 * compressed header block starts. The frame payload does not include
116 * frame header.
118 size_t nghttp2_frame_headers_payload_nv_offset(nghttp2_headers *frame);
121 * Packs HEADERS frame |fram
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_frame.c62 void nghttp2_frame_headers_init(nghttp2_headers *frame, uint8_t flags, in nghttp2_frame_headers_init() argument
66 nghttp2_frame_hd_init(&frame->hd, 0, NGHTTP2_HEADERS, flags, stream_id); in nghttp2_frame_headers_init()
67 frame->padlen = 0; in nghttp2_frame_headers_init()
68 frame->nva = nva; in nghttp2_frame_headers_init()
69 frame->nvlen = nvlen; in nghttp2_frame_headers_init()
70 frame->cat = cat; in nghttp2_frame_headers_init()
73 frame->pri_spec = *pri_spec; in nghttp2_frame_headers_init()
75 nghttp2_priority_spec_default_init(&frame->pri_spec); in nghttp2_frame_headers_init()
79 void nghttp2_frame_headers_free(nghttp2_headers *frame, nghttp2_mem *mem) { in nghttp2_frame_headers_free() argument
80 nghttp2_nv_array_del(frame in nghttp2_frame_headers_free()
83 nghttp2_frame_priority_init(nghttp2_priority *frame, int32_t stream_id, const nghttp2_priority_spec *pri_spec) nghttp2_frame_priority_init() argument
90 nghttp2_frame_priority_free(nghttp2_priority *frame) nghttp2_frame_priority_free() argument
92 nghttp2_frame_rst_stream_init(nghttp2_rst_stream *frame, int32_t stream_id, uint32_t error_code) nghttp2_frame_rst_stream_init() argument
99 nghttp2_frame_rst_stream_free(nghttp2_rst_stream *frame) nghttp2_frame_rst_stream_free() argument
101 nghttp2_frame_settings_init(nghttp2_settings *frame, uint8_t flags, nghttp2_settings_entry *iv, size_t niv) nghttp2_frame_settings_init() argument
109 nghttp2_frame_settings_free(nghttp2_settings *frame, nghttp2_mem *mem) nghttp2_frame_settings_free() argument
113 nghttp2_frame_push_promise_init(nghttp2_push_promise *frame, uint8_t flags, int32_t stream_id, int32_t promised_stream_id, nghttp2_nv *nva, size_t nvlen) nghttp2_frame_push_promise_init() argument
125 nghttp2_frame_push_promise_free(nghttp2_push_promise *frame, nghttp2_mem *mem) nghttp2_frame_push_promise_free() argument
130 nghttp2_frame_ping_init(nghttp2_ping *frame, uint8_t flags, const uint8_t *opaque_data) nghttp2_frame_ping_init() argument
140 nghttp2_frame_ping_free(nghttp2_ping *frame) nghttp2_frame_ping_free() argument
142 nghttp2_frame_goaway_init(nghttp2_goaway *frame, int32_t last_stream_id, uint32_t error_code, uint8_t *opaque_data, size_t opaque_data_len) nghttp2_frame_goaway_init() argument
154 nghttp2_frame_goaway_free(nghttp2_goaway *frame, nghttp2_mem *mem) nghttp2_frame_goaway_free() argument
158 nghttp2_frame_window_update_init(nghttp2_window_update *frame, uint8_t flags, int32_t stream_id, int32_t window_size_increment) nghttp2_frame_window_update_init() argument
166 nghttp2_frame_window_update_free(nghttp2_window_update *frame) nghttp2_frame_window_update_free() argument
170 nghttp2_frame_trail_padlen(nghttp2_frame *frame, size_t padlen) nghttp2_frame_trail_padlen() argument
181 nghttp2_frame_data_init(nghttp2_data *frame, uint8_t flags, int32_t stream_id) nghttp2_frame_data_init() argument
188 nghttp2_frame_data_free(nghttp2_data *frame) nghttp2_frame_data_free() argument
190 nghttp2_frame_extension_init(nghttp2_extension *frame, uint8_t type, uint8_t flags, int32_t stream_id, void *payload) nghttp2_frame_extension_init() argument
197 nghttp2_frame_extension_free(nghttp2_extension *frame) nghttp2_frame_extension_free() argument
199 nghttp2_frame_altsvc_init(nghttp2_extension *frame, int32_t stream_id, uint8_t *origin, size_t origin_len, uint8_t *field_value, size_t field_value_len) nghttp2_frame_altsvc_init() argument
214 nghttp2_frame_altsvc_free(nghttp2_extension *frame, nghttp2_mem *mem) nghttp2_frame_altsvc_free() argument
226 nghttp2_frame_origin_init(nghttp2_extension *frame, nghttp2_origin_entry *ov, size_t nov) nghttp2_frame_origin_init() argument
244 nghttp2_frame_origin_free(nghttp2_extension *frame, nghttp2_mem *mem) nghttp2_frame_origin_free() argument
256 nghttp2_frame_priority_update_init(nghttp2_extension *frame, int32_t stream_id, uint8_t *field_value, size_t field_value_len) nghttp2_frame_priority_update_init() argument
270 nghttp2_frame_priority_update_free(nghttp2_extension *frame, nghttp2_mem *mem) nghttp2_frame_priority_update_free() argument
289 nghttp2_frame_headers_payload_nv_offset(nghttp2_headers *frame) nghttp2_frame_headers_payload_nv_offset() argument
361 nghttp2_frame_pack_headers(nghttp2_bufs *bufs, nghttp2_headers *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_headers() argument
421 nghttp2_frame_unpack_headers_payload(nghttp2_headers *frame, const uint8_t *payload) nghttp2_frame_unpack_headers_payload() argument
433 nghttp2_frame_pack_priority(nghttp2_bufs *bufs, nghttp2_priority *frame) nghttp2_frame_pack_priority() argument
451 nghttp2_frame_unpack_priority_payload(nghttp2_priority *frame, const uint8_t *payload) nghttp2_frame_unpack_priority_payload() argument
456 nghttp2_frame_pack_rst_stream(nghttp2_bufs *bufs, nghttp2_rst_stream *frame) nghttp2_frame_pack_rst_stream() argument
474 nghttp2_frame_unpack_rst_stream_payload(nghttp2_rst_stream *frame, const uint8_t *payload) nghttp2_frame_unpack_rst_stream_payload() argument
479 nghttp2_frame_pack_settings(nghttp2_bufs *bufs, nghttp2_settings *frame) nghttp2_frame_pack_settings() argument
511 nghttp2_frame_unpack_settings_payload(nghttp2_settings *frame, nghttp2_settings_entry *iv, size_t niv) nghttp2_frame_unpack_settings_payload() argument
554 nghttp2_frame_pack_push_promise(nghttp2_bufs *bufs, nghttp2_push_promise *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_push_promise() argument
589 nghttp2_frame_unpack_push_promise_payload(nghttp2_push_promise *frame, const uint8_t *payload) nghttp2_frame_unpack_push_promise_payload() argument
597 nghttp2_frame_pack_ping(nghttp2_bufs *bufs, nghttp2_ping *frame) nghttp2_frame_pack_ping() argument
614 nghttp2_frame_unpack_ping_payload(nghttp2_ping *frame, const uint8_t *payload) nghttp2_frame_unpack_ping_payload() argument
619 nghttp2_frame_pack_goaway(nghttp2_bufs *bufs, nghttp2_goaway *frame) nghttp2_frame_pack_goaway() argument
650 nghttp2_frame_unpack_goaway_payload(nghttp2_goaway *frame, const uint8_t *payload, uint8_t *var_gift_payload, size_t var_gift_payloadlen) nghttp2_frame_unpack_goaway_payload() argument
661 nghttp2_frame_unpack_goaway_payload2(nghttp2_goaway *frame, const uint8_t *payload, size_t payloadlen, nghttp2_mem *mem) nghttp2_frame_unpack_goaway_payload2() argument
691 nghttp2_frame_pack_window_update(nghttp2_bufs *bufs, nghttp2_window_update *frame) nghttp2_frame_pack_window_update() argument
709 nghttp2_frame_unpack_window_update_payload(nghttp2_window_update *frame, const uint8_t *payload) nghttp2_frame_unpack_window_update_payload() argument
715 nghttp2_frame_pack_altsvc(nghttp2_bufs *bufs, nghttp2_extension *frame) nghttp2_frame_pack_altsvc() argument
746 nghttp2_frame_unpack_altsvc_payload(nghttp2_extension *frame, size_t origin_len, uint8_t *payload, size_t payloadlen) nghttp2_frame_unpack_altsvc_payload() argument
765 nghttp2_frame_unpack_altsvc_payload2(nghttp2_extension *frame, const uint8_t *payload, size_t payloadlen, nghttp2_mem *mem) nghttp2_frame_unpack_altsvc_payload2() argument
789 nghttp2_frame_pack_origin(nghttp2_bufs *bufs, nghttp2_extension *frame) nghttp2_frame_pack_origin() argument
819 nghttp2_frame_unpack_origin_payload(nghttp2_extension *frame, const uint8_t *payload, size_t payloadlen, nghttp2_mem *mem) nghttp2_frame_unpack_origin_payload() argument
891 nghttp2_frame_pack_priority_update(nghttp2_bufs *bufs, nghttp2_extension *frame) nghttp2_frame_pack_priority_update() argument
919 nghttp2_frame_unpack_priority_update_payload(nghttp2_extension *frame, uint8_t *payload, size_t payloadlen) nghttp2_frame_unpack_priority_update_payload() argument
[all...]
H A Dnghttp2_frame.h42 /* The number of bytes of frame header. */
49 /* The one frame buffer length for transmission. We may use several of
55 /* The default length of DATA frame payload. */
72 /* Union of extension frame payload */
84 * Initializes frame header |hd| with given parameters. Reserved bit
114 * Returns the offset from the HEADERS frame payload where the
115 * compressed header block starts. The frame payload does not include
116 * frame header.
118 size_t nghttp2_frame_headers_payload_nv_offset(nghttp2_headers *frame);
121 * Packs HEADERS frame |fram
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Dcompiler.py67 def new_func(self, node, frame, **kwargs):
68 # Only optimize if the frame is not volatile
69 if self.optimized and not frame.eval_ctx.volatile:
70 new_node = self.optimizer.visit(node, frame.eval_ctx)
72 return self.visit(new_node, frame)
73 return f(self, node, frame, **kwargs)
141 # a toplevel frame is the root + soft frames such as if conditions.
144 # the root frame is basically just the outermost frame, so no if
154 # this for example affects {% filter %} or {% macro %}. If a frame
[all...]
/third_party/skia/third_party/externals/jinja2/
H A Dcompiler.py67 def new_func(self, node, frame, **kwargs):
68 # Only optimize if the frame is not volatile
69 if self.optimized and not frame.eval_ctx.volatile:
70 new_node = self.optimizer.visit(node, frame.eval_ctx)
72 return self.visit(new_node, frame)
73 return f(self, node, frame, **kwargs)
141 # a toplevel frame is the root + soft frames such as if conditions.
144 # the root frame is basically just the outermost frame, so no if
154 # this for example affects {% filter %} or {% macro %}. If a frame
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dcompiler.py64 def new_func(self, node, frame, **kwargs):
65 # Only optimize if the frame is not volatile
66 if self.optimized and not frame.eval_ctx.volatile:
67 new_node = self.optimizer.visit(node, frame.eval_ctx)
69 return self.visit(new_node, frame)
70 return f(self, node, frame, **kwargs)
138 # a toplevel frame is the root + soft frames such as if conditions.
141 # the root frame is basically just the outermost frame, so no if
151 # this for example affects {% filter %} or {% macro %}. If a frame
[all...]
/third_party/jinja2/
H A Dcompiler.py45 self: "CodeGenerator", node: nodes.Expr, frame: "Frame", **kwargs: t.Any
47 # Only optimize if the frame is not volatile
48 if self.optimizer is not None and not frame.eval_ctx.volatile:
49 new_node = self.optimizer.visit(node, frame.eval_ctx)
52 return self.visit(new_node, frame)
54 return f(self, node, frame, **kwargs)
61 def visitor(self: "CodeGenerator", node: nodes.BinExpr, frame: Frame) -> None:
67 self.visit(node.left, frame)
69 self.visit(node.right, frame)
72 self.visit(node.left, frame)
[all...]
/third_party/python/Lib/
H A Dbdb.py27 Whether a frame is considered to originate in a certain module
28 is determined by the __name__ in the frame globals.
63 def trace_dispatch(self, frame, event, arg):
69 dispatch a frame, depending on the type of event (passed in as a
90 return self.dispatch_line(frame)
92 return self.dispatch_call(frame, arg)
94 return self.dispatch_return(frame, arg)
96 return self.dispatch_exception(frame, arg)
106 def dispatch_line(self, frame):
113 if self.stop_here(frame) o
[all...]
/third_party/python/Include/internal/
H A Dpycore_frame.h10 /* See Objects/frame_layout.md for an explanation of the frame stack
17 PyFrameObject *f_back; /* previous frame, or NULL */
18 struct _PyInterpreterFrame *f_frame; /* points to the frame data */
23 char f_fast_as_locals; /* Have the fast locals of this frame been converted to a dict? */
24 /* The frame data, if this frame object owns the frame */
58 // frame. Rather, it is the code unit *prior to* the *next* instruction. For
60 // over, or (in the case of a newly-created frame) a totally invalid value:
63 bool is_entry; // Whether this is the "root" frame fo
102 _PyFrame_InitializeSpecials( _PyInterpreterFrame *frame, PyFunctionObject *func, PyObject *locals, int nlocalsplus) _PyFrame_InitializeSpecials() argument
122 _PyFrame_GetLocalsArray(_PyInterpreterFrame *frame) _PyFrame_GetLocalsArray() argument
128 _PyFrame_GetStackPointer(_PyInterpreterFrame *frame) _PyFrame_GetStackPointer() argument
134 _PyFrame_SetStackPointer(_PyInterpreterFrame *frame, PyObject **stack_pointer) _PyFrame_SetStackPointer() argument
148 _PyFrame_IsIncomplete(_PyInterpreterFrame *frame) _PyFrame_IsIncomplete() argument
163 _PyFrame_GetFrameObject(_PyInterpreterFrame *frame) _PyFrame_GetFrameObject() argument
230 _PyFrame_GetGenerator(_PyInterpreterFrame *frame) _PyFrame_GetGenerator() argument
[all...]

Completed in 16 milliseconds

12345678910>>...61