Searched refs:aspect (Results 1 - 25 of 28) sorted by relevance

12

/external/flac/libFLAC/
H A Dogg_decoder_aspect.c52 FLAC__bool FLAC__ogg_decoder_aspect_init(FLAC__OggDecoderAspect *aspect) argument
55 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0)
58 if(ogg_sync_init(&aspect->sync_state) != 0)
61 aspect->version_major = ~(0u);
62 aspect->version_minor = ~(0u);
64 aspect->need_serial_number = aspect->use_first_serial_number;
66 aspect->end_of_stream = false;
67 aspect
72 FLAC__ogg_decoder_aspect_finish(FLAC__OggDecoderAspect *aspect) argument
78 FLAC__ogg_decoder_aspect_set_serial_number(FLAC__OggDecoderAspect *aspect, long value) argument
84 FLAC__ogg_decoder_aspect_set_defaults(FLAC__OggDecoderAspect *aspect) argument
89 FLAC__ogg_decoder_aspect_flush(FLAC__OggDecoderAspect *aspect) argument
97 FLAC__ogg_decoder_aspect_reset(FLAC__OggDecoderAspect *aspect) argument
105 FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data) argument
[all...]
H A Dogg_encoder_aspect.c50 FLAC__bool FLAC__ogg_encoder_aspect_init(FLAC__OggEncoderAspect *aspect) argument
53 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0)
56 aspect->seen_magic = false;
57 aspect->is_first_packet = true;
58 aspect->samples_written = 0;
63 void FLAC__ogg_encoder_aspect_finish(FLAC__OggEncoderAspect *aspect) argument
65 (void)ogg_stream_clear(&aspect->stream_state);
69 void FLAC__ogg_encoder_aspect_set_serial_number(FLAC__OggEncoderAspect *aspect, long value) argument
71 aspect
74 FLAC__ogg_encoder_aspect_set_num_metadata(FLAC__OggEncoderAspect *aspect, unsigned value) argument
84 FLAC__ogg_encoder_aspect_set_defaults(FLAC__OggEncoderAspect *aspect) argument
111 FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data) argument
[all...]
/external/flac/libFLAC/include/private/
H A Dogg_decoder_aspect.h57 void FLAC__ogg_decoder_aspect_set_serial_number(FLAC__OggDecoderAspect *aspect, long value);
58 void FLAC__ogg_decoder_aspect_set_defaults(FLAC__OggDecoderAspect *aspect);
59 FLAC__bool FLAC__ogg_decoder_aspect_init(FLAC__OggDecoderAspect *aspect);
60 void FLAC__ogg_decoder_aspect_finish(FLAC__OggDecoderAspect *aspect);
61 void FLAC__ogg_decoder_aspect_flush(FLAC__OggDecoderAspect *aspect);
62 void FLAC__ogg_decoder_aspect_reset(FLAC__OggDecoderAspect *aspect);
77 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data);
H A Dogg_encoder_aspect.h53 void FLAC__ogg_encoder_aspect_set_serial_number(FLAC__OggEncoderAspect *aspect, long value);
54 FLAC__bool FLAC__ogg_encoder_aspect_set_num_metadata(FLAC__OggEncoderAspect *aspect, unsigned value);
55 void FLAC__ogg_encoder_aspect_set_defaults(FLAC__OggEncoderAspect *aspect);
56 FLAC__bool FLAC__ogg_encoder_aspect_init(FLAC__OggEncoderAspect *aspect);
57 void FLAC__ogg_encoder_aspect_finish(FLAC__OggEncoderAspect *aspect);
61 FLAC__StreamEncoderWriteStatus FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data);
/external/jmonkeyengine/engine/src/test/jme3test/renderer/
H A DTestParallelProjection.java65 float aspect = (float) cam.getWidth() / cam.getHeight();
66 cam.setFrustum(-1000, 1000, -aspect * frustumSize, aspect * frustumSize, frustumSize, -frustumSize);
80 float aspect = (float) cam.getWidth() / cam.getHeight();
81 cam.setFrustum(-1000, 1000, -aspect * frustumSize, aspect * frustumSize, frustumSize, -frustumSize);
/external/chromium_org/ui/gfx/image/
H A Dimage_family.cc32 float aspect = static_cast<float>(size.width()) / size.height(); local
33 DCHECK_GT(aspect, 0.0f);
34 map_[MapKey(aspect, size.width())] = image;
64 // Get the best-sized image with the aspect ratio.
69 // Find the two aspect ratios on either side of |desired_aspect|.
74 greater_or_equal->first.aspect() == desired_aspect) {
79 // aspect ratio >= |desired_aspect|, and |less_than| will point to the last
80 // image with aspect ratio < |desired_aspect|.
85 float thinner_aspect = less_than->first.aspect();
89 float wider_aspect = greater_or_equal->first.aspect();
108 GetWithExactAspect(float aspect, int width) const argument
[all...]
H A Dimage_family.h21 // sizes and (optionally) aspect ratios. A method is provided for finding the
113 // Gets an image at the same aspect ratio as |width|:|height|, if possible, or
114 // if not, the closest aspect ratio. Among images of that aspect ratio,
117 // aspect ratio. If there are no images in the family, returns NULL.
121 // Gets an image at the same aspect ratio as |size.width()|:|size.height()|,
122 // if possible, or if not, the closest aspect ratio. Among images of that
123 // aspect ratio, returns the smallest image with both its width and height
125 // image of that aspect ratio. If there are no images in the family, returns
130 // An <aspect rati
133 MapKey(float aspect, int width) argument
136 float aspect() const { return first; } function in struct:gfx::ImageFamily::MapKey
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/cameras/
H A DCameraHelper.java71 float aspect = 0;
75 aspect = ((Number) structure.getFieldValue("lens")).floatValue();
77 aspect = ((Number) structure.getFieldValue("ortho_scale")).floatValue();
79 result.setFrustumPerspective(45, aspect, clipsta, clipend);
102 float aspect = 0;
106 aspect = ((Number) structure.getFieldValue("lens")).floatValue();
108 aspect = ((Number) structure.getFieldValue("ortho_scale")).floatValue();
110 result.setFrustumPerspective(aspect, result.getWidth() / result.getHeight(), clipsta, clipend);
/external/eigen/demos/opengl/
H A Dgpuhelper.cpp56 void GpuHelper::drawVector(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect /* = 50.*/)
70 gluCylinder(cylindre, length/aspect, length/aspect, 0.8*length, 10, 10);
72 gluCylinder(cylindre, 2.0*length/aspect, 0.0, 0.2*length, 10, 10);
77 void GpuHelper::drawVectorBox(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect) argument
91 gluCylinder(cylindre, length/aspect, length/aspect, 0.8*length, 10, 10);
93 glScalef(4.0*length/aspect,4.0*length/aspect,4.0*length/aspect);
[all...]
H A Dcamera.cpp216 float aspect = float(mVpWidth)/float(mVpHeight); local
221 mProjectionMatrix(0,0) = invtan / aspect;
H A Dgpuhelper.h85 void drawVector(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect = 50.);
86 void drawVectorBox(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect = 50.);
/external/jmonkeyengine/engine/src/test/jme3test/asset/
H A DTestOnlineJar.java73 float aspect = tex.getImage().getWidth() / (float) tex.getImage().getHeight();
74 quad.setLocalScale(new Vector3f(aspect * 1.5f, 1.5f, 1));
H A DTestUrlLoading.java73 float aspect = tex.getImage().getWidth() / (float) tex.getImage().getHeight();
74 quad.setLocalScale(new Vector3f(aspect * 1.5f, 1.5f, 1));
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Simple_VertexShader/
H A DSimple_VertexShader.c92 float aspect; local
99 // Compute the window aspect ratio
100 aspect = (GLfloat) esContext->width / (GLfloat) esContext->height;
104 esPerspective( &perspective, 60.0f, aspect, 1.0f, 20.0f );
/external/chromium/chrome/browser/resources/keyboard/
H A Dmain.js62 * The aspect ratio of this key.
74 * @return {number} The aspect ratio of this key.
76 get aspect() {
186 * @param {number} aspect The aspect ratio of the key.
192 function SvgKey(aspect, className, keyId) {
194 this.aspect_ = aspect;
225 * @param {number} aspect The aspect ratio of the key.
231 function SpecialKey(aspect, conten
[all...]
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/PostSubBuffer/
H A DPostSubBuffer.c102 float aspect; local
109 // Compute the window aspect ratio
110 aspect = (GLfloat) esContext->width / (GLfloat) esContext->height;
114 esPerspective( &perspective, 60.0f, aspect, 1.0f, 20.0f );
/external/chromium_org/chrome/browser/resources/file_manager/js/media/
H A Dvideo_player.js235 var aspect = video.videoWidth / video.videoHeight;
244 newWidth = (newHeight - TITLE_HEIGHT) * aspect;
247 newHeight = newWidth / aspect + TITLE_HEIGHT;
/external/jmonkeyengine/engine/src/core/com/jme3/input/
H A DFlyByCamera.java275 float aspect = w / h;
284 w = h * aspect;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dcss.js313 "min-device-height", "max-device-height", "aspect-ratio",
314 "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio",
315 "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color",
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/
H A DesUtil.h265 /// \param aspect Aspect ratio of screen
269 void ESUTIL_API esPerspective(ESMatrix *result, float fovy, float aspect, float nearZ, float farZ);
H A DesTransform.c138 esPerspective(ESMatrix *result, float fovy, float aspect, float nearZ, float farZ) argument
143 frustumW = frustumH * aspect;
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
H A DCamera.java448 * @param fixAspect If true, the camera's aspect ratio will be recomputed.
449 * Recomputing the aspect ratio requires changing the frustum values.
757 * frustum is defined by a viewing angle, aspect ratio, and near/far planes
760 * @param aspect Width:Height ratio
764 public void setFrustumPerspective(float fovY, float aspect, float near, argument
766 if (Float.isNaN(aspect) || Float.isInfinite(aspect)) {
768 logger.log(Level.WARNING, "Invalid aspect given to setFrustumPerspective: {0}", aspect);
773 float w = h * aspect;
[all...]
H A DRenderManager.java437 float aspect = ((float) viewWidth) / viewHeight;
438 u.setValue(VarType.Float, aspect);
/external/chromium_org/chrome_frame/
H A Dchrome_frame_activex_base.h228 DWORD aspect = draw_aspect; local
229 if (aspect == DVASPECT_DOCPRINT)
230 aspect = DVASPECT_CONTENT;
232 return CComControl<T>::IViewObject_Draw(aspect, index, aspect_info, ptd,
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dmat4.js743 * @param {number} aspect Aspect ratio. typically viewport width/height
748 mat4.perspective = function (out, fovy, aspect, near, far) {
751 out[0] = f / aspect;

Completed in 844 milliseconds

12