• Home
  • Raw
  • Download

Lines Matching refs:picture_ptr

122     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()
733 s->linesize[i] = s->picture_ptr->linesize[i] << s->interlaced; in ff_mjpeg_decode_sof()
1107 uint8_t *ptr = s->picture_ptr->data[0] + (linesize * mb_y); in ljpeg_decode_rgb_scan()
1283 …ptr = s->picture_ptr->data[c] + (linesize * (v * mb_y + y)) + (h * mb_x + x); //FIXME optimize thi… in ljpeg_decode_yuv_scan()
1303 …ptr16 = (uint16_t*)(s->picture_ptr->data[c] + 2*(linesize * (v * mb_y + y)) + 2*(h * mb_x + x)); /… in ljpeg_decode_yuv_scan()
1354 ptr = s->picture_ptr->data[c] + in ljpeg_decode_yuv_scan()
1362 …ptr16 = (uint16_t*)(s->picture_ptr->data[c] + 2*(linesize * (v * mb_y + y)) + 2*(h * mb_x + x)); /… in ljpeg_decode_yuv_scan()
1445 data[c] = s->picture_ptr->data[c]; in mjpeg_decode_scan()
1600 uint8_t *data = s->picture_ptr->data[c]; in mjpeg_idct_scan_progressive_ac()
1642 if (reference->width != s->picture_ptr->width || in ff_mjpeg_decode_sos()
1643 reference->height != s->picture_ptr->height || in ff_mjpeg_decode_sos()
1644 reference->format != s->picture_ptr->format) { in ff_mjpeg_decode_sos()
1749 av_assert0(s->picture_ptr == s->picture); in ff_mjpeg_decode_sos()
1770 av_assert0(s->picture_ptr == s->picture); in ff_mjpeg_decode_sos()
2577 if ((ret = av_frame_ref(frame, s->picture_ptr)) < 0) in ff_mjpeg_receive_frame()
2664 av_assert0(s->nb_components == av_pix_fmt_count_planes(s->picture_ptr->format)); in ff_mjpeg_receive_frame()
2666 uint8_t *line = s->picture_ptr->data[p]; in ff_mjpeg_receive_frame()
2726 av_assert0(s->nb_components == av_pix_fmt_count_planes(s->picture_ptr->format)); in ff_mjpeg_receive_frame()
2737 dst = &((uint8_t *)s->picture_ptr->data[p])[(h - 1) * s->linesize[p]]; in ff_mjpeg_receive_frame()
2739 …uint8_t *src1 = &((uint8_t *)s->picture_ptr->data[p])[i * s->upscale_v[p] / (s->upscale_v[p] + 1) … in ff_mjpeg_receive_frame()
2740 …uint8_t *src2 = &((uint8_t *)s->picture_ptr->data[p])[(i + 1) * s->upscale_v[p] / (s->upscale_v[p]… in ff_mjpeg_receive_frame()
2757 av_assert0(s->nb_components == av_pix_fmt_count_planes(s->picture_ptr->format)); in ff_mjpeg_receive_frame()
2759 uint8_t *dst = s->picture_ptr->data[index]; in ff_mjpeg_receive_frame()
2760 int w = s->picture_ptr->width; in ff_mjpeg_receive_frame()
2761 int h = s->picture_ptr->height; in ff_mjpeg_receive_frame()
2767 uint8_t *dst2 = dst + s->picture_ptr->linesize[index]*(h-1); in ff_mjpeg_receive_frame()
2771 dst += s->picture_ptr->linesize[index]; in ff_mjpeg_receive_frame()
2772 dst2 -= s->picture_ptr->linesize[index]; in ff_mjpeg_receive_frame()
2778 int w = s->picture_ptr->width; in ff_mjpeg_receive_frame()
2779 int h = s->picture_ptr->height; in ff_mjpeg_receive_frame()
2785 dst[index] = s->picture_ptr->data[index] in ff_mjpeg_receive_frame()
2786 + s->picture_ptr->linesize[index]*i; in ff_mjpeg_receive_frame()
2801 int w = s->picture_ptr->width; in ff_mjpeg_receive_frame()
2802 int h = s->picture_ptr->height; in ff_mjpeg_receive_frame()
2808 dst[index] = s->picture_ptr->data[index] in ff_mjpeg_receive_frame()
2809 + s->picture_ptr->linesize[index]*i; in ff_mjpeg_receive_frame()
2895 s->picture_ptr = NULL; in ff_mjpeg_decode_end()
2896 } else if (s->picture_ptr) in ff_mjpeg_decode_end()
2897 av_frame_unref(s->picture_ptr); in ff_mjpeg_decode_end()