Home
last modified time | relevance | path

Searched refs:motion_val_buf (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_picture.c52 av_buffer_unref(&pic->motion_val_buf[i]); in ff_h264_unref_picture()
120 dst->motion_val_buf[i] = av_buffer_ref(src->motion_val_buf[i]); in ff_h264_ref_picture()
122 if (!dst->motion_val_buf[i] || !dst->ref_index_buf[i]) { in ff_h264_ref_picture()
176 ret = av_buffer_replace(&dst->motion_val_buf[i], src->motion_val_buf[i]); in ff_h264_replace_picture()
Dmpegpicture.c48 av_buffer_unref(&pic->motion_val_buf[i]); in free_picture_tables()
71 MAKE_WRITABLE(motion_val_buf[i]); in make_tables_writable()
235 pic->motion_val_buf[i] = av_buffer_allocz(mv_size); in alloc_picture_tables()
237 if (!pic->motion_val_buf[i] || !pic->ref_index_buf[i]) in alloc_picture_tables()
298 if (pic->motion_val_buf[0]) { in ff_alloc_picture()
300 pic->motion_val[i] = (int16_t (*)[2])pic->motion_val_buf[i]->data + 4; in ff_alloc_picture()
350 ret |= av_buffer_replace(&dst->motion_val_buf[i], src->motion_val_buf[i]); in ff_update_picture_tables()
Derror_resilience.h79 AVBufferRef *motion_val_buf[2]; member
Dmpegpicture.h53 AVBufferRef *motion_val_buf[2]; member
Dsvq3.c78 int16_t (*motion_val_buf[2])[2]; member
1322 av_freep(&pic->motion_val_buf[i]); in free_picture()
1337 if (!pic->motion_val_buf[0]) { in get_buffer()
1346 pic->motion_val_buf[i] = av_calloc(b4_array_size + 4, 2 * sizeof(int16_t)); in get_buffer()
1347 if (!pic->motion_val_buf[i]) { in get_buffer()
1352 pic->motion_val[i] = pic->motion_val_buf[i] + 4; in get_buffer()
Derror_resilience.c950 s->motion_val_buf[i] = av_buffer_allocz((size + 4) * 2 * sizeof(uint16_t)); in ff_er_frame_end()
951 if (!s->ref_index_buf[i] || !s->motion_val_buf[i]) in ff_er_frame_end()
954 s->cur_pic.motion_val[i] = (int16_t (*)[2])s->motion_val_buf[i]->data + 4; in ff_er_frame_end()
959 av_buffer_unref(&s->motion_val_buf[i]); in ff_er_frame_end()
1347 av_buffer_unref(&s->motion_val_buf[i]); in ff_er_frame_end()
Dh264dec.h116 AVBufferRef *motion_val_buf[2]; member
Dh264_slice.c249 pic->motion_val_buf[i] = av_buffer_pool_get(h->motion_val_pool); in alloc_picture()
251 if (!pic->motion_val_buf[i] || !pic->ref_index_buf[i]) in alloc_picture()
254 pic->motion_val[i] = (int16_t (*)[2])pic->motion_val_buf[i]->data + 4; in alloc_picture()