Home
last modified time | relevance | path

Searched refs:color_range (Results 1 – 11 of 11) sorted by relevance

/external/opencv3/samples/cpp/tutorial_code/HighGUI/GDAL_IO/
Dgdal-image.cpp30 std::vector<std::pair<cv::Vec3b,double> > color_range; variable
78 if( elevation < color_range[0].second ){ in get_dem_color()
79 return color_range[0].first; in get_dem_color()
82 if( elevation > color_range.back().second ){ in get_dem_color()
83 return color_range.back().first; in get_dem_color()
89 for( int x=0; x<(int)(color_range.size()-1); x++ ){ in get_dem_color()
93 if( elevation < color_range[x+1].second ){ in get_dem_color()
95 t = (color_range[x+1].second - elevation)/ in get_dem_color()
96 (color_range[x+1].second - color_range[x].second); in get_dem_color()
103 return lerp( color_range[idx].first, color_range[idx+1].first, t); in get_dem_color()
[all …]
/external/libvpx/libvpx/test/
Dvp9_encoder_parms_get_to_decoder.cc41 vpx_color_range_t color_range; member
79 encoder->Control(VP9E_SET_COLOR_RANGE, encode_parms.color_range); in PreEncodeFrameHook()
120 EXPECT_EQ(encode_parms.color_range, common->color_range); in HandleDecodeResult()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h40 img->range = yv12->color_range; in yuvconfig2image()
104 yv12->color_range = img->range; in image2yuvconfig()
Dvp9_cx_iface.c48 vpx_color_range_t color_range; member
330 RANGE_CHECK(extra_cfg, color_range, in validate_config()
476 oxcf->color_range = extra_cfg->color_range; in set_encoder_config()
1447 extra_cfg.color_range = CAST(VP9E_SET_COLOR_RANGE, args); in ctrl_set_color_range()
/external/libvpx/libvpx/vpx_scale/
Dyv12config.h59 vpx_color_range_t color_range; member
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c1263 pool->frame_bufs[cm->new_fb_idx].buf.color_range = cm->color_range; in setup_frame_size()
1347 pool->frame_bufs[cm->new_fb_idx].buf.color_range = cm->color_range; in setup_frame_size_with_refs()
1798 cm->color_range = (vpx_color_range_t)vpx_rb_read_bit(rb); in read_bitdepth_colorspace_sampling()
1812 cm->color_range = VPX_CR_FULL_RANGE; in read_bitdepth_colorspace_sampling()
1918 cm->color_range = VPX_CR_STUDIO_RANGE; in read_uncompressed_header()
1969 get_frame_new_buffer(cm)->color_range = cm->color_range; in read_uncompressed_header()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h115 vpx_color_range_t color_range; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h241 vpx_color_range_t color_range; member
Dvp9_encoder.c778 cm->color_range = oxcf->color_range; in init_config()
1466 cm->color_range = oxcf->color_range; in vp9_change_config()
3861 cm->frame_to_show->color_range = cm->color_range;
Dvp9_bitstream.c1062 vpx_wb_write_bit(wb, cm->color_range); in write_bitdepth_colorspace_sampling()
/external/opencv3/3rdparty/include/ffmpeg_/libavcodec/
Davcodec.h1855 enum AVColorRange color_range; member