mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
rtph263pay: Indent as per gst-indent
This commit is contained in:
parent
c7c257b0e2
commit
b369e386ad
1 changed files with 7 additions and 6 deletions
|
@ -894,7 +894,8 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n,
|
||||||
guint rest_bits, guint8 ** orig_data, guint8 ** data_end)
|
guint rest_bits, guint8 ** orig_data, guint8 ** data_end)
|
||||||
{
|
{
|
||||||
|
|
||||||
GST_LOG ("Moving window: 0x%08x from: %p for %d bits, rest_bits: %d, data_end %p",
|
GST_LOG
|
||||||
|
("Moving window: 0x%08x from: %p for %d bits, rest_bits: %d, data_end %p",
|
||||||
context->window, context->win_end, n, rest_bits, *data_end);
|
context->window, context->win_end, n, rest_bits, *data_end);
|
||||||
|
|
||||||
if (n == 0)
|
if (n == 0)
|
||||||
|
@ -916,13 +917,13 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n,
|
||||||
} else {
|
} else {
|
||||||
if (n > rest_bits) {
|
if (n > rest_bits) {
|
||||||
context->window = (context->window << rest_bits) |
|
context->window = (context->window << rest_bits) |
|
||||||
(b & (((guint) pow (2.0, (double) rest_bits)) - 1));
|
(b & (((guint) pow (2.0, (double) rest_bits)) - 1));
|
||||||
n -= rest_bits;
|
n -= rest_bits;
|
||||||
rest_bits = 0;
|
rest_bits = 0;
|
||||||
} else {
|
} else {
|
||||||
context->window = (context->window << n) |
|
context->window = (context->window << n) |
|
||||||
((b & (((guint) pow (2.0, (double) rest_bits)) - 1)) >>
|
((b & (((guint) pow (2.0, (double) rest_bits)) - 1)) >>
|
||||||
(rest_bits - n));
|
(rest_bits - n));
|
||||||
rest_bits -= n;
|
rest_bits -= n;
|
||||||
if (rest_bits == 0)
|
if (rest_bits == 0)
|
||||||
context->win_end++;
|
context->win_end++;
|
||||||
|
@ -1689,8 +1690,8 @@ gst_rtp_h263_pay_flush (GstRtpH263Pay * rtph263pay)
|
||||||
|
|
||||||
gst_rtp_h263_pay_boundry_init (&bound, NULL, rtph263pay->data - 1, 0, 0);
|
gst_rtp_h263_pay_boundry_init (&bound, NULL, rtph263pay->data - 1, 0, 0);
|
||||||
context->gobs =
|
context->gobs =
|
||||||
(GstRtpH263PayGob **) g_malloc0 (format_props[context->piclayer->
|
(GstRtpH263PayGob **) g_malloc0 (format_props[context->
|
||||||
ptype_srcformat][0] * sizeof (GstRtpH263PayGob *));
|
piclayer->ptype_srcformat][0] * sizeof (GstRtpH263PayGob *));
|
||||||
|
|
||||||
|
|
||||||
for (i = 0; i < format_props[context->piclayer->ptype_srcformat][0]; i++) {
|
for (i = 0; i < format_props[context->piclayer->ptype_srcformat][0]; i++) {
|
||||||
|
|
Loading…
Reference in a new issue