Lines Matching defs:chunk
352 /* Copy data from chunk into a frame buffer, deinterlacing the data
354 * 720 pixel lines, as the chunk is 240 words long, which is 480 pixels.
355 * Therefore, we break down the chunk into two halves before copying,
358 * Each "chunk" is 240 words; a word in this context equals 4 bytes.
368 * line 1: chunk[0][ 0..479] chunk[0][480..959] chunk[1][ 0..479]
369 * line 3: chunk[1][480..959] chunk[2][ 0..479] chunk[2][480..959]
388 /* Called for each 256-byte image chunk.
389 * First word identifies the chunk, followed by 240 words of image
391 static void usbtv_image_chunk(struct usbtv *usbtv, __be32 *chunk)
399 if (!USBTV_MAGIC_OK(chunk))
401 frame_id = USBTV_FRAME_ID(chunk);
402 odd = USBTV_ODD(chunk);
403 chunk_no = USBTV_CHUNK_NO(chunk);
427 /* Copy the chunk data. */
428 usbtv_chunk_to_vbuf(frame, &chunk[1], chunk_no, odd);
431 /* Last chunk in a field */
433 /* Last chunk in a frame, signalling an end */