Lines Matching refs:a

6 --- a/configure.ac
35 --- a/include/vlc_fourcc.h
49 --- a/modules/hw/mmal/Makefile.am
123 + .arch armv7-a
131 +@ There is advantage to aligning src and/or dest - dest gives a bit more due to being used twice
152 + @ (a) This means the the align doesn't need to worry about r3 underflow
158 + @ Align r1 on a 32 byte boundary
370 + const unsigned int a = div255(alpha * (s_pel >> 24));
372 + (a_merge((d_pel >> 16) & 0xff, (s_pel >> 16) & 0xff, a) << 16) |
373 + (a_merge((d_pel >> 8) & 0xff, (s_pel >> 8) & 0xff, a) << 8 ) |
374 + (a_merge((d_pel >> 0) & 0xff, (s_pel >> 0) & 0xff, a) << 0 );
389 + const unsigned int a = div255(alpha * (s_pel >> 24));
391 + (a_merge((d_pel >> 0) & 0xff, (s_pel >> 16) & 0xff, a) << 0 ) |
392 + (a_merge((d_pel >> 8) & 0xff, (s_pel >> 8) & 0xff, a) << 8 ) |
393 + (a_merge((d_pel >> 16) & 0xff, (s_pel >> 0) & 0xff, a) << 16);
472 + unsigned int a = div255(i);
475 + if (a != b && a != c)
476 + printf("%d/255: %d != %d/%d\n", i, a, b, c);
518 --- a/modules/hw/mmal/codec.c
551 * This seems to be a bit high, but reducing it causes instabilities
875 + // If either num or den is 0 then return a well formed "unknown"
1107 + // If we have a new format don't bother stuffing the buffer
1108 + // We should get a reset RSN
1483 + // *** We cannot get a picture to put the result in 'till we have
1543 + // Reset flushed flag once we have sent a buf
1694 + // to ensure that we get a resolution changed event
1695 + // Small wxh are rejected (128x128 is rejected) so pick a
2232 +// Output buffers may contain a pic ref on error or flush
2259 + // Override default format width/height if we have a pic we need to match
2301 + // Return a single pending buffer
2429 + // We could attach the pic on output for cma, but it is a lot easier to keep
2465 + // On a good send callback the pic will be extracted to avoid this
2561 + // We have a 1 pic latency for everything except the 1st pic which we
2563 + // This means we get a single static pic out
2728 + // Check we have a sliced version of the fourcc if we want the resizer
3088 + const picture_t * last_dst; // Not a ref, just a hint that we have a new pic
3269 + // Check we have appropriate blend fn (mmal doesn't have a non-alpha RGB32)
3498 + EGLint * a = attribs;
3508 + *a++ = EGL_WIDTH;
3509 + *a++ = pic->format.i_visible_width;
3510 + *a++ = EGL_HEIGHT;
3511 + *a++ = pic->format.i_visible_height;
3512 + *a++ = EGL_LINUX_DRM_FOURCC_EXT;
3513 + *a++ = sys->drm_fourcc;
3537 + *a++ = *n++;
3538 + *a++ = fd;
3539 + *a++ = *n++;
3540 + *a++ = pic->p[i].p_pixels - base_addr;
3541 + *a++ = *n++;
3542 + *a++ = pic->format.i_width;
3543 + *a++ = *n++;
3544 + *a++ = (EGLint)(mod >> 32);
3545 + *a++ = *n++;
3546 + *a++ = (EGLint)(mod & 0xffffffff);
3570 + *a++ = *n++;
3571 + *a++ = fd;
3572 + *a++ = *n++;
3573 + *a++ = pic->p[i].p_pixels - base_addr;
3574 + *a++ = *n++;
3575 + *a++ = pic->p[i].i_pitch;
3579 + *a = EGL_NONE;
3722 +// Pick a chroma that we can convert to
3859 --- a/modules/hw/mmal/deinterlace.c
4150 +// Output buffers may contain a pic ref on error or flush
4236 + // We are expecting one in - one out so simply wedge a new bufer
4249 + // On a good send callback the pic will be extracted to avoid this
4311 + // Add a sequence to the flags so we can track what we have actually
4334 + // Advanced di has a 3 frame latency, so if the seq delta is greater
4393 …queue_put_back(sys->out_q, out_buf); // Wedge buf back into Q in the hope we can alloc a pic later
5070 + * You should have received a copy of the GNU Lesser General Public License
5644 +// *** Really we should probably use GetFfmpegCodec with a pre-kludge for the bits we care about
5693 + /* *** ask ffmpeg for a decoder *** */
5729 + /* *** get a p_context *** */
5850 + * are waiting for a valid palette. Indeed, fmt_out.video.p_palette
5851 + * doesn't trigger a new vout request, but a new chroma yes. */
5912 + * later of fallbacks, but we can't do that with a boolean */
6391 + // Most of the time we have nothing useful by way of a format here
6435 + * for a picture. This will avoid a deadlock between avcodec_flush_buffers
6521 + * but break picture until a new I, and for mpeg4 ...*/
6781 + /* Don't forget that libavcodec requires a little more bytes
6866 + /* After draining, we need to reset decoder with a flush */
6932 + * fmt_out palette and change the fmt_out chroma to request a new
7020 + * time that the same frame is returned a second time, it will be
7102 +// Easiest to just ignore all errors - returning a real error seems to
7110 + * This function is called when the thread ends after a successful
7461 + // This makes this non-reentrant but saves us a lot of time in the normal
7546 +// Create a new pool
7892 + // When 1st allocated or retrieved from the pool the block will have a
8029 + .arch armv7-a
8127 --- a/modules/hw/mmal/mmal_picture.c
8307 + // If we have a format that might have come from ffmpeg then rework for
8308 + // a better guess as to layout. All sand stuff is "special" with regards to
8314 + // Now overwrite width/height with a better guess as to actual layout info
8386 +// Destroy a ppr - aranged s.t. it has the correct prototype for a pthread
8540 + // As we have re-acquired the buffer we need a full release
8589 +// Do a stride converting copy - if the strides are the same and line_len is
8590 +// close then do a single block copy - we don't expect to have to preserve
8719 + // Just a CMA buffer - fill in new buffer
8782 + // Just a CMA buffer - fill in new buffer
8812 + //create a vchi connection
8962 + // If we still have a ref to a pic - kill it now
9076 + // If we have a full pool then extract the LRU and free it
9224 + // The scale rect has been transposed if we have a transposing
9243 +// same. Unfortunately detection of "is_first" is only a heuristic (there are
9265 + // If first or we've had a lot of stuff move everything to the last list
9301 + // Need a new ent
9623 + // We don't bother locking - taking a copy here should be good enough
9681 --- a/modules/hw/mmal/mmal_picture.h
9946 +// Returns a pointer to the cma_buf attached to the pic
9947 +// Just a pointer - doesn't add a ref
10119 + * You should have received a copy of the GNU Lesser General Public License
10147 +static inline bool cmp_rect(const MMAL_RECT_T * const a, const MMAL_RECT_T * const b)
10149 + return a->x == b->x && a->y == b->y && a->width == b->width && a->height == b->height;
10305 + // We only do -ve as (a) that is easy and (b) it seems to be
10413 +// MMAL headers comment these (getting 2 a bit wrong) but do not give
10456 +// H & V flips after a transpose need to be swapped
10458 +combine_transform(const MMAL_DISPLAYTRANSFORM_T a, const MMAL_DISPLAYTRANSFORM_T b)
10460 + return a ^ (is_transform_transpose(a) ? swap_transform_hv(b) : b);
10521 + /* Sets the event for a programmable counter to record */
10621 + /* Enables User mode access to the PMU (must be called in a priviledge */
10632 + /* Disables User mode access to the PMU (must be called in a priviledg */
10778 +// Sets the event for a programmable counter to record
10870 +// Enables User mode access to the PMU (must be called in a priviledged mode)
10873 +// Disables User mode access to the PMU (must be called in a priviledged mode)
10881 --- a/modules/hw/mmal/vout.c
10918 … where the video is displayed. Subpictures are displayed directly above and a black background dir…
11035 bool need_configure_display; /* indicates a required display reconfigure to main thread */
11866 +// Actual picture pool for MMAL opaques is just a set of trivial containers
13330 +/* Return a pointer over the current picture_pool_t* (mandatory).
13358 +/* Prepare a picture and an optional subpicture for display (optional).
13379 +/* Display a picture and an optional subpicture (mandatory).
13434 +up_rv(const int a, const int b)
13436 + return a != 0 ? a : b;
13643 + // We have both - construct a combination
13701 --- a/modules/video_output/opengl/egl.c
13727 --- a/src/input/decoder.c
13745 --- a/src/misc/fourcc.c
13763 --- a/src/misc/picture.c
13798 --- a/src/video_output/video_output.c