Skip to content

Commit

Permalink
fix ?
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jan 16, 2024
1 parent 5b20a34 commit e71a163
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/gstreamer/gstlibcamerasrc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ struct GstLibcameraSrcState {
int processRequest();
};





// Dirty Consti10 begin
// lbcamera "image (tuning)" params
struct _GstLibcameraImageParams {
Expand All @@ -158,12 +154,12 @@ struct _GstLibcameraImageParams {
int shutter_microseconds=0;
int metering_index=0;
};
// rapha: apparently that's not used anymore

// Don't understand gstreamer and (default) initialization, quick workaround
// static void (_GstLibcameraImageParams& image_params){
// _GstLibcameraImageParams initialized{};
// image_params=initialized;
// }
static void initialize_image_params(_GstLibcameraImageParams& image_params){
_GstLibcameraImageParams initialized{};
image_params=initialized;
}
static void write_image_params(_GstLibcameraImageParams* image_params,ControlList& control_list){
GST_WARNING("Image params: rotation: %d, sharpness: %f, contrast: %f, brightness: %f, saturation:%f, ev %f, exposure_index:%d, awb_index:%d, denoise_index:%d\n",
image_params->rotation,image_params->sharpness,image_params->contrast,image_params->brightness,image_params->saturation,image_params->ev,
Expand Down

0 comments on commit e71a163

Please sign in to comment.