Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for y411 format. #8871

Closed
wants to merge 297 commits into from
Closed

Conversation

aangerma
Copy link
Contributor

No description provided.

@maloel maloel changed the title Added support for I411 format. Support for Y411 format Apr 21, 2021
// Y is luminance and U,V are chrome
// each U,V are duplicated for 4 pixels
//
// [L1-Y3] [L1-Y2] [V1] [L0-Y3] [L0-Y2] [U1] [L1-Y1] [L1-Y0] [V0] [L0-Y1] [L0-Y0] [U0]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really clear... let's talk

@aangerma aangerma changed the title Support for Y411 format Added support for y411 format. Apr 21, 2021
@aangerma aangerma force-pushed the y411 branch 2 times, most recently from ef91b9a to 6539dba Compare April 27, 2021 10:58
src/l500/l500-color.cpp Outdated Show resolved Hide resolved
…ion-sku-limitation

firmware compatibility to device checking
src/sensor.cpp Outdated
@@ -347,14 +347,28 @@ namespace librealsense
int width = vsp ? vsp->get_width() : 0;
int height = vsp ? vsp->get_height() : 0;

frame_holder fh = _source.alloc_frame(stream_to_frame_types(req_profile_base->get_stream_type()), width * height * bpp / 8, fr->additional_data, requires_processing);
frame_holder fh = _source.alloc_frame(stream_to_frame_types(req_profile_base->get_stream_type()), width * height * (float)bpp / 8.f, fr->additional_data, requires_processing);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.