Home
last modified time | relevance | path

Searched refs:orientation (Results 1 - 25 of 75) sorted by relevance

123

/third_party/ffmpeg/libavcodec/tests/
H A Dsnowenc.c84 int level, orientation, x, y; in main() local
92 for(orientation=level ? 1 : 0; orientation<4; orientation++){ in main()
99 if(orientation&1) buf+=w; in main()
100 if(orientation>1) buf+=stride>>1; in main()
114 errors[level][orientation]= error; in main()
122 for(orientation=0; orientation<4; orientation in main()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvc2enc.c446 int level, orientation; in init_quant_matrix() local
463 for (orientation = 0; orientation < 4; orientation++) { in init_quant_matrix()
465 s->quant[level][orientation] = ff_dirac_default_qmat[s->wavelet_idx][level][orientation]; in init_quant_matrix()
467 s->quant[level][orientation] = vc2_qm_col_tab[level][orientation]; in init_quant_matrix()
472 for (orientation = 0; orientation < in init_quant_matrix()
559 int bits = 0, p, level, orientation; count_hq_slice() local
733 int p, level, orientation; encode_hq_slice() local
[all...]
H A Dsnow.c101 int plane_index, level, orientation; in ff_snow_reset_contexts() local
105 for(orientation=level ? 1:0; orientation<4; orientation++){ in ff_snow_reset_contexts()
106 memset(s->plane[plane_index].band[level][orientation].state, MID_STATE, sizeof(s->plane[plane_index].band[level][orientation].state)); in ff_snow_reset_contexts()
516 int plane_index, level, orientation; in ff_snow_common_init_after_header() local
550 for(orientation=level ? 1 : 0; orientation<4; orientation in ff_snow_common_init_after_header()
699 int plane_index, level, orientation, i; ff_snow_common_end() local
[all...]
H A Dsnowdec.c276 int plane_index, level, orientation; in decode_qlogs() local
280 for(orientation=level ? 1:0; orientation<4; orientation++){ in decode_qlogs()
282 if (plane_index==2) q= s->plane[1].band[level][orientation].qlog; in decode_qlogs()
283 else if(orientation==2) q= s->plane[plane_index].band[level][1].qlog; in decode_qlogs()
285 s->plane[plane_index].band[level][orientation].qlog= q; in decode_qlogs()
447 int level, orientation, plane_index; in decode_frame() local
529 for(orientation=level ? 1 : 0; orientation< in decode_frame()
[all...]
H A Ddiracdec.c94 int orientation; member
464 if (b->orientation == subband_hl) \
468 if (b->orientation == subband_lh) \
604 int cb_width = s->codeblock[b->level + (b->orientation != subband_ll)].width; in decode_subband_internal()
605 int cb_height = s->codeblock[b->level + (b->orientation != subband_ll)].height; in decode_subband_internal()
631 if (b->orientation == subband_ll && s->num_refs == 0) { in decode_subband_internal()
662 enum dirac_subband orientation; in decode_component() local
670 for (orientation = !!level; orientation < 4; orientation in decode_component()
781 enum dirac_subband orientation; decode_lowdelay_slice() local
845 int i, level, orientation, quant_idx; decode_hq_slice() local
1052 int i, w, h, level, orientation; init_planes() local
[all...]
H A Dsnowenc.c776 static int encode_subband_c0run(SnowContext *s, SubBand *b, const IDWTELEM *src, const IDWTELEM *parent, int stride, int orientation){ in encode_subband_c0run() argument
805 if(orientation==1) ll= src[y + (x-2)*stride]; in encode_subband_c0run()
856 if(orientation==1) ll= src[y + (x-2)*stride]; in encode_subband_c0run()
896 static int encode_subband(SnowContext *s, SubBand *b, const IDWTELEM *src, const IDWTELEM *parent, int stride, int orientation){ in encode_subband() argument
897 // encode_subband_qtree(s, b, src, parent, stride, orientation); in encode_subband()
898 // encode_subband_z0run(s, b, src, parent, stride, orientation); in encode_subband()
899 return encode_subband_c0run(s, b, src, parent, stride, orientation); in encode_subband()
900 // encode_subband_dzr(s, b, src, parent, stride, orientation); in encode_subband()
1376 int plane_index, level, orientation; in encode_qlogs() local
1380 for(orientation in encode_qlogs()
1492 int level, orientation, delta_qlog; ratecontrol_1pass() local
1541 int level, orientation, x, y; calculate_visual_weight() local
1576 int level, orientation, plane_index, i, y, ret; encode_frame() local
[all...]
/third_party/cups-filters/filter/pdftopdf/
H A Dpdftopdf_processor.cc43 Rotation_dump(orientation); in dump()
154 ((param.orientation == ROT_0) || (param.orientation == ROT_180))); in processPDFTOPDF()
262 Rotation orientation; in processPDFTOPDF() local
263 if (page->is_landscape(param.orientation)) in processPDFTOPDF()
264 orientation = param.normal_landscape; in processPDFTOPDF()
266 orientation = ROT_0; in processPDFTOPDF()
267 page->crop(param.page, orientation, param.orientation, in processPDFTOPDF()
290 if ((param.orientation in processPDFTOPDF()
[all...]
H A Dpdftopdf_processor.h23 orientation(ROT_0),normal_landscape(ROT_270), in ProcessingParameters()
70 Rotation orientation,normal_landscape; // normal_landscape (i.e. default direction) is e.g. needed for number-up=2 member
121 virtual Rotation crop(const PageRect &cropRect,Rotation orientation,Rotation param_orientation,Position xpos,Position ypos,bool scale,bool autorotate) =0;
122 virtual bool is_landscape(Rotation orientation) =0 ;
H A Dqpdf_pdftopdf_processor.h15 virtual Rotation crop(const PageRect &cropRect,Rotation orientation,Rotation param_orientation,Position xpos,Position ypos,bool scale,bool autorotate);
16 virtual bool is_landscape(Rotation orientation);
/third_party/skia/src/codec/
H A DSkParseEncodedOrigin.cpp12 bool littleEndian, bool is_root, SkEncodedOrigin* orientation) { in parse_encoded_origin()
40 *orientation = (SkEncodedOrigin)val; in parse_encoded_origin()
47 orientation)) { in parse_encoded_origin()
57 bool SkParseEncodedOrigin(const uint8_t* data, size_t data_length, SkEncodedOrigin* orientation) { in SkParseEncodedOrigin() argument
58 SkASSERT(orientation); in SkParseEncodedOrigin()
69 return parse_encoded_origin(data, data_length, offset, littleEndian, true, orientation); in SkParseEncodedOrigin()
11 parse_encoded_origin(const uint8_t* exifData, size_t data_length, uint64_t offset, bool littleEndian, bool is_root, SkEncodedOrigin* orientation) parse_encoded_origin() argument
H A DSkJpegCodec.cpp55 static bool is_orientation_marker(jpeg_marker_struct* marker, SkEncodedOrigin* orientation) { in is_orientation_marker() argument
68 orientation); in is_orientation_marker()
72 SkEncodedOrigin orientation; in get_exif_orientation() local
74 if (is_orientation_marker(marker, &orientation)) { in get_exif_orientation()
75 return orientation; in get_exif_orientation()
178 // the orientation and color profile will not change, we can skip this in ReadHeader()
216 SkEncodedOrigin orientation = get_exif_orientation(dinfo); in ReadHeader() local
250 decoderMgr.release(), orientation); in ReadHeader()
991 SkEncodedOrigin* orientation) { in SkGetJpegInfo()
1017 if (orientation) { in SkGetJpegInfo()
988 SkGetJpegInfo(const void* data, size_t len, SkISize* size, SkEncodedInfo::Color* colorType, SkEncodedOrigin* orientation) SkGetJpegInfo() argument
[all...]
/third_party/libinput/tools/
H A Dlibinput-measure-touch-size.py58 def __init__(self, major=None, minor=None, orientation=None):
61 self._orientation = orientation
83 def orientation(self): member in Touch
86 @orientation.setter
87 def orientation(self, orientation): member in Touch
88 self._orientation = orientation
95 if self.orientation is not None:
96 s += ", orientation {:+3d}".format(self.orientation)
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
H A DSFFontView.java61 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { in getScrollableUnitIncrement() argument
62 if (orientation == SwingConstants.HORIZONTAL) { in getScrollableUnitIncrement()
69 public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { in getScrollableBlockIncrement() argument
70 if (orientation == SwingConstants.HORIZONTAL) { in getScrollableBlockIncrement()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_simple_image.cpp104 void dng_simple_image::Rotate (const dng_orientation &orientation) in Rotate() argument
116 if (orientation.FlipH ()) in Rotate()
125 if (orientation.FlipV ()) in Rotate()
134 if (orientation.FlipD ()) in Rotate()
/third_party/ffmpeg/libavfilter/
H A Davf_showspectrum.c68 int orientation; member
163 { "orientation", "set orientation", OFFSET(orientation), AV_OPT_TYPE_INT, {.i64=VERTICAL}, 0, NB_ORIENTATIONS-1, FLAGS, "orientation" },
164 { "vertical", NULL, 0, AV_OPT_TYPE_CONST, {.i64=VERTICAL}, 0, 0, FLAGS, "orientation" },
165 { "horizontal", NULL, 0, AV_OPT_TYPE_CONST, {.i64=HORIZONTAL}, 0, 0, FLAGS, "orientation" },
784 int ch, y, x = 0, sz = s->orientation == VERTICAL ? s->w : s->h; in draw_legend()
819 if (s->orientation == VERTICAL) { in draw_legend()
1008 const int h = s->orientation in plot_channel_lin()
[all...]
H A Davf_showvolume.c46 int orientation; member
86 { "o", "set orientation", OFFSET(orientation), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "orientation" },
87 { "h", "horizontal", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, FLAGS, "orientation" },
88 { "v", "vertical", 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, FLAGS, "orientation" },
206 if (s->orientation) { in config_output()
245 if (o) { /* vertical orientation */ in drawtext()
254 } else { /* horizontal orientation */ in drawtext()
288 if (s->orientation) { /* vertica in calc_max_draw()
[all...]
H A Dvaf_spectrumsynth.c54 int orientation; member
91 { "orientation", "set orientation", OFFSET(orientation), AV_OPT_TYPE_INT, {.i64=VERTICAL}, 0, NB_ORIENTATIONS-1, V, "orientation" },
92 { "vertical", NULL, 0, AV_OPT_TYPE_CONST, {.i64=VERTICAL}, 0, 0, V, "orientation" },
93 { "horizontal", NULL, 0, AV_OPT_TYPE_CONST, {.i64=HORIZONTAL}, 0, 0, V, "orientation" },
178 s->size = s->orientation == VERTICAL ? height / s->channels : width / s->channels; in config_output()
179 s->xend = s->orientation == VERTICAL ? width : height; in config_output()
287 switch (s->orientation) { in read_fft_data()
[all...]
/third_party/skia/src/pdf/
H A DSkJpegInfo.cpp84 SkEncodedOrigin* orientation) { in SkGetJpegInfo()
123 if (orientation) { in SkGetJpegInfo()
124 *orientation = kTopLeft_SkEncodedOrigin; in SkGetJpegInfo()
81 SkGetJpegInfo(const void* data, size_t len, SkISize* size, SkEncodedInfo::Color* colorType, SkEncodedOrigin* orientation) SkGetJpegInfo() argument
H A DSkJpegInfo.h18 @param [out] orientation EXIF Orientation of the image.
23 SkEncodedOrigin* orientation);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
H A Deventhistory.cpp47 QVariant EventListModel::headerData(int section, Qt::Orientation orientation, in headerData() argument
53 if (orientation == Qt::Horizontal) { in headerData()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
H A Deventhistory.cpp47 QVariant EventListModel::headerData(int section, Qt::Orientation orientation, in headerData() argument
53 if (orientation == Qt::Horizontal) { in headerData()
/third_party/mesa3d/src/gallium/frontends/va/
H A Dpostproc.c149 context->desc.vidproc.orientation = PIPE_VIDEO_VPP_ORIENTATION_DEFAULT; in vlVaVidEngineBlit()
151 context->desc.vidproc.orientation = PIPE_VIDEO_VPP_ROTATION_90; in vlVaVidEngineBlit()
153 context->desc.vidproc.orientation = PIPE_VIDEO_VPP_ROTATION_180; in vlVaVidEngineBlit()
155 context->desc.vidproc.orientation = PIPE_VIDEO_VPP_ROTATION_270; in vlVaVidEngineBlit()
158 context->desc.vidproc.orientation |= PIPE_VIDEO_VPP_FLIP_HORIZONTAL; in vlVaVidEngineBlit()
160 context->desc.vidproc.orientation |= PIPE_VIDEO_VPP_FLIP_VERTICAL; in vlVaVidEngineBlit()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
H A DWindowSurfaceWGL.cpp23 EGLint orientation) in WindowSurfaceWGL()
32 ASSERT(orientation == 0); in WindowSurfaceWGL()
19 WindowSurfaceWGL(const egl::SurfaceState &state, EGLNativeWindowType window, int pixelFormat, const FunctionsWGL *functions, EGLint orientation) WindowSurfaceWGL() argument
/third_party/cups-filters/cupsfilters/
H A Dimage-tiff.c47 orientation, /* Orientation */ in _cupsImageReadTIFF() local
133 * Get the image orientation... in _cupsImageReadTIFF()
136 if (!TIFFGetField(tif, TIFFTAG_ORIENTATION, &orientation)) in _cupsImageReadTIFF()
137 orientation = 0; in _cupsImageReadTIFF()
238 * Set the X & Y start and direction according to the image orientation... in _cupsImageReadTIFF()
241 switch (orientation) in _cupsImageReadTIFF()
244 fputs("DEBUG: orientation = top-right\n", stderr); in _cupsImageReadTIFF()
247 fputs("DEBUG: orientation = right-top\n", stderr); in _cupsImageReadTIFF()
251 fputs("DEBUG: orientation = top-left\n", stderr); in _cupsImageReadTIFF()
254 fputs("DEBUG: orientation in _cupsImageReadTIFF()
[all...]
/third_party/skia/third_party/externals/angle2/util/android/
H A DAndroidWindow.cpp40 int SetScreenOrientation(struct android_app *app, int orientation) in SetScreenOrientation() argument
53 jni->CallVoidMethod(app->activity->clazz, methodID, orientation); in SetScreenOrientation()
98 // Set tests to run in correct orientation in setOrientation()
158 // Currently tests crash when paused, for example, due to device changing orientation in onAppCmd()

Completed in 22 milliseconds

123