diff options
author | wm4 <wm4@nowhere> | 2014-05-25 16:01:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-25 16:01:33 +0200 |
commit | ba1447822cb46944a2de960a8f2523a92f19f749 (patch) | |
tree | 02abb1578306d9b00fc768d03bf50aba35dac417 | |
parent | 0304c4f92de185cc5c0a9138c67fab89baf425d3 (diff) |
vf_vdpaupp: cosmetics: rename function
-rw-r--r-- | video/filter/vf_vdpaupp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/video/filter/vf_vdpaupp.c b/video/filter/vf_vdpaupp.c index 5fede55786..e0349c0c21 100644 --- a/video/filter/vf_vdpaupp.c +++ b/video/filter/vf_vdpaupp.c @@ -64,7 +64,7 @@ static void forget_frames(struct vf_instance *vf) #define FIELD_VALID(p, f) ((f) >= 0 && (f) < (p)->num_buffered * 2) -static VdpVideoSurface ref_frame(struct vf_priv_s *p, +static VdpVideoSurface ref_field(struct vf_priv_s *p, struct mp_vdpau_mixer_frame *frame, int pos) { if (!FIELD_VALID(p, pos)) @@ -96,10 +96,10 @@ static bool output_field(struct vf_instance *vf, int pos) VDP_VIDEO_MIXER_PICTURE_STRUCTURE_TOP_FIELD; } - frame->future[0] = ref_frame(p, frame, pos - 1); - frame->current = ref_frame(p, frame, pos); - frame->past[0] = ref_frame(p, frame, pos + 1); - frame->past[1] = ref_frame(p, frame, pos + 2); + frame->future[0] = ref_field(p, frame, pos - 1); + frame->current = ref_field(p, frame, pos); + frame->past[0] = ref_field(p, frame, pos + 1); + frame->past[1] = ref_field(p, frame, pos + 2); frame->opts = p->opts; |