X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr_422interleaved_input.cpp;fp=ycbcr_422interleaved_input.cpp;h=6546c87bd1217d7de1d221b0dedc9f4abda18ee7;hp=c345f8d805ae83a69923c21f01ff601b616341a1;hb=f34b1c36acd27944f00885edfc55363432bfec8e;hpb=0ed2c7fe3876a49d1565e3425e5a491206ffe32d diff --git a/ycbcr_422interleaved_input.cpp b/ycbcr_422interleaved_input.cpp index c345f8d..6546c87 100644 --- a/ycbcr_422interleaved_input.cpp +++ b/ycbcr_422interleaved_input.cpp @@ -21,7 +21,7 @@ YCbCr422InterleavedInput::YCbCr422InterleavedInput(const ImageFormat &image_form ycbcr_format(ycbcr_format), width(width), height(height), - resource_pool(NULL) + resource_pool(nullptr) { pbo = 0; texture_num[0] = texture_num[1] = 0; @@ -35,7 +35,7 @@ YCbCr422InterleavedInput::YCbCr422InterleavedInput(const ImageFormat &image_form pitches[CHANNEL_LUMA] = width; pitches[CHANNEL_CHROMA] = width / ycbcr_format.chroma_subsampling_x; - pixel_data = NULL; + pixel_data = nullptr; register_uniform_sampler2d("tex_y", &uniform_tex_y); register_uniform_sampler2d("tex_cbcr", &uniform_tex_cbcr);