Home
last modified time | relevance | path

Searched full:box (Results 1 – 25 of 1366) sorted by relevance

12345678910>>...55

/external/opencv3/3rdparty/openexr/Imath/
DImathBox.h41 // class Imath::Box<class T>
56 // a float (and/or double) for use in initializing the box.
71 class Box
83 // Constructors - an "empty" box is created by default
86 Box ();
87 Box (const T &point);
88 Box (const T &minT, const T &maxT);
94 bool operator == (const Box<T> &src) const;
95 bool operator != (const Box<T> &src) const;
98 // Box manipulation
[all …]
DImathBoxAlgo.h44 // with bounding boxes (Imath::Box). These algorithms require
46 // functions are called much less often than the basic box
51 // T clip<T>(const T& in, const Box<T>& box)
53 // Vec3<T> closestPointOnBox(const Vec3<T>&, const Box<Vec3<T>>& )
55 // Vec3<T> closestPointInBox(const Vec3<T>&, const Box<Vec3<T>>& )
57 // Box< Vec3<S> > transform(const Box<Vec3<S>>&, const Matrix44<T>&)
58 // Box< Vec3<S> > affineTransform(const Box<Vec3<S>>&, const Matrix44<T>&)
60 // void transform(const Box<Vec3<S>>&, const Matrix44<T>&, Box<V3ec3<S>>&)
61 // void affineTransform(const Box<Vec3<S>>&,
63 // Box<V3ec3<S>>&)
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DSampleTableBox.java25 …* If the track that contains the Sample Table Box references no data, then the Sample Table Box do…
27 …* If the track that the Sample Table Box is contained in does reference data, then the following s…
29 …* Description Box shall contain at least one entry. A Sample Description Box is required because i…
30 …* data reference index field which indicates which Data Reference Box to use to retrieve the media…
32 * Sample Box is optional. If the Sync Sample Box is not present, all samples are sync samples.<br>
34 * Box.
44 for (Box box : boxes) { in getSampleDescriptionBox()
45 if (box instanceof SampleDescriptionBox) { in getSampleDescriptionBox()
46 return (SampleDescriptionBox) box; in getSampleDescriptionBox()
53 for (Box box : boxes) { in getSampleSizeBox()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_box.h9 struct pipe_box *box ) in u_box_1d() argument
11 box->x = x; in u_box_1d()
12 box->y = 0; in u_box_1d()
13 box->z = 0; in u_box_1d()
14 box->width = w; in u_box_1d()
15 box->height = 1; in u_box_1d()
16 box->depth = 1; in u_box_1d()
24 struct pipe_box *box ) in u_box_2d() argument
26 box->x = x; in u_box_2d()
27 box->y = y; in u_box_2d()
[all …]
Du_staging.c57 const struct pipe_box *box, in util_staging_transfer_init() argument
67 tx->base.box = *box; in util_staging_transfer_init()
75 …util_staging_resource_template(pt, box->width, box->height, box->depth, &staging_resource_template… in util_staging_transfer_init()
89 sbox.x = box->x; in util_staging_transfer_init()
90 sbox.y = box->y; in util_staging_transfer_init()
91 sbox.z = box->z; in util_staging_transfer_init()
92 sbox.width = box->width; in util_staging_transfer_init()
93 sbox.height = box->height; in util_staging_transfer_init()
95 for(zi = 0; zi < box->depth; ++zi) { in util_staging_transfer_init()
119 sbox.width = tx->base.box.width; in util_staging_transfer_destroy()
[all …]
Du_transfer.c14 const struct pipe_box *box, in u_default_transfer_inline_write() argument
28 if (box->x == 0 && box->width == resource->width0) { in u_default_transfer_inline_write()
38 box ); in u_default_transfer_inline_write()
47 assert(box->height == 1); in u_default_transfer_inline_write()
48 assert(box->depth == 1); in u_default_transfer_inline_write()
50 memcpy(map, data, box->width); in u_default_transfer_inline_write()
56 for (i = 0; i < box->depth; i++) { in u_default_transfer_inline_write()
61 box->width, in u_default_transfer_inline_write()
62 box->height, in u_default_transfer_inline_write()
91 const struct pipe_box *box) in u_default_transfer_flush_region() argument
[all …]
/external/opencv3/3rdparty/libjasper/
Djp2_cod.c10 * box properly.
108 void jp2_box_dump(jp2_box_t *box, FILE *out);
110 static int jp2_jp_getdata(jp2_box_t *box, jas_stream_t *in);
111 static int jp2_jp_putdata(jp2_box_t *box, jas_stream_t *out);
112 static int jp2_ftyp_getdata(jp2_box_t *box, jas_stream_t *in);
113 static int jp2_ftyp_putdata(jp2_box_t *box, jas_stream_t *out);
114 static int jp2_ihdr_getdata(jp2_box_t *box, jas_stream_t *in);
115 static int jp2_ihdr_putdata(jp2_box_t *box, jas_stream_t *out);
116 static void jp2_bpcc_destroy(jp2_box_t *box);
117 static int jp2_bpcc_getdata(jp2_box_t *box, jas_stream_t *in);
[all …]
Djp2_enc.c10 * box properly.
96 jp2_box_t *box; in jp2_write_header() local
116 box = 0; in jp2_write_header()
130 /* Output the signature box. */ in jp2_write_header()
132 if (!(box = jp2_box_create(JP2_BOX_JP))) { in jp2_write_header()
135 box->data.jp.magic = JP2_JP_MAGIC; in jp2_write_header()
136 if (jp2_box_put(box, out)) { in jp2_write_header()
139 jp2_box_destroy(box); in jp2_write_header()
140 box = 0; in jp2_write_header()
142 /* Output the file type box. */ in jp2_write_header()
[all …]
Djp2_dec.c98 jp2_box_t *box; in jp2_decode() local
120 box = 0; in jp2_decode()
127 /* Get the first box. This should be a JP box. */ in jp2_decode()
128 if (!(box = jp2_box_get(in))) { in jp2_decode()
129 jas_eprintf("error: cannot get box\n"); in jp2_decode()
132 if (box->type != JP2_BOX_JP) { in jp2_decode()
133 jas_eprintf("error: expecting signature box\n"); in jp2_decode()
136 if (box->data.jp.magic != JP2_JP_MAGIC) { in jp2_decode()
140 jp2_box_destroy(box); in jp2_decode()
141 box = 0; in jp2_decode()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DPath.java20 import com.coremedia.iso.boxes.Box;
36 public static String createPath(Box box) { in createPath() argument
37 return createPath(box, ""); in createPath()
40 private static String createPath(Box box, String path) { in createPath() argument
41 if (box instanceof IsoFile) { in createPath()
44 List<?> boxesOfBoxType = box.getParent().getBoxes(box.getClass()); in createPath()
45 int index = boxesOfBoxType.indexOf(box); in createPath()
46 path = String.format("/%s[%d]", box.getType(), index) + path; in createPath()
48 return createPath(box.getParent(), path); in createPath()
52 public static Box getPath(Box box, String path) { in getPath() argument
[all …]
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/test/
Dindex.html133 .example-2-box {
147 .example-2[max-width~="350px"] .example-2-box {
151 .example-2[max-width~="300px"] .example-2-box {
155 .example-2[max-width~="200px"] .example-2-box {
159 .example-2[max-width~="100px"] .example-2-box {
177 #example-3-box,
178 #example-4-box {
186 .example-3-box-start,
187 .example-4-box-start {
198 .example-4-box-start {
[all …]
/external/pdfium/third_party/libopenjpeg20/
Djp2.c53 * Reads a IHDR box - Image Header box
68 * Writes the Image Header box - Image Header box.
79 * Writes the Bit per Component box.
90 * Reads a Bit per Component box.
112 * Writes the Channel Definition box.
123 * Writes the Colour Specification box.
134 * Writes a FTYP box - File type box
147 * Reads a a FTYP box - File type box
149 * @param p_header_data the data contained in the FTYP box.
151 * @param p_header_size the size of the data contained in the FTYP box.
[all …]
Dindexbox_manager.h44 #define JPIP_CPTR 0x63707472 /* Codestream Finder Box */
45 #define JPIP_MANF 0x6d616e66 /* Manifest Box */
46 #define JPIP_FAIX 0x66616978 /* Fragment array Index box */
48 #define JPIP_TPIX 0x74706978 /* Tile-part Index Table box */
49 #define JPIP_THIX 0x74686978 /* Tile header Index Table box */
50 #define JPIP_PPIX 0x70706978 /* Precinct Packet Index Table box */
55 #define JPIP_IPTR 0x69707472 /* Index finder box */
60 * Write tile-part Index table box (superbox)
66 * @return length of tpix box
73 * Write tile header index table box (superbox)
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dbitmaptools.cc30 struct Box { struct
31 Box() : left(), top(), right(), bottom() {} in Box() function
40 fprintf(stderr, "Could not parse Box.\n"); in Read() argument
44 fprintf(stderr, "Box dimensions must be non-negative.\n"); in Read()
69 // Represents a bitmap buffer with a crop box.
79 // bpp, width, height, box, pixels
100 if (!box.Read()) { in Read()
101 fprintf(stderr, "Expected crop box argument not found.\n"); in Read()
105 if (box.bottom * row_stride > total_size || in Read()
106 box.right * pixel_stride > row_size) { in Read()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DAbstractBoxParser.java18 import com.coremedia.iso.boxes.Box;
31 * This BoxParser handles the basic stuff like reading size and extracting box type.
37 public abstract Box createBox(String type, byte[] userType, String parent); in createBox()
40 * Parses the next size and type, creates a box instance and parses the box's content.
43 * @param parent the current box's parent (null if no parent)
44 * @return the box just parsed
47 public Box parseBox(ReadableByteChannel byteChannel, ContainerBox parent) throws IOException { in parseBox()
74 …throw new RuntimeException("Only FileChannel inputs may use size == 0 (box reaches to the end of f… in parseBox()
87 Box box = createBox(type, usertype, parent.getType()); in parseBox() local
88 box.setParent(parent); in parseBox()
[all …]
DIsoFile.java20 import com.coremedia.iso.boxes.Box;
31 * The most upper container for ISO Boxes. It is a container box that is a file.
85 Box box = boxParser.parseBox(byteChannel, this); in parse() local
86 if (box != null) { in parse()
87 // System.err.println(box.getType()); in parse()
88 boxes.add(box); in parse()
149 for (Box box : boxes) { in getSize()
150 size += box.getSize(); in getSize()
169 for (Box box : boxes) { in getMovieBox()
170 if (box instanceof MovieBox) { in getMovieBox()
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.primitive_bounding_box.txt28 - Set bounding box with gl_BoundingBoxEXT and PrimitiveBoundingBoxEXT
32 - Render pattern and hint the final depth range with bounding box
35 - Blit should not be affected by the bounding box
37 - Clears should not be affected by the bounding box
53 bounding box and render a test pattern. Rendering results within the
54 bounding box are then verified.
56 "global_state.*" cases set the bounding box of the whole test pattern
58 cases set the bounding box of the whole test pattern using
60 set the bounding box for each (tessellation input) primitive separately.
62 "*_bbox_equal" cases set the bounding box to tightly cover the primitive
[all …]
/external/toybox/kconfig/lxdialog/
Dtextbox.c2 * textbox.c -- implements the text box
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
41 print_page(box, boxh, boxw); in refresh_text_box()
49 * Display text from a file in a dialog box.
57 WINDOW *dialog, *box; in dialog_textbox() local
85 /* center dialog box on screen */ in dialog_textbox()
94 /* Create window for box region, used for scrolling text */ in dialog_textbox()
97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
98 wattrset(box, dlg.dialog.atr); in dialog_textbox()
99 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
[all …]
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h20 * \brief An axis aligned box
25 * This class represents an axis aligned box as a pair of the minimal and maximal corners.
26 …* \warning The result of most methods is undefined when applied to an empty box. You can check for…
42 /** Define constants to name the corners of a 1D, 2D or 3D axis aligned bounding box */
63 /** Default constructor initializing a null box. */
67 /** Constructs a null box with \a _dim the dimension of the ambient space. */
71 /** Constructs a box with extremities \a _min and \a _max.
72 …component of \a _min is larger than the same component of \a _max, the constructed box is empty. */
76 /** Constructs a box containing a single point \a p. */
83 /** \returns the dimension in which the box holds */
[all …]
/external/eigen/test/
Dgeo_alignedbox.cpp109 BoxType box( m, M ); in specificTest1() local
112 VERIFY_IS_APPROX(sides, box.sizes() ); in specificTest1()
113 VERIFY_IS_APPROX(sides[1], box.sizes()[1] ); in specificTest1()
114 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest1()
115 VERIFY_IS_APPROX(sides[0], box.sizes().minCoeff() ); in specificTest1()
117 VERIFY_IS_APPROX( 14.0f, box.volume() ); in specificTest1()
118 VERIFY_IS_APPROX( 53.0f, box.diagonal().squaredNorm() ); in specificTest1()
119 VERIFY_IS_APPROX( std::sqrt( 53.0f ), box.diagonal().norm() ); in specificTest1()
121 VERIFY_IS_APPROX( m, box.corner( BoxType::BottomLeft ) ); in specificTest1()
122 VERIFY_IS_APPROX( M, box.corner( BoxType::TopRight ) ); in specificTest1()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
DFullContainerBox.java20 import com.coremedia.iso.boxes.Box;
34 * Abstract base class for a full iso box only containing ither boxes.
37 protected List<Box> boxes = new LinkedList<Box>();
41 public void setBoxes(List<Box> boxes) { in setBoxes()
42 this.boxes = new LinkedList<Box>(boxes); in setBoxes()
46 public <T extends Box> List<T> getBoxes(Class<T> clazz) { in getBoxes()
51 public <T extends Box> List<T> getBoxes(Class<T> clazz, boolean recursive) { in getBoxes()
53 for (Box boxe : boxes) { //clazz.isInstance(boxe) / clazz == boxe.getClass()? in getBoxes()
69 for (Box boxe : boxes) { in getContentSize()
75 public void addBox(Box b) { in addBox()
[all …]
DAbstractContainerBox.java20 import com.coremedia.iso.boxes.Box;
41 protected List<Box> boxes = new LinkedList<Box>();
47 for (Box boxe : boxes) { in getContentSize()
57 public List<Box> getBoxes() { in getBoxes()
61 public void setBoxes(List<Box> boxes) { in setBoxes()
62 this.boxes = new LinkedList<Box>(boxes); in setBoxes()
66 public <T extends Box> List<T> getBoxes(Class<T> clazz) { in getBoxes()
71 public <T extends Box> List<T> getBoxes(Class<T> clazz, boolean recursive) { in getBoxes()
73 for (Box boxe : boxes) { in getBoxes()
93 public void addBox(Box b) { in addBox()
[all …]
/external/opencv3/samples/cpp/
Dselect3dobj.cpp3 * select3obj.cpp With a calibration chessboard on a table, mark an object in a 3D box and
5 * the chessboard. Also segments the object using the box projection. This
45 "(board_width x board_height) on the surface, we draw a 3D box aroung the object. From\n"
53 " Select object as 3D box with the mouse.\n"
55 " Then extend that line into a box to encompass the projection of that object onto the plane\n"
56 " The use the mouse again to extend the box upwards from the plane to encase the object.\n"
128 const vector<Point3f>& box, int nobjpt, bool runExtraSegmentation) in extract3DBox() argument
136 objpt.push_back(box[0]); in extract3DBox()
138 objpt.push_back(box[1]); in extract3DBox()
141 objpt.push_back(box[2]); in extract3DBox()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
DSampleEntry.java23 import com.coremedia.iso.boxes.Box;
48 protected List<Box> boxes = new LinkedList<Box>();
68 public void setBoxes(List<Box> boxes) { in setBoxes()
69 this.boxes = new LinkedList<Box>(boxes); in setBoxes()
72 public void addBox(Box b) { in addBox()
77 public boolean removeBox(Box b) { in removeBox()
82 public List<Box> getBoxes() { in getBoxes()
87 public <T extends Box> List<T> getBoxes(Class<T> clazz, boolean recursive) { in getBoxes()
89 for (Box boxe : boxes) { //clazz.isInstance(boxe) / clazz == boxe.getClass()? in getBoxes()
104 public <T extends Box> List<T> getBoxes(Class<T> clazz) { in getBoxes()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c60 SVGA3dCopyBox box; in svga_transfer_dma_band() local
63 box.x = st->base.box.x; in svga_transfer_dma_band()
64 box.y = y; in svga_transfer_dma_band()
65 box.z = st->base.box.z; in svga_transfer_dma_band()
66 box.w = st->base.box.width; in svga_transfer_dma_band()
67 box.h = h; in svga_transfer_dma_band()
68 box.d = 1; in svga_transfer_dma_band()
69 box.srcx = 0; in svga_transfer_dma_band()
70 box.srcy = srcy; in svga_transfer_dma_band()
71 box.srcz = 0; in svga_transfer_dma_band()
[all …]

12345678910>>...55