The Linux Kernel Logo
  • Development process
  • Submitting patches
  • Code of conduct
  • Maintainer handbook
  • All development-process docs
  • Core API
  • Driver APIs
  • Subsystems
  • Locking
  • Licensing rules
  • Writing documentation
  • Development tools
  • Testing guide
  • Hacking guide
  • Tracing
  • Fault injection
  • Livepatching
  • Rust
  • Administration
  • Build system
  • Reporting issues
  • Userspace tools
  • Userspace API
    • System calls
    • Security-related interfaces
    • Devices and I/O
      • OpenCAPI (Open Coherent Accelerator Processor Interface)
      • Allocating dma-buf using heaps
      • Exchanging pixel buffers
      • Firmware Control (FWCTL) Userspace API
      • GPIO
      • IOMMUFD
      • Linux Media Infrastructure userspace API
        • Introduction
        • Part I - Video for Linux API
          • 1. Common API Elements
            • 1.1. Opening and Closing Devices
            • 1.2. Querying Capabilities
            • 1.3. Application Priority
            • 1.4. Video Inputs and Outputs
            • 1.5. Audio Inputs and Outputs
            • 1.6. Tuners and Modulators
            • 1.7. Video Standards
            • 1.8. Digital Video (DV) Timings
            • 1.9. User Controls
            • 1.10. Extended Controls API
            • 1.11. Camera Control Reference
            • 1.12. Flash Control Reference
            • 1.13. Image Source Control Reference
            • 1.14. Image Process Control Reference
            • 1.15. Codec Control Reference
            • 1.16. Stateless Codec Control Reference
            • 1.17. JPEG Control Reference
            • 1.18. Digital Video Control Reference
            • 1.19. RF Tuner Control Reference
            • 1.20. FM Transmitter Control Reference
            • 1.21. FM Receiver Control Reference
            • 1.22. Detect Control Reference
            • 1.23. Colorimetry Control Reference
            • 1.24. Guidelines for Video4Linux pixel format 4CCs
            • 1.25. Data Formats
            • 1.26. Single- and multi-planar APIs
            • 1.27. Cropping, composing and scaling -- the SELECTION API
              • 1.27.1. Introduction
              • 1.27.2. Selection targets
              • 1.27.3. Configuration
              • 1.27.4. Comparison with old cropping API
              • 1.27.5. Examples
            • 1.28. Image Cropping, Insertion and Scaling -- the CROP API
            • 1.29. Streaming Parameters
          • 2. Image Formats
          • 3. Input/Output
          • 4. Interfaces
          • 5. Libv4l Userspace Library
          • 6. Changes
          • 7. Function Reference
          • 8. Common definitions for V4L2 and V4L2 subdev interfaces
          • 9. Video For Linux Two Header File
          • 10. Video Capture Example
          • 11. Video Grabber example using libv4l
          • 12. References
          • Revision and Copyright
          • Revision History
        • Part II - Digital TV API
        • Part III - Remote Controller API
        • Part IV - Media Controller API
        • Part V - Consumer Electronics Control API
        • Generic Error Codes
        • Glossary
        • GNU Free Documentation License
        • Video4Linux (V4L) driver-specific documentation
      • Dell Systems Management Base Driver
      • VDUSE - “vDPA Device in Userspace”
      • ISA Plug & Play support
    • Everything else
  • Firmware
  • Firmware and Devicetree
  • CPU architectures
  • Unsorted documentation
  • Translations
The Linux Kernel
  • The Linux kernel user-space API guide
  • Linux Media Infrastructure userspace API
  • Part I - Video for Linux API
  • 1. Common API Elements
  • 1.27. Cropping, composing and scaling -- the SELECTION API
  • View page source

1.27. Cropping, composing and scaling -- the SELECTION API¶

  • 1.27.1. Introduction
  • 1.27.2. Selection targets
  • 1.27.3. Configuration
  • 1.27.4. Comparison with old cropping API
  • 1.27.5. Examples
Previous Next

© Copyright The kernel development community.

Built with Sphinx using a theme provided by Read the Docs.