/external/libvpx/libvpx/vp9/common/ |
vp9_scale.h | 25 struct scale_factors { struct 31 int (*scale_value_x)(int val, const struct scale_factors *sf); 32 int (*scale_value_y)(int val, const struct scale_factors *sf); 37 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf); 39 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf, 43 static INLINE int vp9_is_valid_scale(const struct scale_factors *sf) { 48 static INLINE int vp9_is_scaled(const struct scale_factors *sf) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_scale.h | 25 struct scale_factors { struct 31 int (*scale_value_x)(int val, const struct scale_factors *sf); 32 int (*scale_value_y)(int val, const struct scale_factors *sf); 37 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf); 39 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf, 43 static INLINE int vp9_is_valid_scale(const struct scale_factors *sf) { 48 static INLINE int vp9_is_scaled(const struct scale_factors *sf) {
|
/external/openssh/openbsd-compat/ |
fmt_scaled.c | 59 static long long scale_factors[] = { variable 162 scale_fact = scale_factors[i]; 204 if (abval < 0 || abval / 1024 >= scale_factors[SCALE_LENGTH-1]) { 211 if (abval/1024 < scale_factors[i]) { 213 fract = (i == 0) ? 0 : abval % scale_factors[i]; 214 number /= scale_factors[i]; 216 fract /= scale_factors[i - 1];
|
/external/libvpx/libvpx/vpx/src/ |
svc_encodeframe.c | 64 char scale_factors[OPTION_BUFFER_SIZE]; // set by vpx_svc_set_scale_factors member in struct:SvcInternal 302 const char *scale_factors) { 313 if (scale_factors == NULL || strlen(scale_factors) == 0) { 316 input_string = strdup(scale_factors); 429 const char *scale_factors) { 431 if (svc_ctx == NULL || scale_factors == NULL || si == NULL) { 434 strncpy(si->scale_factors, scale_factors, sizeof(si->scale_factors)); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
svc_encodeframe.c | 55 char scale_factors[OPTION_BUFFER_SIZE]; // set by vpx_svc_set_scale_factors member in struct:SvcInternal 342 const char *scale_factors) { 353 if (scale_factors == NULL || strlen(scale_factors) == 0) { 356 input_string = strdup(scale_factors); 485 const char *scale_factors) { 487 if (svc_ctx == NULL || scale_factors == NULL || si == NULL) { 490 strncpy(si->scale_factors, scale_factors, sizeof(si->scale_factors)); [all...] |