v4l2object: rename crop function to reflect its usage
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Thu, 30 Sep 2021 08:56:56 +0000 (17:56 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 11 Mar 2022 15:02:08 +0000 (15:02 +0000)
commit25f240993c4aff7f97c377bb14fe904a3539ce61
tree29aad549a6a81a4c2469e0989a99672705153545
parent90426f57518dfa391b4a591592b719a493651973
v4l2object: rename crop function to reflect its usage

The gst_v4l2_object_set_crop() is used for removing buffer
alignment padding. Give it a name that better reflects
that usage.  This helps to distinguish from cropping of the
input image (e.g. cropping at the image sensor on a captre
device), which can be  unrelated to the memory buffer padding,
especially if scaling is involved.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1089>
subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c
subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h
subprojects/gst-plugins-good/sys/v4l2/gstv4l2transform.c