{"heckbert","dithering as defined by Paul Heckbert in 1982 (simple error diffusion)",0,AV_OPT_TYPE_CONST,{.i64=DITHERING_HECKBERT},INT_MIN,INT_MAX,FLAGS,"dithering_mode"},
{"floyd_steinberg","Floyd and Steingberg dithering (error diffusion)",0,AV_OPT_TYPE_CONST,{.i64=DITHERING_FLOYD_STEINBERG},INT_MIN,INT_MAX,FLAGS,"dithering_mode"},
{"sierra2","Frankie Sierra dithering v2 (error diffusion)",0,AV_OPT_TYPE_CONST,{.i64=DITHERING_SIERRA2},INT_MIN,INT_MAX,FLAGS,"dithering_mode"},
{"sierra2_4a","Frankie Sierra dithering v2 \"Lite\" (error diffusion)",0,AV_OPT_TYPE_CONST,{.i64=DITHERING_SIERRA2_4A},INT_MIN,INT_MAX,FLAGS,"dithering_mode"},
{"bayer_scale","set scale for bayer dithering",OFFSET(bayer_scale),AV_OPT_TYPE_INT,{.i64=2},0,5,FLAGS},
/* following are the debug options, not part of the official API */
{"debug_kdtree","save Graphviz graph of the kdtree in specified file",OFFSET(dot_filename),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,FLAGS},
{"color_search","set reverse colormap color search method",OFFSET(color_search_method),AV_OPT_TYPE_INT,{.i64=COLOR_SEARCH_NNS_ITERATIVE},0,NB_COLOR_SEARCHES-1,FLAGS,"search"},