Home
last modified time | relevance | path

Searched refs:frame (Results 326 - 350 of 1514) sorted by relevance

1...<<11121314151617181920>>...61

/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_job.c231 lima_job_start(struct lima_job *job, int pipe, void *frame, uint32_t size) in lima_job_start() argument
239 .frame = VOID2U64(frame), in lima_job_start()
771 struct lima_pp_frame_reg *frame = (void *)frame_reg; in lima_pack_wb_cbuf_reg() local
772 frame->channel_layout = lima_format_get_channel_layout(cbuf->format); in lima_pack_wb_cbuf_reg()
801 struct lima_pp_frame_reg *frame = (void *)frame_reg; in lima_pack_pp_frame_reg() local
805 frame->render_address = screen->pp_buffer->va + pp_frame_rsw_offset; in lima_pack_pp_frame_reg()
806 frame->flags = 0x02; in lima_pack_pp_frame_reg()
808 frame->flags |= 0x01; /* enable fp16 */ in lima_pack_pp_frame_reg()
809 frame in lima_pack_pp_frame_reg()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dcbs_vp9.c484 VP9RawFrame *frame; in cbs_vp9_read_unit() local
495 frame = unit->content; in cbs_vp9_read_unit()
497 err = cbs_vp9_read_frame(ctx, &gbc, frame); in cbs_vp9_read_unit()
507 // No data (e.g. a show-existing-frame frame). in cbs_vp9_read_unit()
509 frame->data_ref = av_buffer_ref(unit->data_ref); in cbs_vp9_read_unit()
510 if (!frame->data_ref) in cbs_vp9_read_unit()
513 frame->data = unit->data + pos; in cbs_vp9_read_unit()
514 frame->data_size = unit->data_size - pos; in cbs_vp9_read_unit()
524 VP9RawFrame *frame in cbs_vp9_write_unit() local
554 CodedBitstreamUnit *frame = &frag->units[0]; cbs_vp9_assemble_fragment() local
[all...]
H A Dpcm-dvdenc.c30 uint8_t header[3]; // Header added to every frame
116 const AVFrame *frame, int *got_packet_ptr) in pcm_dvd_encode_frame()
119 int samples = frame->nb_samples * avctx->ch_layout.nb_channels; in pcm_dvd_encode_frame()
120 int64_t pkt_size = (int64_t)(frame->nb_samples / s->samples_per_block) * s->block_size + 3; in pcm_dvd_encode_frame()
132 src16 = (const int16_t *)frame->data[0]; in pcm_dvd_encode_frame()
133 src32 = (const int32_t *)frame->data[0]; in pcm_dvd_encode_frame()
170 avpkt->pts = frame->pts; in pcm_dvd_encode_frame()
171 avpkt->duration = ff_samples_to_time_base(avctx, frame->nb_samples); in pcm_dvd_encode_frame()
115 pcm_dvd_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) pcm_dvd_encode_frame() argument
H A Ddnxhddec.c176 static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame, in dnxhd_decode_header() argument
198 frame->interlaced_frame = 1; in dnxhd_decode_header()
199 frame->top_field_first = first_field ^ ctx->cur_field; in dnxhd_decode_header()
235 case 0: frame->colorspace = AVCOL_SPC_BT709; break; in dnxhd_decode_header()
236 case 1: frame->colorspace = AVCOL_SPC_BT2020_NCL; break; in dnxhd_decode_header()
237 case 2: frame->colorspace = AVCOL_SPC_BT2020_CL; break; in dnxhd_decode_header()
238 case 3: frame->colorspace = AVCOL_SPC_UNSPECIFIED; break; in dnxhd_decode_header()
293 av_log(ctx->avctx, AV_LOG_ERROR, "incorrect frame size (%d < %u).\n", in dnxhd_decode_header()
301 if ((ctx->height + 15) >> 4 == ctx->mb_height && frame->interlaced_frame) in dnxhd_decode_header()
319 if ((ctx->mb_height << frame in dnxhd_decode_header()
487 dnxhd_decode_macroblock(const DNXHDContext *ctx, RowContext *row, AVFrame *frame, int x, int y) dnxhd_decode_macroblock() argument
[all...]
H A Dmediacodec_sw_buffer.h28 #include "libavutil/frame.h"
39 AVFrame *frame);
46 AVFrame *frame);
53 AVFrame *frame);
60 AVFrame *frame);
H A Dlibcelt_dec.c106 static int libcelt_dec_decode(AVCodecContext *c, AVFrame *frame, in libcelt_dec_decode() argument
113 frame->nb_samples = c->frame_size; in libcelt_dec_decode()
114 if ((err = ff_get_buffer(c, frame, 0)) < 0) in libcelt_dec_decode()
116 pcm = (int16_t *)frame->data[0]; in libcelt_dec_decode()
121 frame->nb_samples -= celt->discard; in libcelt_dec_decode()
123 frame->nb_samples * c->ch_layout.nb_channels * sizeof(int16_t)); in libcelt_dec_decode()
H A Dsgirledec.c113 static int sgirle_decode_frame(AVCodecContext *avctx, AVFrame *frame, in sgirle_decode_frame() argument
118 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in sgirle_decode_frame()
121 ret = decode_sgirle8(avctx, frame->data[0], avpkt->data, avpkt->size, in sgirle_decode_frame()
122 avctx->width, avctx->height, frame->linesize[0]); in sgirle_decode_frame()
126 frame->pict_type = AV_PICTURE_TYPE_I; in sgirle_decode_frame()
127 frame->key_frame = 1; in sgirle_decode_frame()
H A Dws-snd1.c54 static int ws_snd_decode_frame(AVCodecContext *avctx, AVFrame *frame, in ws_snd_decode_frame() argument
83 frame->nb_samples = out_size; in ws_snd_decode_frame()
84 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in ws_snd_decode_frame()
86 samples = frame->data[0]; in ws_snd_decode_frame()
167 frame->nb_samples = samples - frame->data[0]; in ws_snd_decode_frame()
H A Dcdxl.c146 static void cdxl_decode_rgb(CDXLVideoContext *c, AVFrame *frame) in cdxl_decode_rgb() argument
148 uint32_t *new_palette = (uint32_t *)frame->data[1]; in cdxl_decode_rgb()
150 memset(frame->data[1], 0, AVPALETTE_SIZE); in cdxl_decode_rgb()
152 import_format(c, frame->linesize[0], frame->data[0]); in cdxl_decode_rgb()
155 static void cdxl_decode_raw(CDXLVideoContext *c, AVFrame *frame) in cdxl_decode_raw() argument
157 import_format(c, frame->linesize[0], frame->data[0]); in cdxl_decode_raw()
160 static void cdxl_decode_ham6(CDXLVideoContext *c, AVFrame *frame) in cdxl_decode_ham6() argument
168 out = frame in cdxl_decode_ham6()
203 cdxl_decode_ham8(CDXLVideoContext *c, AVFrame *frame) cdxl_decode_ham8() argument
[all...]
H A Ddfpwmenc.c93 const struct AVFrame *frame, int *got_packet) in dfpwm_enc_frame()
96 int size = frame->nb_samples * frame->ch_layout.nb_channels / 8 + (frame->nb_samples % 8 > 0 ? 1 : 0); in dfpwm_enc_frame()
104 au_compress(state, size, packet->data, frame->data[0]); in dfpwm_enc_frame()
92 dfpwm_enc_frame(struct AVCodecContext *ctx, struct AVPacket *packet, const struct AVFrame *frame, int *got_packet) dfpwm_enc_frame() argument
H A Dlibjxldec.c35 #include "libavutil/frame.h"
225 static int libjxl_color_encoding_event(AVCodecContext *avctx, AVFrame *frame) in libjxl_color_encoding_event() argument
261 avctx->color_range = frame->color_range = AVCOL_RANGE_JPEG; in libjxl_color_encoding_event()
314 frame->color_trc = avctx->color_trc; in libjxl_color_encoding_event()
315 frame->color_primaries = avctx->color_primaries; in libjxl_color_encoding_event()
316 frame->colorspace = avctx->colorspace; in libjxl_color_encoding_event()
321 static int libjxl_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) in libjxl_decode_frame() argument
380 if ((ret = libjxl_color_encoding_event(avctx, frame)) < 0) in libjxl_decode_frame()
385 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in libjxl_decode_frame()
387 ctx->jxl_pixfmt.align = frame in libjxl_decode_frame()
[all...]
H A Dhnm4video.c136 static void copy_processed_frame(AVCodecContext *avctx, AVFrame *frame) in copy_processed_frame() argument
140 uint8_t *dst = frame->data[0]; in copy_processed_frame()
146 dst += frame->linesize[0]; in copy_processed_frame()
391 static int hnm_decode_frame(AVCodecContext *avctx, AVFrame *frame, in hnm_decode_frame() argument
412 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in hnm_decode_frame()
421 copy_processed_frame(avctx, frame); in hnm_decode_frame()
422 frame->pict_type = AV_PICTURE_TYPE_I; in hnm_decode_frame()
423 frame->key_frame = 1; in hnm_decode_frame()
424 memcpy(frame->data[1], hnm->palette, 256 * 4); in hnm_decode_frame()
427 if ((ret = ff_get_buffer(avctx, frame, in hnm_decode_frame()
[all...]
/third_party/ffmpeg/libavdevice/
H A Dkmsgrab.c87 AVFrame *frame = (AVFrame*)data; in kmsgrab_free_frame() local
89 av_frame_free(&frame); in kmsgrab_free_frame()
267 AVFrame *frame = NULL; in kmsgrab_read_packet() local
315 frame = av_frame_alloc(); in kmsgrab_read_packet()
316 if (!frame) { in kmsgrab_read_packet()
321 frame->hw_frames_ctx = av_buffer_ref(ctx->frames_ref); in kmsgrab_read_packet()
322 if (!frame->hw_frames_ctx) { in kmsgrab_read_packet()
327 frame->buf[0] = av_buffer_create((uint8_t*)desc, sizeof(*desc), in kmsgrab_read_packet()
329 if (!frame->buf[0]) { in kmsgrab_read_packet()
334 frame in kmsgrab_read_packet()
[all...]
/third_party/ffmpeg/doc/examples/
H A Dextract_mvs.c34 static AVFrame *frame = NULL; variable
46 ret = avcodec_receive_frame(video_dec_ctx, frame); in decode_packet()
50 fprintf(stderr, "Error while receiving a frame from the decoder: %s\n", av_err2str(ret)); in decode_packet()
59 sd = av_frame_get_side_data(frame, AV_FRAME_DATA_MOTION_VECTORS); in decode_packet()
70 av_frame_unref(frame); in decode_packet()
155 frame = av_frame_alloc(); in main()
156 if (!frame) { in main()
157 fprintf(stderr, "Could not allocate frame\n"); in main()
186 av_frame_free(&frame); in main()
/third_party/ffmpeg/libavfilter/
H A Dvf_repeatfields.c31 AVFrame *frame; member
38 av_frame_free(&s->frame); in uninit()
86 if (!s->frame) { in filter_frame()
87 s->frame = av_frame_clone(in); in filter_frame()
88 if (!s->frame) in filter_frame()
90 s->frame->pts = AV_NOPTS_VALUE; in filter_frame()
93 out = s->frame; in filter_frame()
H A Df_perms.c77 static int filter_frame(AVFilterLink *inlink, AVFrame *frame) in filter_frame() argument
82 AVFrame *out = frame; in filter_frame()
83 enum perm in_perm = av_frame_is_writable(frame) ? RW : RO; in filter_frame()
99 if ((ret = av_frame_make_writable(frame)) < 0) in filter_frame()
102 out = av_frame_clone(frame); in filter_frame()
110 av_frame_free(&frame); in filter_frame()
135 .description = NULL_IF_CONFIG_SMALL("Set permissions for the output audio frame."),
166 .description = NULL_IF_CONFIG_SMALL("Set permissions for the output video frame."),
/third_party/ffmpeg/libavformat/
H A Dmicrodvddec.c60 int frame; in get_pts() local
63 if (sscanf(buf, "{%d}{%c", &frame, &c) == 2) in get_pts()
64 return frame; in get_pts()
109 int frame; in microdvd_read_header() local
113 if ((sscanf(line, "{%d}{}%6lf", &frame, &fps) == 2 || in microdvd_read_header()
114 sscanf(line, "{%d}{%*d}%6lf", &frame, &fps) == 2) in microdvd_read_header()
115 && frame <= 1 && fps > 3 && fps < 100) { in microdvd_read_header()
156 /* fallback on user specified frame rate */ in microdvd_read_header()
190 { "subfps", "set the movie frame rate fallback", OFFSET(frame_rate), AV_OPT_TYPE_RATIONAL, {.dbl=0}, 0, INT_MAX, SD },
/third_party/libunwind/libunwind/doc/
H A Dunw_step.tex8 \begin{Name}{3}{unw\_step}{David Mosberger-Tang}{Programming Library}{unw\_step}unw\_step -- advance to next stack frame
20 the next older, less deeply nested stack frame.
25 if the updated cursor refers to a valid stack frame, or 0 if the
26 previous stack frame was the last frame in the chain. On error, the
44 (``program-counter'') of the next stack frame is invalid (e.g., not
46 \item[\Const{UNW\_EBADFRAME}] The next stack frame is invalid.
/third_party/ffmpeg/libavutil/
H A Dmastering_display_metadata.c32 AVMasteringDisplayMetadata *av_mastering_display_metadata_create_side_data(AVFrame *frame) in av_mastering_display_metadata_create_side_data() argument
34 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_mastering_display_metadata_create_side_data()
55 AVContentLightMetadata *av_content_light_metadata_create_side_data(AVFrame *frame) in av_content_light_metadata_create_side_data() argument
57 AVFrameSideData *side_data = av_frame_new_side_data(frame, in av_content_light_metadata_create_side_data()
/third_party/nghttp2/lib/
H A Dnghttp2_http.h37 * This function is called when HTTP header field |nv| in |frame| is
51 nghttp2_frame *frame, nghttp2_hd_nv *nv,
59 nghttp2_frame *frame);
73 nghttp2_frame *frame);
77 * frame. This function performs validation and returns 0 if it
89 * This function inspects header field in |frame| and records its
90 * method in stream->http_flags. If frame->hd.type is neither
95 nghttp2_frame *frame);
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_http.h37 * This function is called when HTTP header field |nv| in |frame| is
51 nghttp2_frame *frame, nghttp2_hd_nv *nv,
59 nghttp2_frame *frame);
73 nghttp2_frame *frame);
77 * frame. This function performs validation and returns 0 if it
89 * This function inspects header field in |frame| and records its
90 * method in stream->http_flags. If frame->hd.type is neither
95 nghttp2_frame *frame);
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
H A DLinearResampler.cpp27 void LinearResampler::writeFrame(const float *frame) { in writeFrame() argument
29 memcpy(mCurrentFrame.get(), frame, sizeof(float) * getChannelCount()); in writeFrame()
32 void LinearResampler::readFrame(float *frame) { in readFrame() argument
36 // iterate across samples in the frame in readFrame()
40 *frame++ = f0 + (phase * (f1 - f0)); in readFrame()
H A DMultiChannelResampler.h169 * Write a frame containing N samples.
171 * @param frame pointer to the first sample in a frame
173 void writeNextFrame(const float *frame) { in writeNextFrame() argument
174 writeFrame(frame); in writeNextFrame()
179 * Read a frame containing N samples.
181 * @param frame pointer to the first sample in a frame
183 void readNextFrame(float *frame) { in readNextFrame() argument
184 readFrame(frame); in readNextFrame()
[all...]
/third_party/libsnd/src/
H A Dflac.c79 const FLAC__Frame *frame ; member
128 static FLAC__StreamDecoderWriteStatus sf_flac_write_callback (const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const int32_t * const buffer [], void *client_data) ;
177 const FLAC__Frame *frame = pflac->frame ; in flac_buffer_copy() local
181 if (psf->sf.channels != (int) frame->header.channels) in flac_buffer_copy()
182 { psf_log_printf (psf, "Error: FLAC frame changed from %d to %d channels\n" in flac_buffer_copy()
184 psf->sf.channels, frame->header.channels) ; in flac_buffer_copy()
190 ** frame->header.blocksize is variable and we're using a constant blocksize in flac_buffer_copy()
194 if (frame->header.blocksize > FLAC__MAX_BLOCK_SIZE) in flac_buffer_copy()
195 { psf_log_printf (psf, "Ooops : frame in flac_buffer_copy()
397 sf_flac_write_callback (const FLAC__StreamDecoder * UNUSED (decoder), const FLAC__Frame *frame, const int32_t * const buffer [], void *client_data) global() variable
[all...]
/third_party/ffmpeg/tools/
H A Ddecode_simple.c33 #include "libavutil/frame.h"
42 ret = avcodec_receive_frame(dc->decoder, dc->frame); in decode_read()
53 ret = dc->process_frame(dc, dc->frame); in decode_read()
54 av_frame_unref(dc->frame); in decode_read()
112 av_frame_free(&dc->frame); in ds_free()
127 dc->frame = av_frame_alloc(); in ds_open()
128 if (!dc->pkt || !dc->frame) { in ds_open()

Completed in 13 milliseconds

1...<<11121314151617181920>>...61