HomeSort by relevance Sort by last modified time
    Searched refs:aspect (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/flac/libFLAC/
ogg_decoder_aspect.c 52 FLAC__bool FLAC__ogg_decoder_aspect_init(FLAC__OggDecoderAspect *aspect)
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->have_working_page = false
    [all...]
ogg_encoder_aspect.c 50 FLAC__bool FLAC__ogg_encoder_aspect_init(FLAC__OggEncoderAspect *aspect)
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)
65 (void)ogg_stream_clear(&aspect->stream_state);
69 void FLAC__ogg_encoder_aspect_set_serial_number(FLAC__OggEncoderAspect *aspect, long value)
71 aspect->serial_number = value
    [all...]
  /external/flac/libFLAC/include/private/
ogg_decoder_aspect.h 57 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);
ogg_encoder_aspect.h 53 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/chromium_org/ui/gfx/image/
image_family.cc 34 float aspect = static_cast<float>(size.width()) / size.height(); local
35 DCHECK_GT(aspect, 0.0f);
36 map_[MapKey(aspect, size.width())] = image;
66 // Get the best-sized image with the aspect ratio.
71 // Find the two aspect ratios on either side of |desired_aspect|.
76 greater_or_equal->first.aspect() == desired_aspect) {
81 // aspect ratio >= |desired_aspect|, and |less_than| will point to the last
82 // image with aspect ratio < |desired_aspect|.
87 float thinner_aspect = less_than->first.aspect();
91 float wider_aspect = greater_or_equal->first.aspect();
    [all...]
image_family.h 21 // sizes and (optionally) aspect ratios. A method is provided for finding the
30 // An <aspect ratio, DIP width> pair.
31 // A 0x0 image has aspect ratio 1.0. 0xN and Nx0 images are treated as 0x0.
33 MapKey(float aspect, int width)
34 : std::pair<float, int>(aspect, width) {}
36 float aspect() const { return first; } function in struct:gfx::ImageFamily::MapKey
123 // Gets an image at the same aspect ratio as |width|:|height|, if possible, or
124 // if not, the closest aspect ratio. Among images of that aspect ratio,
127 // aspect ratio. If there are no images in the family, returns NULL
    [all...]
  /external/eigen/demos/opengl/
gpuhelper.cpp 56 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)
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...]
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
FixedAspectSurfaceView.java 28 * A SurfaceView that maintains its aspect ratio to be a desired target value.
31 * requested aspect ratio. This can happen if both the width and the height are exactly
34 * the dimension that is best adjusted to maintain the aspect ratio.</p>
48 // Get initial aspect ratio from custom attributes
58 * Set the desired aspect ratio for this view.
60 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
63 public void setAspectRatio(float aspect) {
64 if (aspect <= 0) {
65 throw new IllegalArgumentException("Aspect ratio must be positive");
67 mAspectRatio = aspect;
    [all...]
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
FixedAspectSurfaceView.java 30 * A SurfaceView that maintains its aspect ratio to be a desired target value.
33 * requested aspect ratio. This can happen if both the width and the height are exactly
36 * the dimension that is best adjusted to maintain the aspect ratio.</p>
50 // Get initial aspect ratio from custom attributes
60 * Set the desired aspect ratio for this view.
62 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
65 public void setAspectRatio(float aspect) {
66 if (aspect <= 0) {
67 throw new IllegalArgumentException("Aspect ratio must be positive");
69 mAspectRatio = aspect;
    [all...]
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
FixedAspectSurfaceView.java 30 * A SurfaceView that maintains its aspect ratio to be a desired target value.
33 * requested aspect ratio. This can happen if both the width and the height are exactly
36 * the dimension that is best adjusted to maintain the aspect ratio.</p>
50 // Get initial aspect ratio from custom attributes
60 * Set the desired aspect ratio for this view.
62 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
65 public void setAspectRatio(float aspect) {
66 if (aspect <= 0) {
67 throw new IllegalArgumentException("Aspect ratio must be positive");
69 mAspectRatio = aspect;
    [all...]
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
FixedAspectSurfaceView.java 30 * A SurfaceView that maintains its aspect ratio to be a desired target value.
33 * requested aspect ratio. This can happen if both the width and the height are exactly
36 * the dimension that is best adjusted to maintain the aspect ratio.</p>
50 // Get initial aspect ratio from custom attributes
60 * Set the desired aspect ratio for this view.
62 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
65 public void setAspectRatio(float aspect) {
66 if (aspect <= 0) {
67 throw new IllegalArgumentException("Aspect ratio must be positive");
69 mAspectRatio = aspect;
    [all...]
  /frameworks/base/rs/java/android/renderscript/
Matrix4f.java 306 * @param aspect aspect ratio of the screen
310 public void loadPerspective(float fovy, float aspect, float near, float far) {
313 float left = bottom * aspect;
314 float right = top * aspect;
320 * projection matrix with aspect ratio defined by the parameters
332 float aspect = ((float)w) / h; local
333 m1.loadFrustum(-aspect,aspect, -1,1, 1,100);
335 float aspect = ((float)h) / w local
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Matrix4f.java 307 * @param aspect aspect ratio of the screen
311 public void loadPerspective(float fovy, float aspect, float near, float far) {
314 float left = bottom * aspect;
315 float right = top * aspect;
321 * projection matrix with aspect ratio defined by the parameters
333 float aspect = ((float)w) / h; local
334 m1.loadFrustum(-aspect,aspect, -1,1, 1,100);
336 float aspect = ((float)h) / w local
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLU.java 103 * @param aspect specifies the aspect ration that determins the field of
104 * view in the x direction. The aspect ratio is the ratio of x
111 public static void gluPerspective(GL10 gl, float fovy, float aspect,
115 float left = bottom * aspect;
116 float right = top * aspect;
  /packages/wallpapers/NoiseField/src/com/android/noisefield/
NoiseFieldRS.java 94 float aspect = ((float) w) / h; local
95 m1.loadFrustum(-aspect, aspect, -1, 1, 1, 100);
97 float aspect = ((float) h) / w; local
98 m1.loadFrustum(-0.5f, 1, -aspect, aspect, 1, 100);
  /packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
PhaseBeamRS.java 109 float aspect = ((float) w) / h; local
110 m1.loadFrustum(-aspect, aspect, -1, 1, 1, 100);
112 float aspect = ((float) h) / w; local
113 m1.loadFrustum(-1, 1, -aspect, aspect, 1, 100);
  /frameworks/rs/
rsMatrix4x4.h 49 void loadPerspective(float fovy, float aspect, float near, float far);
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
rsMatrix4x4.h 49 void loadPerspective(float fovy, float aspect, float near, float far);
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
rsMatrix4x4.h 49 void loadPerspective(float fovy, float aspect, float near, float far);
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
rsMatrix4x4.h 49 void loadPerspective(float fovy, float aspect, float near, float far);
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
UiTest.java 181 float aspect = ((float)w) / h; local
182 m1.loadFrustum(-aspect,aspect, -1,1, 1,100);
184 float aspect = ((float)h) / w; local
185 m1.loadFrustum(-1,1, -aspect,aspect, 1,100);
  /packages/wallpapers/Galaxy4/src/com/android/galaxy4/
GalaxyRS.java 131 float aspect = ((float) w) / h; local
132 m1.loadFrustum(-aspect, aspect, -1, 1, 1, 100);
134 float aspect = ((float) h) / w; local
135 m1.loadFrustum(-1, 1, -aspect, aspect, 1, 100);
  /external/chromium_org/third_party/fontconfig/include/src/
fcobjshash.h 119 char FcObjectTypeNamePool_str38[sizeof("aspect")];
168 "aspect",
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Camera.java 44 mData.aspect = 0;
  /frameworks/rs/cpu_ref/
rsCpuRuntimeMath.cpp 83 static void SC_MatrixLoadPerspective(Matrix4x4 *m, float fovy, float aspect, float near, float far) {
84 m->loadPerspective(fovy, aspect, near, far);
198 float fovy, float aspect, float near, float far) {
199 SC_MatrixLoadPerspective((Matrix4x4 *) m, fovy, aspect, near, far);

Completed in 558 milliseconds

1 2 3 4