X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr.h;h=207be4e98a81963aae12a86f18ff9aa8e5a9000a;hp=1c55c3976f579255f0c8115fee16f9fb14d8d64f;hb=a2e7b432626b8a2c54cb1ff9d09203f50227fc07;hpb=f44c81569a268efea44f1f6df03a000711b18ffc diff --git a/ycbcr.h b/ycbcr.h index 1c55c39..207be4e 100644 --- a/ycbcr.h +++ b/ycbcr.h @@ -82,7 +82,7 @@ float compute_chroma_offset(float pos, unsigned subsampling_factor, unsigned res // we support storing it in 16-bit formats, which incurs extra scaling factors. // You can get that scaling factor in if you want. void compute_ycbcr_matrix(YCbCrFormat ycbcr_format, float *offset, Eigen::Matrix3d *ycbcr_to_rgb, - GLenum type = GL_UNSIGNED_BYTE, double *scale_factor = NULL); + GLenum type = GL_UNSIGNED_BYTE, double *scale_factor = nullptr); } // namespace movit