Home
last modified time | relevance | path

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

12345678910>>...76

/third_party/ffmpeg/libavcodec/
H A Dbitpacked_dec.c36 int (*decode)(AVCodecContext *avctx, AVFrame *frame,
41 static int bitpacked_decode_uyvy422(AVCodecContext *avctx, AVFrame *frame, in bitpacked_decode_uyvy422() argument
48 frame->buf[0] = av_buffer_ref(avpkt->buf); in bitpacked_decode_uyvy422()
49 if (!frame->buf[0]) { in bitpacked_decode_uyvy422()
53 ret = av_image_fill_arrays(frame->data, frame->linesize, avpkt->data, in bitpacked_decode_uyvy422()
56 av_buffer_unref(&frame->buf[0]); in bitpacked_decode_uyvy422()
63 static int bitpacked_decode_yuv422p10(AVCodecContext *avctx, AVFrame *frame, in bitpacked_decode_yuv422p10() argument
72 ret = ff_thread_get_buffer(avctx, frame, 0); in bitpacked_decode_yuv422p10()
87 y = (uint16_t*)(frame in bitpacked_decode_yuv422p10()
125 bitpacked_decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) bitpacked_decode() argument
[all...]
H A Drawdec.c44 int frame_size; /* size of the frame in bytes */
132 static void flip(AVCodecContext *avctx, AVFrame *frame) in flip() argument
134 frame->data[0] += frame->linesize[0] * (avctx->height - 1); in flip()
135 frame->linesize[0] *= -1; in flip()
166 static int raw_decode(AVCodecContext *avctx, AVFrame *frame, in raw_decode() argument
229 frame->pict_type = AV_PICTURE_TYPE_I; in raw_decode()
230 frame->key_frame = 1; in raw_decode()
232 res = ff_decode_frame_props(avctx, frame); in raw_decode()
236 frame in raw_decode()
[all...]
H A Dcpia.c47 AVFrame *frame; member
63 AVFrame *frame = cpia->frame; in cpia_decode_frame() local
96 frame->pict_type = AV_PICTURE_TYPE_I; in cpia_decode_frame()
97 frame->key_frame = 1; in cpia_decode_frame()
99 frame->pict_type = AV_PICTURE_TYPE_P; in cpia_decode_frame()
100 frame->key_frame = 0; in cpia_decode_frame()
103 // Get buffer filled with previous frame in cpia_decode_frame()
104 if ((ret = ff_reget_buffer(avctx, frame, 0)) < 0) in cpia_decode_frame()
109 i < frame in cpia_decode_frame()
[all...]
H A Drawenc.c50 const AVFrame *frame, int *got_packet) in raw_encode()
52 int ret = av_image_get_buffer_size(frame->format, in raw_encode()
53 frame->width, frame->height, 1); in raw_encode()
61 (const uint8_t **)frame->data, frame->linesize, in raw_encode()
62 frame->format, in raw_encode()
63 frame->width, frame->height, 1)) < 0) in raw_encode()
67 frame in raw_encode()
49 raw_encode(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) raw_encode() argument
[all...]
H A Dbitpacked.c35 int (*decode)(AVCodecContext *avctx, AVFrame *frame,
40 static int bitpacked_decode_uyvy422(AVCodecContext *avctx, AVFrame *frame, in bitpacked_decode_uyvy422() argument
47 frame->buf[0] = av_buffer_ref(avpkt->buf); in bitpacked_decode_uyvy422()
48 ret = av_image_fill_arrays(frame->data, frame->linesize, avpkt->data, in bitpacked_decode_uyvy422()
51 av_buffer_unref(&frame->buf[0]); in bitpacked_decode_uyvy422()
58 static int bitpacked_decode_yuv422p10(AVCodecContext *avctx, AVFrame *frame, in bitpacked_decode_yuv422p10() argument
67 ret = ff_get_buffer(avctx, frame, 0); in bitpacked_decode_yuv422p10()
82 y = (uint16_t*)(frame->data[0] + i * frame in bitpacked_decode_yuv422p10()
125 AVFrame *frame = data; bitpacked_decode() local
[all...]
H A Dqsvdec.c34 #include "libavutil/frame.h"
65 QSVFrame *frame; member
119 static int qsv_get_continuous_buffer(AVCodecContext *avctx, AVFrame *frame, in qsv_get_continuous_buffer() argument
124 ff_decode_frame_props(avctx, frame); in qsv_get_continuous_buffer()
126 frame->width = avctx->width; in qsv_get_continuous_buffer()
127 frame->height = avctx->height; in qsv_get_continuous_buffer()
131 frame->linesize[0] = FFALIGN(avctx->width, 128); in qsv_get_continuous_buffer()
135 frame->linesize[0] = 2 * FFALIGN(avctx->width, 128); in qsv_get_continuous_buffer()
138 frame->linesize[0] = 4 * FFALIGN(avctx->width, 128); in qsv_get_continuous_buffer()
145 frame in qsv_get_continuous_buffer()
420 alloc_frame(AVCodecContext *avctx, QSVContext *q, QSVFrame *frame) alloc_frame() argument
486 QSVFrame *frame, **last; get_surface() local
537 qsv_export_film_grain(AVCodecContext *avctx, mfxExtAV1FilmGrainParam *ext_param, AVFrame *frame) qsv_export_film_grain() argument
603 qsv_decode(AVCodecContext *avctx, QSVContext *q, AVFrame *frame, int *got_frame, const AVPacket *avpkt) qsv_decode() argument
775 qsv_process_data(AVCodecContext *avctx, QSVContext *q, AVFrame *frame, int *got_frame, const AVPacket *pkt) qsv_process_data() argument
940 qsv_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) qsv_decode_frame() argument
[all...]
H A Dm101.c47 static int m101_decode_frame(AVCodecContext *avctx, AVFrame *frame, in m101_decode_frame() argument
56 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in m101_decode_frame()
58 frame->pict_type = AV_PICTURE_TYPE_I; in m101_decode_frame()
59 frame->key_frame = 1; in m101_decode_frame()
72 frame->interlaced_frame = ((avctx->extradata[3*4] & 3) != 3); in m101_decode_frame()
73 if (frame->interlaced_frame) in m101_decode_frame()
74 frame->top_field_first = avctx->extradata[3*4] & 1; in m101_decode_frame()
78 if (frame->interlaced_frame) in m101_decode_frame()
79 src_y = ((y&1)^frame->top_field_first) ? y/2 : (y/2 + avctx->height/2); in m101_decode_frame()
81 uint8_t *line = frame in m101_decode_frame()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dtrim.c60 * timestamp of the first frame in the output, in the timebase units
107 { "start", "Timestamp of the first frame that " \
109 { "starti", "Timestamp of the first frame that " \
111 { "end", "Timestamp of the first frame that " \
113 { "endi", "Timestamp of the first frame that " \
115 { "start_pts", "Timestamp of the first frame that should be " \
117 { "end_pts", "Timestamp of the first frame that should be " \
124 static int trim_filter_frame(AVFilterLink *inlink, AVFrame *frame) in trim_filter_frame() argument
132 av_frame_free(&frame); in trim_filter_frame()
140 if (s->start_pts != AV_NOPTS_VALUE && frame in trim_filter_frame()
220 atrim_filter_frame(AVFilterLink *inlink, AVFrame *frame) atrim_filter_frame() argument
[all...]
H A Dvf_lumakey.c46 AVFrame *frame = arg; in do_lumakey_slice8() local
47 const int slice_start = (frame->height * jobnr) / nb_jobs; in do_lumakey_slice8()
48 const int slice_end = (frame->height * (jobnr + 1)) / nb_jobs; in do_lumakey_slice8()
49 uint8_t *alpha = frame->data[3] + slice_start * frame->linesize[3]; in do_lumakey_slice8()
50 const uint8_t *luma = frame->data[0] + slice_start * frame->linesize[0]; in do_lumakey_slice8()
57 for (x = 0; x < frame->width; x++) { in do_lumakey_slice8()
68 luma += frame->linesize[0]; in do_lumakey_slice8()
69 alpha += frame in do_lumakey_slice8()
78 AVFrame *frame = arg; do_lumakey_slice16() local
132 filter_frame(AVFilterLink *link, AVFrame *frame) filter_frame() argument
[all...]
H A Dvf_freezeframes.c42 { "first", "set first frame to freeze", OFFSET(first), AV_OPT_TYPE_INT64, {.i64=0}, 0, INT64_MAX, FLAGS },
43 { "last", "set last frame to freeze", OFFSET(last), AV_OPT_TYPE_INT64, {.i64=0}, 0, INT64_MAX, FLAGS },
44 { "replace", "set frame to replace", OFFSET(replace), AV_OPT_TYPE_INT64, {.i64=0}, 0, INT64_MAX, FLAGS },
58 "Input frame sizes do not match (%dx%d vs %dx%d).\n", in config_output()
77 AVFrame *frame = NULL; in activate() local
86 ret = ff_inlink_consume_frame(ctx->inputs[0], &frame); in activate()
90 if (frame) { in activate()
91 int64_t dropped_pts = frame->pts; in activate()
93 av_frame_free(&frame); in activate()
94 frame in activate()
[all...]
H A Dvf_vflip.c59 AVFrame *frame; in get_video_buffer() local
62 frame = ff_get_video_buffer(link->dst->outputs[0], w, h); in get_video_buffer()
63 if (!frame) in get_video_buffer()
70 if (frame->data[i]) { in get_video_buffer()
71 frame->data[i] += (height - 1) * frame->linesize[i]; in get_video_buffer()
72 frame->linesize[i] = -frame->linesize[i]; in get_video_buffer()
76 return frame; in get_video_buffer()
108 static int filter_frame(AVFilterLink *link, AVFrame *frame) in filter_frame() argument
[all...]
H A Dvf_telecine.c52 AVFrame *frame[5]; member
65 {"pattern", "pattern that describe for how many fields a frame is to be displayed", OFFSET(pattern), AV_OPT_TYPE_STRING, {.str="23"}, 0, 0, FLAGS},
96 av_log(ctx, AV_LOG_INFO, "Telecine pattern %s yields up to %d frames per frame, pts advance factor: %d/%d\n", in init()
121 s->frame[i] = ff_get_video_buffer(inlink, inlink->w, inlink->h); in config_input()
122 if (!s->frame[i]) in config_input()
145 av_log(ctx, AV_LOG_ERROR, "The input needs a constant frame rate; " in config_output()
179 if (!len) { // do not output any field from this frame in filter_frame()
185 av_frame_make_writable(s->frame[nout]); in filter_frame()
188 av_image_copy_plane(s->frame[nout]->data[i] + s->frame[nou in filter_frame()
234 AVFrame *frame = av_frame_clone(s->frame[i]); filter_frame() local
[all...]
/third_party/ffmpeg/doc/examples/
H A Dencode_video.c39 static void encode(AVCodecContext *enc_ctx, AVFrame *frame, AVPacket *pkt, in encode() argument
44 /* send the frame to the encoder */ in encode()
45 if (frame) in encode()
46 printf("Send frame %3"PRId64"\n", frame->pts); in encode()
48 ret = avcodec_send_frame(enc_ctx, frame); in encode()
50 fprintf(stderr, "Error sending a frame for encoding\n"); in encode()
76 AVFrame *frame; in main() local
113 /* emit one intra frame every ten frames in main()
114 * check frame pict_typ in main()
[all...]
H A Dfilter_audio.c214 static int process_output(struct AVMD5 *md5, AVFrame *frame) in process_output() argument
216 int planar = av_sample_fmt_is_planar(frame->format); in process_output()
217 int channels = frame->ch_layout.nb_channels; in process_output()
219 int bps = av_get_bytes_per_sample(frame->format); in process_output()
220 int plane_size = bps * frame->nb_samples * (planar ? 1 : channels); in process_output()
227 av_md5_sum(checksum, frame->extended_data[i], plane_size); in process_output()
239 /* Construct a frame of audio data to be filtered;
241 static int get_input(AVFrame *frame, int frame_num) in get_input() argument
247 /* Set up the frame properties and allocate the buffer for the data. */ in get_input()
248 frame in get_input()
274 AVFrame *frame; main() local
[all...]
/third_party/ffmpeg/libavformat/
H A Duncodedframecrcenc.c49 static void video_frame_cksum(AVBPrint *bp, AVFrame *frame) in video_frame_cksum() argument
51 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format); in video_frame_cksum()
56 av_bprintf(bp, ", %d x %d", frame->width, frame->height); in video_frame_cksum()
61 if (av_image_fill_linesizes(linesize, frame->format, frame->width) < 0) in video_frame_cksum()
66 int h = frame->height; in video_frame_cksum()
69 data = frame->data[i]; in video_frame_cksum()
72 data += frame->linesize[i]; in video_frame_cksum()
78 static void audio_frame_cksum(AVBPrint *bp, AVFrame *frame) in audio_frame_cksum() argument
128 write_frame(struct AVFormatContext *s, int stream_index, AVFrame **frame, unsigned flags) write_frame() argument
[all...]
/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dcalc_max_amplitude.cpp33 float CalculateMaxAmplitudeForPCM8Bit(int8_t *frame, uint64_t nSamples) in CalculateMaxAmplitudeForPCM8Bit() argument
35 FALSE_RETURN_V(frame != nullptr && nSamples != 0, 0.0f); in CalculateMaxAmplitudeForPCM8Bit()
38 int8_t value = *frame++; in CalculateMaxAmplitudeForPCM8Bit()
49 float CalculateMaxAmplitudeForPCM16Bit(int16_t *frame, uint64_t nSamples) in CalculateMaxAmplitudeForPCM16Bit() argument
51 FALSE_RETURN_V(frame != nullptr && nSamples != 0, 0.0f); in CalculateMaxAmplitudeForPCM16Bit()
54 int16_t value = *frame++; in CalculateMaxAmplitudeForPCM16Bit()
65 float CalculateMaxAmplitudeForPCM24Bit(char *frame, uint64_t nSamples) in CalculateMaxAmplitudeForPCM24Bit() argument
67 FALSE_RETURN_V(frame != nullptr && nSamples != 0, 0.0f); in CalculateMaxAmplitudeForPCM24Bit()
70 char *curPos = frame + (i * SAMPLE_S24_BYTE_NUM); in CalculateMaxAmplitudeForPCM24Bit()
85 float CalculateMaxAmplitudeForPCM32Bit(int32_t *frame, uint64_ argument
101 UpdateMaxAmplitude(char *frame, uint64_t replyBytes, int32_t adapterFormat) UpdateMaxAmplitude() argument
[all...]
/third_party/nghttp2/lib/
H A Dnghttp2_session.c92 * Returns nonzero if |frame| is trailer headers.
96 nghttp2_frame *frame) { in session_trailer_headers()
97 if (!stream || frame->hd.type != NGHTTP2_HEADERS) { in session_trailer_headers()
101 return frame->headers.cat == NGHTTP2_HCAT_HEADERS; in session_trailer_headers()
104 return frame->headers.cat == NGHTTP2_HCAT_HEADERS && in session_trailer_headers()
310 iframe->frame.hd.type is 0, so that no free is performed. */ in session_inbound_frame_reset()
311 switch (iframe->frame.hd.type) { in session_inbound_frame_reset()
315 nghttp2_frame_headers_free(&iframe->frame.headers, mem); in session_inbound_frame_reset()
318 nghttp2_frame_priority_free(&iframe->frame.priority); in session_inbound_frame_reset()
321 nghttp2_frame_rst_stream_free(&iframe->frame in session_inbound_frame_reset()
94 session_trailer_headers(nghttp2_session *session, nghttp2_stream *stream, nghttp2_frame *frame) session_trailer_headers() argument
1115 nghttp2_frame *frame; nghttp2_session_add_item() local
1216 nghttp2_frame *frame; nghttp2_session_add_rst_stream() local
2194 session_call_select_padding(nghttp2_session *session, const nghttp2_frame *frame, size_t max_payloadlen) session_call_select_padding() argument
2222 session_headers_add_pad(nghttp2_session *session, nghttp2_frame *frame) session_headers_add_pad() argument
2263 session_pack_extension(nghttp2_session *session, nghttp2_bufs *bufs, nghttp2_frame *frame) session_pack_extension() argument
2307 nghttp2_frame *frame; session_prep_frame() local
2715 session_call_before_frame_send(nghttp2_session *session, nghttp2_frame *frame) session_call_before_frame_send() argument
2732 session_call_on_frame_send(nghttp2_session *session, nghttp2_frame *frame) session_call_on_frame_send() argument
2861 nghttp2_frame *frame; session_after_frame_sent1() local
3119 nghttp2_frame *frame; session_after_frame_sent2() local
3190 nghttp2_frame *frame; session_call_send_data() local
3262 nghttp2_frame *frame = &item->frame; nghttp2_session_mem_send_internal() local
3326 nghttp2_frame *frame; nghttp2_session_mem_send_internal() local
3437 nghttp2_frame *frame; nghttp2_session_mem_send_internal() local
3604 session_call_on_frame_received(nghttp2_session *session, nghttp2_frame *frame) session_call_on_frame_received() argument
3617 session_call_on_begin_headers(nghttp2_session *session, nghttp2_frame *frame) session_call_on_begin_headers() argument
3635 session_call_on_header(nghttp2_session *session, const nghttp2_frame *frame, const nghttp2_hd_nv *nv) session_call_on_header() argument
3658 session_call_on_invalid_header(nghttp2_session *session, const nghttp2_frame *frame, const nghttp2_hd_nv *nv) session_call_on_invalid_header() argument
3688 nghttp2_frame *frame = &iframe->frame; session_call_on_extension_chunk_recv_callback() local
3707 nghttp2_frame *frame = &iframe->frame; session_call_unpack_extension_callback() local
3769 session_call_on_invalid_frame_recv_callback(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code) session_call_on_invalid_frame_recv_callback() argument
3781 session_handle_invalid_stream2(nghttp2_session *session, int32_t stream_id, nghttp2_frame *frame, int lib_error_code) session_handle_invalid_stream2() argument
3800 session_handle_invalid_stream(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code) session_handle_invalid_stream() argument
3807 session_inflate_handle_invalid_stream(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code) session_inflate_handle_invalid_stream() argument
3821 session_handle_invalid_connection(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code, const char *reason) session_handle_invalid_connection() argument
3835 session_inflate_handle_invalid_connection(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code, const char *reason) session_inflate_handle_invalid_connection() argument
3875 inflate_header_block(nghttp2_session *session, nghttp2_frame *frame, size_t *readlen_ptr, uint8_t *in, size_t inlen, int final, int call_header_cb) inflate_header_block() argument
4027 session_end_stream_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) session_end_stream_headers_received() argument
4061 nghttp2_frame *frame = &session->iframe.frame; session_after_header_block_received() local
4142 nghttp2_session_on_request_headers_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_request_headers_received() argument
4246 nghttp2_session_on_response_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) nghttp2_session_on_response_headers_received() argument
4278 nghttp2_session_on_push_response_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) nghttp2_session_on_push_response_headers_received() argument
4323 nghttp2_session_on_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) nghttp2_session_on_headers_received() argument
4370 nghttp2_frame *frame = &iframe->frame; session_process_headers_frame() local
4397 nghttp2_session_on_priority_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_priority_received() argument
4459 nghttp2_frame *frame = &iframe->frame; session_process_priority_frame() local
4485 nghttp2_session_on_rst_stream_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_rst_stream_received() argument
4520 nghttp2_frame *frame = &iframe->frame; session_process_rst_stream_frame() local
4731 nghttp2_session_on_settings_received(nghttp2_session *session, nghttp2_frame *frame, int noack) nghttp2_session_on_settings_received() argument
4933 nghttp2_frame *frame = &iframe->frame; session_process_settings_frame() local
4968 nghttp2_session_on_push_promise_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_push_promise_received() argument
5056 nghttp2_frame *frame = &iframe->frame; session_process_push_promise_frame() local
5064 nghttp2_session_on_ping_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_ping_received() argument
5086 nghttp2_frame *frame = &iframe->frame; session_process_ping_frame() local
5093 nghttp2_session_on_goaway_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_goaway_received() argument
5127 nghttp2_frame *frame = &iframe->frame; session_process_goaway_frame() local
5139 session_on_connection_window_update_received(nghttp2_session *session, nghttp2_frame *frame) session_on_connection_window_update_received() argument
5158 session_on_stream_window_update_received(nghttp2_session *session, nghttp2_frame *frame) session_on_stream_window_update_received() argument
5201 nghttp2_session_on_window_update_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_window_update_received() argument
5212 nghttp2_frame *frame = &iframe->frame; session_process_window_update_frame() local
5220 nghttp2_session_on_altsvc_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_altsvc_received() argument
5258 nghttp2_session_on_origin_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_origin_received() argument
5263 nghttp2_session_on_priority_update_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_priority_update_received() argument
5339 nghttp2_frame *frame = &iframe->frame; session_process_altsvc_frame() local
5354 nghttp2_frame *frame = &iframe->frame; session_process_origin_frame() local
5373 nghttp2_frame *frame = &iframe->frame; session_process_priority_update_frame() local
5384 nghttp2_frame *frame = &iframe->frame; session_process_extension_frame() local
5399 nghttp2_session_on_data_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_data_received() argument
7388 nghttp2_frame *frame; nghttp2_session_add_ping() local
7429 nghttp2_frame *frame; nghttp2_session_add_goaway() local
7488 nghttp2_frame *frame; nghttp2_session_add_window_update() local
7528 nghttp2_frame *frame; nghttp2_session_add_settings() local
7650 nghttp2_session_pack_data(nghttp2_session *session, nghttp2_bufs *bufs, size_t datamax, nghttp2_frame *frame, nghttp2_data_aux_data *aux_data, nghttp2_stream *stream) nghttp2_session_pack_data() argument
7800 nghttp2_frame *frame; nghttp2_session_set_stream_user_data() local
7992 nghttp2_frame frame; nghttp2_session_upgrade_internal() local
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_session.c92 * Returns nonzero if |frame| is trailer headers.
96 nghttp2_frame *frame) { in session_trailer_headers()
97 if (!stream || frame->hd.type != NGHTTP2_HEADERS) { in session_trailer_headers()
101 return frame->headers.cat == NGHTTP2_HCAT_HEADERS; in session_trailer_headers()
104 return frame->headers.cat == NGHTTP2_HCAT_HEADERS && in session_trailer_headers()
310 iframe->frame.hd.type is 0, so that no free is performed. */ in session_inbound_frame_reset()
311 switch (iframe->frame.hd.type) { in session_inbound_frame_reset()
315 nghttp2_frame_headers_free(&iframe->frame.headers, mem); in session_inbound_frame_reset()
318 nghttp2_frame_priority_free(&iframe->frame.priority); in session_inbound_frame_reset()
321 nghttp2_frame_rst_stream_free(&iframe->frame in session_inbound_frame_reset()
94 session_trailer_headers(nghttp2_session *session, nghttp2_stream *stream, nghttp2_frame *frame) session_trailer_headers() argument
1110 nghttp2_frame *frame; nghttp2_session_add_item() local
1211 nghttp2_frame *frame; nghttp2_session_add_rst_stream() local
2189 session_call_select_padding(nghttp2_session *session, const nghttp2_frame *frame, size_t max_payloadlen) session_call_select_padding() argument
2217 session_headers_add_pad(nghttp2_session *session, nghttp2_frame *frame) session_headers_add_pad() argument
2258 session_pack_extension(nghttp2_session *session, nghttp2_bufs *bufs, nghttp2_frame *frame) session_pack_extension() argument
2302 nghttp2_frame *frame; session_prep_frame() local
2710 session_call_before_frame_send(nghttp2_session *session, nghttp2_frame *frame) session_call_before_frame_send() argument
2727 session_call_on_frame_send(nghttp2_session *session, nghttp2_frame *frame) session_call_on_frame_send() argument
2856 nghttp2_frame *frame; session_after_frame_sent1() local
3114 nghttp2_frame *frame; session_after_frame_sent2() local
3185 nghttp2_frame *frame; session_call_send_data() local
3257 nghttp2_frame *frame = &item->frame; nghttp2_session_mem_send_internal() local
3321 nghttp2_frame *frame; nghttp2_session_mem_send_internal() local
3432 nghttp2_frame *frame; nghttp2_session_mem_send_internal() local
3599 session_call_on_frame_received(nghttp2_session *session, nghttp2_frame *frame) session_call_on_frame_received() argument
3612 session_call_on_begin_headers(nghttp2_session *session, nghttp2_frame *frame) session_call_on_begin_headers() argument
3630 session_call_on_header(nghttp2_session *session, const nghttp2_frame *frame, const nghttp2_hd_nv *nv) session_call_on_header() argument
3653 session_call_on_invalid_header(nghttp2_session *session, const nghttp2_frame *frame, const nghttp2_hd_nv *nv) session_call_on_invalid_header() argument
3683 nghttp2_frame *frame = &iframe->frame; session_call_on_extension_chunk_recv_callback() local
3702 nghttp2_frame *frame = &iframe->frame; session_call_unpack_extension_callback() local
3764 session_call_on_invalid_frame_recv_callback(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code) session_call_on_invalid_frame_recv_callback() argument
3776 session_handle_invalid_stream2(nghttp2_session *session, int32_t stream_id, nghttp2_frame *frame, int lib_error_code) session_handle_invalid_stream2() argument
3795 session_handle_invalid_stream(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code) session_handle_invalid_stream() argument
3802 session_inflate_handle_invalid_stream(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code) session_inflate_handle_invalid_stream() argument
3816 session_handle_invalid_connection(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code, const char *reason) session_handle_invalid_connection() argument
3830 session_inflate_handle_invalid_connection(nghttp2_session *session, nghttp2_frame *frame, int lib_error_code, const char *reason) session_inflate_handle_invalid_connection() argument
3870 inflate_header_block(nghttp2_session *session, nghttp2_frame *frame, size_t *readlen_ptr, uint8_t *in, size_t inlen, int final, int call_header_cb) inflate_header_block() argument
4022 session_end_stream_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) session_end_stream_headers_received() argument
4056 nghttp2_frame *frame = &session->iframe.frame; session_after_header_block_received() local
4137 nghttp2_session_on_request_headers_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_request_headers_received() argument
4241 nghttp2_session_on_response_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) nghttp2_session_on_response_headers_received() argument
4273 nghttp2_session_on_push_response_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) nghttp2_session_on_push_response_headers_received() argument
4318 nghttp2_session_on_headers_received(nghttp2_session *session, nghttp2_frame *frame, nghttp2_stream *stream) nghttp2_session_on_headers_received() argument
4365 nghttp2_frame *frame = &iframe->frame; session_process_headers_frame() local
4392 nghttp2_session_on_priority_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_priority_received() argument
4454 nghttp2_frame *frame = &iframe->frame; session_process_priority_frame() local
4480 nghttp2_session_on_rst_stream_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_rst_stream_received() argument
4515 nghttp2_frame *frame = &iframe->frame; session_process_rst_stream_frame() local
4726 nghttp2_session_on_settings_received(nghttp2_session *session, nghttp2_frame *frame, int noack) nghttp2_session_on_settings_received() argument
4928 nghttp2_frame *frame = &iframe->frame; session_process_settings_frame() local
4963 nghttp2_session_on_push_promise_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_push_promise_received() argument
5051 nghttp2_frame *frame = &iframe->frame; session_process_push_promise_frame() local
5059 nghttp2_session_on_ping_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_ping_received() argument
5081 nghttp2_frame *frame = &iframe->frame; session_process_ping_frame() local
5088 nghttp2_session_on_goaway_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_goaway_received() argument
5122 nghttp2_frame *frame = &iframe->frame; session_process_goaway_frame() local
5134 session_on_connection_window_update_received(nghttp2_session *session, nghttp2_frame *frame) session_on_connection_window_update_received() argument
5153 session_on_stream_window_update_received(nghttp2_session *session, nghttp2_frame *frame) session_on_stream_window_update_received() argument
5196 nghttp2_session_on_window_update_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_window_update_received() argument
5207 nghttp2_frame *frame = &iframe->frame; session_process_window_update_frame() local
5215 nghttp2_session_on_altsvc_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_altsvc_received() argument
5253 nghttp2_session_on_origin_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_origin_received() argument
5258 nghttp2_session_on_priority_update_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_priority_update_received() argument
5334 nghttp2_frame *frame = &iframe->frame; session_process_altsvc_frame() local
5349 nghttp2_frame *frame = &iframe->frame; session_process_origin_frame() local
5368 nghttp2_frame *frame = &iframe->frame; session_process_priority_update_frame() local
5379 nghttp2_frame *frame = &iframe->frame; session_process_extension_frame() local
5394 nghttp2_session_on_data_received(nghttp2_session *session, nghttp2_frame *frame) nghttp2_session_on_data_received() argument
7377 nghttp2_frame *frame; nghttp2_session_add_ping() local
7418 nghttp2_frame *frame; nghttp2_session_add_goaway() local
7477 nghttp2_frame *frame; nghttp2_session_add_window_update() local
7517 nghttp2_frame *frame; nghttp2_session_add_settings() local
7639 nghttp2_session_pack_data(nghttp2_session *session, nghttp2_bufs *bufs, size_t datamax, nghttp2_frame *frame, nghttp2_data_aux_data *aux_data, nghttp2_stream *stream) nghttp2_session_pack_data() argument
7789 nghttp2_frame *frame; nghttp2_session_set_stream_user_data() local
7981 nghttp2_frame frame; nghttp2_session_upgrade_internal() local
[all...]
/third_party/skia/third_party/externals/libwebp/src/demux/
H A Ddemux.c183 // Add a frame to the end of the list, ensuring the last frame is complete.
185 static int AddFrame(WebPDemuxer* const dmux, Frame* const frame) { in AddFrame() argument
189 *dmux->frames_tail_ = frame; in AddFrame()
190 frame->next_ = NULL; in AddFrame()
191 dmux->frames_tail_ = &frame->next_; in AddFrame()
198 Frame* const frame) { in SetFrameInfo()
199 frame->img_components_[0].offset_ = start_offset; in SetFrameInfo()
200 frame->img_components_[0].size_ = size; in SetFrameInfo()
201 frame in SetFrameInfo()
195 SetFrameInfo(size_t start_offset, size_t size, int frame_num, int complete, const WebPBitstreamFeatures* const features, Frame* const frame) SetFrameInfo() argument
210 StoreFrame(int frame_num, uint32_t min_size, MemBuffer* const mem, Frame* const frame) StoreFrame() argument
298 NewFrame(const MemBuffer* const mem, uint32_t min_size, uint32_t actual_size, Frame** frame) NewFrame() argument
318 Frame* frame; ParseAnimationFrame() local
404 Frame* frame; ParseSingleImage() local
575 const Frame* const frame = dmux->frames_; IsValidSimpleFormat() local
587 CheckFrameBounds(const Frame* const frame, int exact, int canvas_width, int canvas_height) CheckFrameBounds() argument
686 Frame* const frame = (Frame*)WebPSafeCalloc(1ULL, sizeof(*frame)); CreateRawImageDemuxer() local
812 GetFramePayload(const uint8_t* const mem_buf, const Frame* const frame, size_t* const data_size) GetFramePayload() argument
837 SynthesizeFrame(const WebPDemuxer* const dmux, const Frame* const frame, WebPIterator* const iter) SynthesizeFrame() argument
863 const Frame* frame; SetFrame() local
875 WebPDemuxGetFrame(const WebPDemuxer* dmux, int frame, WebPIterator* iter) WebPDemuxGetFrame() argument
[all...]
/third_party/ltp/testcases/network/can/filter-tests/
H A Dcan_filter.c84 struct can_frame frame; in run() local
101 frame.can_dlc = 1; in run()
102 frame.data[0] = testcase; in run()
104 frame.can_id = ID; in run()
105 SAFE_WRITE(SAFE_WRITE_ALL, s, &frame, sizeof(frame)); in run()
107 frame.can_id = (ID | CAN_RTR_FLAG); in run()
108 SAFE_WRITE(SAFE_WRITE_ALL, s, &frame, sizeof(frame)); in run()
110 frame in run()
[all...]
/third_party/ffmpeg/tests/api/
H A Dapi-h264-slice-test.c48 static int decode(AVCodecContext *dec_ctx, AVFrame *frame, in decode() argument
65 ret = avcodec_receive_frame(dec_ctx, frame); in decode()
75 "#format: frame checksums\n" in decode()
92 for (int i = 0; i < frame->height; i++) in decode()
93 av_hash_update(hash, &frame->data[0][i * frame->linesize[0]], frame->width); in decode()
94 for (int i = 0; i < frame->height >> desc->log2_chroma_h; i++) in decode()
95 av_hash_update(hash, &frame->data[1][i * frame in decode()
113 AVFrame *frame = NULL; main() local
[all...]
/third_party/skia/tools/debugger/
H A DDebugLayerManager.cpp22 void DebugLayerManager::setCommand(int nodeId, int frame, int command) { in setCommand() argument
23 auto* drawEvent = fDraws.find({frame, nodeId}); in setCommand()
26 "DebugLayerManager.\n", frame, nodeId); in setCommand()
31 // Invalidate stored images that depended on this combination of node and frame. in setCommand()
39 void DebugLayerManager::storeSkPicture(int nodeId, int frame, sk_sp<SkPicture> picture,
41 const LayerKey k = {frame, nodeId};
52 debugCanvas->setLayerManagerAndFrame(this, frame);
58 frame == 0 || dirty==layerBounds, // fullRedraw
69 void DebugLayerManager::drawLayerEventTo(SkSurface* surface, const int nodeId, const int frame) { in drawLayerEventTo() argument
70 auto& evt = fDraws[{frame, nodeI in drawLayerEventTo()
75 getLayerAsImage(const int nodeId, const int frame) getLayerAsImage() argument
179 getEventDebugCanvas(int nodeId, int frame) getEventDebugCanvas() argument
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_frame.c42 FILLP_LOGDBG("free frame item of seq: %d", frameItem->info.seqNum); in FillpFrameItemPut()
48 struct FillpFrameItem *FillpFrameItemAlloc(FILLP_CONST struct FrameInfo *frame) in FillpFrameItemAlloc() argument
52 if (frame != FILLP_NULL_PTR) { in FillpFrameItemAlloc()
55 FILLP_LOGERR("alloc frame item failed, seq: %d", frame->seqNum); in FillpFrameItemAlloc()
57 frameItem->info = *frame; in FillpFrameItemAlloc()
58 /* hold the frame item until the sending of socket app ended */ in FillpFrameItemAlloc()
60 FILLP_LOGDBG("alloc frame item succeeded, seq: %d", frame->seqNum); in FillpFrameItemAlloc()
71 item->frame in FillpFrameItemReference()
228 FillpFrameRxNewFrag(struct FillpFrame *frame, const struct FillpPcbItem *item) FillpFrameRxNewFrag() argument
[all...]
/third_party/python/Lib/idlelib/
H A Ddebugger.py18 def user_line(self, frame):
19 if self.in_rpc_code(frame):
22 message = self.__frame2message(frame)
24 self.gui.interaction(message, frame)
28 def user_exception(self, frame, info):
29 if self.in_rpc_code(frame):
32 message = self.__frame2message(frame)
33 self.gui.interaction(message, frame, info)
35 def in_rpc_code(self, frame):
36 if frame
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
H A Ddrv_hdmi_infoframe.c69 * @frame: HDMI AVI infoframe
72 * packs the information contained in the @frame structure into a binary
79 static hdmi_video_code_vic avi_header_pack(struct hdmi_avi_infoframe *frame, hi_void *buffer, hdmi_3d_mode _3d_mode) in avi_header_pack() argument
86 video_code = drv_hdmi_vic_search(frame->video_timing, frame->picture_aspect, _3d_enable); in avi_header_pack()
89 ptr[0] = frame->type; in avi_header_pack()
90 if (((hi_u32)frame->colorspace & HDMI_AVI_Y2_MASK) || (video_code > HDMI_5120X2160P100_64_27)) { in avi_header_pack()
92 frame->version = HDMI_AVI_VERSION3; in avi_header_pack()
93 } else if (frame->colorimetry == HDMI_COLORIMETRY_EXTEND && in avi_header_pack()
94 frame in avi_header_pack()
105 hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, hi_void *buffer, hi_u32 size, hdmi_3d_mode _3d_mode) hdmi_avi_infoframe_pack() argument
163 hdmi_drm_infoframe_pack(hdmi_drm_infoframe *frame, hi_void *buffer, hi_u32 size) hdmi_drm_infoframe_pack() argument
233 hdmi_audio_infoframe_pack(struct hdmi_audio_infoframe *frame, hi_void *buffer, hi_u32 size) hdmi_audio_infoframe_pack() argument
278 hdmi_vendor_specific_infoframe_pack(struct hdmi_vendor_specific_infoframe *frame, hi_void *buffer, hi_u32 size) hdmi_vendor_specific_infoframe_pack() argument
[all...]

Completed in 21 milliseconds

12345678910>>...76