Lines Matching refs:plane
292 { return avs_bytes_from_pixels(p,p->width); } // Also only returns first plane on planar images
397 AVSC_INLINE int avs_get_pitch_p(const AVS_VideoFrame * p, int plane) {
398 switch (plane) {
405 AVSC_INLINE int avs_get_row_size_p(const AVS_VideoFrame * p, int plane) {
407 switch (plane) {
430 AVSC_INLINE int avs_get_height_p(const AVS_VideoFrame * p, int plane) {
431 switch (plane) {
441 AVSC_INLINE const BYTE* avs_get_read_ptr_p(const AVS_VideoFrame * p, int plane)
443 switch (plane) {
461 AVSC_INLINE BYTE* avs_get_write_ptr_p(const AVS_VideoFrame * p, int plane)
463 if (plane==AVS_PLANAR_Y && avs_is_writable(p)) {
466 } else if (plane==AVS_PLANAR_Y) {
469 switch (plane) {