Home
last modified time | relevance | path

Searched refs:pict (Results 1 - 25 of 43) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Dpngenc.c391 static int encode_headers(AVCodecContext *avctx, const AVFrame *pict) in encode_headers() argument
420 side_data = av_frame_get_side_data(pict, AV_FRAME_DATA_STEREO3D); in encode_headers()
437 if (pict->color_primaries == AVCOL_PRI_BT709 && in encode_headers()
438 pict->color_trc == AVCOL_TRC_IEC61966_2_1) { in encode_headers()
443 if (png_get_chrm(pict->color_primaries, s->buf)) in encode_headers()
445 if (png_get_gama(pict->color_trc, s->buf)) in encode_headers()
448 side_data = av_frame_get_side_data(pict, AV_FRAME_DATA_ICC_PROFILE); in encode_headers()
459 palette = (uint32_t *)pict->data[1]; in encode_headers()
482 static int encode_frame(AVCodecContext *avctx, const AVFrame *pict) in encode_frame() argument
486 const AVFrame *const p = pict; in encode_frame()
576 add_icc_profile_size(AVCodecContext *avctx, const AVFrame *pict, uint64_t *max_packet_size) add_icc_profile_size() argument
604 encode_png(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) encode_png() argument
793 apng_encode_frame(AVCodecContext *avctx, const AVFrame *pict, APNGFctlChunk *best_fctl_chunk, APNGFctlChunk *best_last_fctl_chunk) apng_encode_frame() argument
922 encode_apng(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) encode_apng() argument
[all...]
H A Dasvenc.c213 const AVFrame *pict, int *got_packet) in encode_frame()
219 if (pict->width % 16 || pict->height % 16) { in encode_frame()
225 clone->format = pict->format; in encode_frame()
226 clone->width = FFALIGN(pict->width, 16); in encode_frame()
227 clone->height = FFALIGN(pict->height, 16); in encode_frame()
234 ret = av_frame_copy(clone, pict); in encode_frame()
242 int w = AV_CEIL_RSHIFT(pict->width, !!i); in encode_frame()
243 int h = AV_CEIL_RSHIFT(pict->height, !!i); in encode_frame()
269 dct_get(a, pict, mb_ in encode_frame()
212 encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) encode_frame() argument
[all...]
H A Dh263dec.c428 int ff_h263_decode_frame(AVCodecContext *avctx, AVFrame *pict, in ff_h263_decode_frame() argument
441 if ((ret = av_frame_ref(pict, s->next_picture_ptr->f)) < 0) in ff_h263_decode_frame()
696 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in ff_h263_decode_frame()
698 ff_print_debug_info(s, s->current_picture_ptr, pict); in ff_h263_decode_frame()
699 ff_mpv_export_qp_table(s, pict, s->current_picture_ptr, FF_MPV_QSCALE_TYPE_MPEG1); in ff_h263_decode_frame()
701 if ((ret = av_frame_ref(pict, s->last_picture_ptr->f)) < 0) in ff_h263_decode_frame()
703 ff_print_debug_info(s, s->last_picture_ptr, pict); in ff_h263_decode_frame()
704 ff_mpv_export_qp_table(s, pict, s->last_picture_ptr, FF_MPV_QSCALE_TYPE_MPEG1); in ff_h263_decode_frame()
708 if ( pict->format == AV_PIX_FMT_YUV420P in ff_h263_decode_frame()
711 int h = AV_CEIL_RSHIFT(pict in ff_h263_decode_frame()
[all...]
H A Dqoienc.c29 const AVFrame *pict, int *got_packet) in qoi_encode_frame()
44 src = pict->data[0]; in qoi_encode_frame()
113 src += pict->linesize[0]; in qoi_encode_frame()
28 qoi_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) qoi_encode_frame() argument
H A Dfitsenc.c39 const AVFrame *pict, int *got_packet) in fits_encode_frame()
41 AVFrame * const p = (AVFrame *)pict; in fits_encode_frame()
38 fits_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) fits_encode_frame() argument
H A Drpzaenc.c550 static void rpza_encode_stream(RpzaContext *s, const AVFrame *pict) in rpza_encode_stream() argument
567 uint16_t *src_pixels = (uint16_t *)pict->data[0]; in rpza_encode_stream()
575 bi.rowstride = pict->linesize[0] / 2; in rpza_encode_stream()
789 const AVFrame *pict = frame; in rpza_encode_frame() local
803 s->prev_frame->format = pict->format; in rpza_encode_frame()
804 s->prev_frame->width = pict->width; in rpza_encode_frame()
805 s->prev_frame->height = pict->height; in rpza_encode_frame()
813 rpza_encode_stream(s, pict); in rpza_encode_frame()
H A Dljpegenc.c215 const AVFrame *pict, int *got_packet) in ljpeg_encode_frame()
236 if ((ret = ff_mjpeg_add_icc_profile_size(avctx, pict, &max_pkt_size)) < 0) in ljpeg_encode_frame()
243 ff_mjpeg_encode_picture_header(avctx, &pb, pict, NULL, &s->scantable, in ljpeg_encode_frame()
251 ret = ljpeg_encode_bgr(avctx, &pb, pict); in ljpeg_encode_frame()
253 ret = ljpeg_encode_yuv(avctx, &pb, pict); in ljpeg_encode_frame()
214 ljpeg_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) ljpeg_encode_frame() argument
H A Drv10.c596 static int rv10_decode_frame(AVCodecContext *avctx, AVFrame *pict, in rv10_decode_frame() argument
662 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in rv10_decode_frame()
664 ff_print_debug_info(s, s->current_picture_ptr, pict); in rv10_decode_frame()
665 ff_mpv_export_qp_table(s, pict, s->current_picture_ptr, FF_MPV_QSCALE_TYPE_MPEG1); in rv10_decode_frame()
667 if ((ret = av_frame_ref(pict, s->last_picture_ptr->f)) < 0) in rv10_decode_frame()
669 ff_print_debug_info(s, s->last_picture_ptr, pict); in rv10_decode_frame()
670 ff_mpv_export_qp_table(s, pict,s->last_picture_ptr, FF_MPV_QSCALE_TYPE_MPEG1); in rv10_decode_frame()
H A Dmpegutils.c103 void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, uint8_t *mbskip_table, in ff_print_debug_info2() argument
179 sd = av_frame_new_side_data(pict, AV_FRAME_DATA_MOTION_VECTORS, mbcount * sizeof(AVMotionVector)); in ff_print_debug_info2()
199 av_get_picture_type_char(pict->pict_type)); in ff_print_debug_info2()
H A Dqtrleenc.c368 const AVFrame *pict, int *got_packet) in qtrle_encode_frame()
385 pkt->size = encode_frame(s, pict, pkt->data); in qtrle_encode_frame()
389 ret = av_frame_ref(s->previous_frame, pict); in qtrle_encode_frame()
367 qtrle_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) qtrle_encode_frame() argument
H A Dbmpenc.c67 const AVFrame *pict, int *got_packet) in bmp_encode_frame()
69 const AVFrame * const p = pict; in bmp_encode_frame()
66 bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) bmp_encode_frame() argument
H A Dgif.c477 const AVFrame *pict, int *got_packet) in gif_encode_frame()
490 palette = (uint32_t*)pict->data[1]; in gif_encode_frame()
502 pict->data[0], pict->linesize[0], pkt); in gif_encode_frame()
511 ret = av_frame_ref(s->last_frame, (AVFrame*)pict); in gif_encode_frame()
476 gif_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) gif_encode_frame() argument
H A Dproresenc_anatoliy.c722 const AVFrame *pict, int *got_packet) in prores_encode_frame()
750 if (pict->top_field_first || !pict->interlaced_frame) { /* tff frame or progressive frame interpret as tff */ in prores_encode_frame()
764 *buf++ = ff_int_from_list_or_default(avctx, "frame color primaries", pict->color_primaries, valid_primaries, 0); in prores_encode_frame()
765 *buf++ = ff_int_from_list_or_default(avctx, "frame color trc", pict->color_trc, valid_trc, 0); in prores_encode_frame()
766 *buf++ = ff_int_from_list_or_default(avctx, "frame colorspace", pict->colorspace, valid_colorspace, 0); in prores_encode_frame()
782 pic_size = prores_encode_picture(avctx, pict, buf, in prores_encode_frame()
790 pic_size = prores_encode_picture(avctx, pict, pkt->data + compress_frame_size, in prores_encode_frame()
721 prores_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) prores_encode_frame() argument
H A Dsnowenc.c1486 static int ratecontrol_1pass(SnowContext *s, AVFrame *pict) in ratecontrol_1pass() argument
1521 if(pict->pict_type == AV_PICTURE_TYPE_I){ in ratecontrol_1pass()
1529 pict->quality= ff_rate_estimate_qscale(&s->m, 1); in ratecontrol_1pass()
1530 if (pict->quality < 0) in ratecontrol_1pass()
1532 s->lambda= pict->quality * 3/2; in ratecontrol_1pass()
1533 delta_qlog= qscale2qlog(pict->quality) - s->qlog; in ratecontrol_1pass()
1569 const AVFrame *pict, int *got_packet) in encode_frame()
1591 &pict->data[i][y * pict->linesize[i]], in encode_frame()
1601 pic->pict_type = pict in encode_frame()
1568 encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) encode_frame() argument
[all...]
H A Dflashsvenc.c203 const AVFrame *pict, int *got_packet) in flashsv_encode_frame()
206 const AVFrame * const p = pict; in flashsv_encode_frame()
202 flashsv_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) flashsv_encode_frame() argument
H A Dxwdenc.c34 const AVFrame *pict, int *got_packet) in xwd_encode_frame()
43 AVFrame * const p = (AVFrame *)pict; in xwd_encode_frame()
33 xwd_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) xwd_encode_frame() argument
H A Dmpegvideodec.h61 void ff_print_debug_info(MpegEncContext *s, Picture *p, AVFrame *pict);
H A Dsvq1enc.c583 const AVFrame *pict, int *got_packet) in svq1_encode_frame()
622 s->quality = pict->quality; in svq1_encode_frame()
624 ff_side_data_set_encoder_stats(pkt, pict->quality, NULL, 0, s->pict_type); in svq1_encode_frame()
629 pict->data[i], in svq1_encode_frame()
634 pict->linesize[i], in svq1_encode_frame()
582 svq1_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) svq1_encode_frame() argument
H A Dintrax8.h104 * @param pict the output Picture containing an AVFrame
112 int ff_intrax8_decode_picture(IntraX8Context *w, Picture *pict,
H A Dmsvideo1enc.c68 const AVFrame *pict, int *got_packet) in encode_frame()
71 const AVFrame *p = pict; in encode_frame()
67 encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) encode_frame() argument
/third_party/skia/gm/
H A Ddistantclip.cpp43 sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture());
46 pict->playback(recorder.beginRecording(pict->cullRect().width(),
47 pict->cullRect().height()));
/third_party/backends/backend/
H A Dv4l.c226 switch (s->pict.palette) in update_parameters()
389 s->val[OPT_BRIGHTNESS].w = s->pict.brightness / 256; in init_options()
398 s->val[OPT_HUE].w = s->pict.hue / 256; in init_options()
407 s->val[OPT_COLOR].w = s->pict.colour / 256; in init_options()
416 s->val[OPT_CONTRAST].w = s->pict.contrast / 256; in init_options()
425 s->val[OPT_WHITE_LEVEL].w = s->pict.whiteness / 256; in init_options()
626 if (-1 == v4l1_ioctl (v4lfd, VIDIOCGPICT, &s->pict)) in sane_open()
633 s->pict.brightness, s->pict.hue, s->pict in sane_open()
[all...]
H A Dv4l.h94 struct video_picture pict; member
/third_party/ffmpeg/doc/examples/
H A Dmuxing.c454 static void fill_yuv_image(AVFrame *pict, int frame_index, in fill_yuv_image() argument
464 pict->data[0][y * pict->linesize[0] + x] = x + y + i * 3; in fill_yuv_image()
469 pict->data[1][y * pict->linesize[1] + x] = 128 + y + i * 2; in fill_yuv_image()
470 pict->data[2][y * pict->linesize[2] + x] = 64 + x + i * 5; in fill_yuv_image()
/third_party/ffmpeg/libavformat/
H A Doggparsevorbis.c121 uint8_t *pict = av_malloc(len + AV_INPUT_BUFFER_PADDING_SIZE); in vorbis_parse_single_comment() local
123 if (!pict) { in vorbis_parse_single_comment()
127 ret = av_base64_decode(pict, v, len); in vorbis_parse_single_comment()
129 ret = ff_flac_parse_picture(as, &pict, ret, 0); in vorbis_parse_single_comment()
130 av_freep(&pict); in vorbis_parse_single_comment()

Completed in 21 milliseconds

12