Home
last modified time | relevance | path

Searched refs:picture_ptr (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmxpegdec.c51 jpg->picture_ptr = NULL; in mxpeg_decode_end()
73 s->jpg.picture_ptr = s->picture[0]; in mxpeg_decode_init()
170 if ( (!reference_ptr->data[i] ^ !jpg->picture_ptr->data[i]) || in mxpeg_check_dimensions()
171 reference_ptr->linesize[i] != jpg->picture_ptr->linesize[i]) { in mxpeg_check_dimensions()
284 av_frame_unref(jpg->picture_ptr); in mxpeg_decode_frame()
285 if ((ret = ff_get_buffer(avctx, jpg->picture_ptr, in mxpeg_decode_frame()
288 jpg->picture_ptr->pict_type = AV_PICTURE_TYPE_P; in mxpeg_decode_frame()
289 jpg->picture_ptr->key_frame = 0; in mxpeg_decode_frame()
292 jpg->picture_ptr->pict_type = AV_PICTURE_TYPE_I; in mxpeg_decode_frame()
293 jpg->picture_ptr->key_frame = 1; in mxpeg_decode_frame()
[all …]
Djpeglsdec.c112 … (s->picture_ptr->format == AV_PIX_FMT_GRAY8 || s->picture_ptr->format == AV_PIX_FMT_PAL8)) { in ff_jpegls_decode_lse()
113 uint32_t *pal = (uint32_t *)s->picture_ptr->data[1]; in ff_jpegls_decode_lse()
121 s->picture_ptr->format = in ff_jpegls_decode_lse()
357 zero = av_mallocz(s->picture_ptr->linesize[0]); in ff_jpegls_decode_picture()
361 cur = s->picture_ptr->data[0]; in ff_jpegls_decode_picture()
424 cur += s->picture_ptr->linesize[0]; in ff_jpegls_decode_picture()
436 memset(cur, 0, s->picture_ptr->linesize[0]); in ff_jpegls_decode_picture()
455 cur += s->picture_ptr->linesize[0]; in ff_jpegls_decode_picture()
474 uint8_t *src = s->picture_ptr->data[0]; in ff_jpegls_decode_picture()
509 src += s->picture_ptr->linesize[0]; in ff_jpegls_decode_picture()
[all …]
Dmjpegdec.c122 if (!s->picture_ptr) { in ff_mjpeg_decode_init()
126 s->picture_ptr = s->picture; in ff_mjpeg_decode_init()
441 s->picture_ptr->interlaced_frame = 1; in ff_mjpeg_decode_sof()
442 s->picture_ptr->top_field_first = !s->interlace_polarity; in ff_mjpeg_decode_sof()
719 s->picture_ptr->pict_type = AV_PICTURE_TYPE_I; in ff_mjpeg_decode_sof()
720 s->picture_ptr->key_frame = 1; in ff_mjpeg_decode_sof()
725 av_frame_unref(s->picture_ptr); in ff_mjpeg_decode_sof()
726 if (ff_get_buffer(s->avctx, s->picture_ptr, AV_GET_BUFFER_FLAG_REF) < 0) in ff_mjpeg_decode_sof()
728 s->picture_ptr->pict_type = AV_PICTURE_TYPE_I; in ff_mjpeg_decode_sof()
729 s->picture_ptr->key_frame = 1; in ff_mjpeg_decode_sof()
[all …]
Dmjpegdec.h109 AVFrame *picture_ptr; /* pointer to picture structure */ member
Dvaapi_mjpeg.c35 pic->output_surface = ff_vaapi_get_surface_id(s->picture_ptr); in vaapi_mjpeg_start_frame()
Dmjpegbdec.c147 if ((ret = av_frame_ref(data, s->picture_ptr)) < 0) in mjpegb_decode_frame()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgstmpeg2picture.c323 GstMpeg2Picture **picture_ptr; in gst_mpeg2_dpb_get_neighbours() local
338 picture_ptr = &ref_pictures[index]; in gst_mpeg2_dpb_get_neighbours()
339 if (!*picture_ptr || in gst_mpeg2_dpb_get_neighbours()
340 ((*picture_ptr)->pic_order_cnt > ref_picture->pic_order_cnt) == index) in gst_mpeg2_dpb_get_neighbours()
341 *picture_ptr = ref_picture; in gst_mpeg2_dpb_get_neighbours()