Skip to content

Comments

Test#18371

Closed
nyh163925 wants to merge 3 commits intoapache:masterfrom
nyh163925:test
Closed

Test#18371
nyh163925 wants to merge 3 commits intoapache:masterfrom
nyh163925:test

Conversation

@nyh163925
Copy link

We extend V4L2 capabilities and V4L2_M2M functionality.

Summary

  • Added many V4L2 standard definitions
  • Expanded some driver ops content and enhanced framework level inspection capabilities.
  • Unified use of v4l2_buffer.vaddr field with driver to interact with actual memory address.
  • Add support for mplane and userptr memory.

Impact

  • The way the codec dirver interacts with m2m for data memory addresses has been changed from v4l2-buffer.userptr to v4l2-buffer-vaddr. We believe that changing the semantics in this way is more obvious.
  • All other changes are incremental functional modifications and will not introduce compatibility issues.

Testing

Tested in Simulator environment and passed

yangyalei and others added 3 commits February 9, 2026 11:24
Fix out-of-bounds access in v4l2 array handling.


Signed-off-by: yangyalei <yangyalei@xiaomi.com>
Return success when reqbuf count is zero.


Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
Fix a codec_file_s leak in v4l2_m2m.


Signed-off-by: niyinghao <niyinghao@xiaomi.com>
@nyh163925 nyh163925 closed this Feb 9, 2026
@github-actions github-actions bot added Area: Video Size: S The size of the change in this PR is small labels Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Video Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant